PySceneDetect
PySceneDetect copied to clipboard
Feature Request: Batch Processing
The ability to add wildcards to the "--input" parameter would be super helpful.
For example, if i have a folder full of AVI files, being able to say '
- scenedetect --input "*.avi" detect-threshold split-video -c
rather than having to do each individually...-
This is definitely possible using the glob module - could also process multiple files in parallel to utilize multicore systems better until there is better GPU support. Will add this to the list of items for v1.0, thanks for the suggestion.
There are some edge cases that need to be dealt with to make this work properly:
- Need to figure out how to specify output file name properly
- Same with statsfile(s)
An initial implementation, however, can simply error out if a wildcard is specified with any of the above flags.