Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upComplete documentation for Video Splitter API #116
Comments
|
Hello @dynamite-ready; The
That should resolve the error that you're seeing. The intention of the Please let me know if passing a list of file paths (instead of a single path) works as intended so that I can resolve the issue. |
|
Lol! Yes. That worked fine. I'd perhaps argue that it could be made a little clearer in the docs - https://pyscenedetect-manual.readthedocs.io/en/latest/api/video_splitter.html - but your explanation helped. Thank you. |
|
@dynamite-ready very good point! I've modified the title to better reflect that and reopened the issue to take care of that. I'll try to include the proper documentation for those arguments in the next release, thanks for pointing that out. |
|
Ping: Revisit this next week for v0.6. Top priorities right now are resolving ffmpeg split issues and camera flash issue resolution, but I don't want to lose track of quality-of-life items like this one. |
|
For some reason, the documentation that now gets generated is completely blank for the video splitter. I've submitted a support request for ReadTheDocs (readthedocs/readthedocs.org#7245), but in the meantime I'll try to come up with a workaround. Either way, I'll get this closed out this week as well, but just wanted to keep you posted. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Bug/Issue Description:
Calls to
scenedetect.video_splitter.split_video_mkvmergeend with aERROR:root:Error splitting video (mkvmerge returned 2).Required Information:
Provide the following information to assist with reporting the bug:
Example Python API call:
scenedetect.video_splitter.split_video_mkvmerge(str(video_path), scene_list, "test", "tests", suppress_output=False)-v debug -l BUG_REPORT.txtto the beginning of the command, then re-run PySceneDetect and attach the generatedBUG_REPORT.txtfile.Expected Behavior:
mkvmerge v37.0.0 ('Leave It') 64-bit 'spring.mp4': Using the demultiplexer for the format 'QuickTime/MP4'. 'spring.mp4' track 0: Using the output module for the format 'AVC/H.264'. 'spring.mp4' track 1: Using the output module for the format 'AAC' # etc...Computing Environment:
Additional Information:
Fixed by a small change to the method in question.
A commit on my fork with a candidate fix can be found here - dynamite-ready@3006d87