Skip to content

Splitting videos with an analyzed duration only splits within analyzed area #106

@charlesvestal

Description

@charlesvestal

Bug/Issue Description:
Specifying a time to analyze with time --start and --end in conjunction with split-video treats the end time of the analyzed window as the total length of the video, making it unable to be split, either via ffmpeg or mkvmerge.

Required Information:
Provide the following information to assist with reporting the bug:

  1. Provide a full copy of the command line options you are using, for example:

scenedetect -i somevideo.mp4 time -s 00:13:00 -e 00:15:00 detect-threshold split-video -c

  1. Add -v debug -l BUG_REPORT.txt to the beginning of the command, then re-run PySceneDetect and attach the generated BUG_REPORT.txt file.

BUG_REPORT.txt

mkvmerge v34.0.0 ('Sight and Seen') 64-bit
Error: Invalid end time for '--split' in '--split parts:00:12:59.988-00:13:29.726,00:13:29.726-00:02:00.037' (current part: 00:13:29.726-00:02:00.037). The end time must be bigger than the start time.

Expected Behavior:
The analyzed duration should provide timecode for splits, but the split files should be from the entire duration of the input file.

Computing Environment:

  • OS: osx
  • Python Version: 2.7
  • OpenCV Version: 4.1.0_2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions