Skip to content

Comma-separated frame list #349

Closed
Closed

Description

@Dendraspis

Problem/Use Case

Depending of the use case, it would be great to get not only the timecode list, but (also) the exact frame numbers as comma-separated list for fast readout and usability. If usable, frame numbers are more accurate or less problem prone than time codes, that has to be translated when you work with frame numbers.

Solutions

Add a Comma-separated frame list as well.

Proposed Implementation:

[..]
[PySceneDetect] Comma-separated timecode list:
  01:00:02.682,01:00:04.392
[PySceneDetect] Comma-separated frame list:
  86378,86419

Alternatives:

Make the output format optional, e.g. scenedetect -i video.mp4 list frame.

Activity

  1. Breakthrough commented on Aug 28, 2023

    @Breakthrough
    Owner

    This is probably better suited as a config file option, but this is certainly possible. Something to define the cut list format (timecode, second, frame number, or none). Thanks for the suggestion, will consider this in the next version.

  2. added this to the v0.6.3 milestone on Aug 28, 2023
  3. added a commit that references this issue on Jan 28, 2024
    d5f8126
  4. Breakthrough commented on Jan 29, 2024

    @Breakthrough
    Owner

    Added a new cut-format option under the [list-scenes] for this in the config file for the upcoming 0.6.3 release.

  5. added a commit that references this issue on Apr 18, 2024
    9883fa5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions