Skip to content

Allow for clips to be split with content outside of start/end timeframe #115

@charlesvestal

Description

@charlesvestal

Description of Problem & Solution
When using -start and -end, the tool defines the area of a video to be processed. In some cases, however, you may wish to limit the area to be analyzed, but treat the area outside of that window as part of the split files.

Example, 30 minute file with one scene break at 15 minutes:

0-------------13-15-17--------------30
---------------**|**------------------

In the current tool, a command such as scenedetect -i somevideo.mp4 time -s 00:13:00 -e 00:15:00 detect-threshold split-video -c will produce two clips, each of 2 minute duration.

However, in some cases you may wish to have two 15 minute clips, including the content before and after the processed duration.

Proposed Implementation:
A proposed command line to enable this would be -expand-split-clips

Alternative Solutions:

Using the timecodes generated can be fed into ffmpeg and executed manually / via a script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions