-
Notifications
You must be signed in to change notification settings - Fork 474
Description
Problem/Use Case
I do have trouble accessing the output videos because of their name template.
PySceneDetect/scenedetect/video_splitter.py
Line 185 in b54aff9
| output_file_template: str = '$VIDEO_NAME-Scene-$SCENE_NUMBER.mp4', |
PySceneDetect/scenedetect/video_splitter.py
Line 270 in b54aff9
| VIDEO_NAME=video_name, SCENE_NUMBER=scene_num_format % (i + 1)) |
Solutions
I would rather save the files as 0.avi , 1.avi , 2.avi etc.
Proposed Implementation:
https://github.dev/Breakthrough/PySceneDetect/blob/b54aff9ae6c3a07384bd0673040c54895fb39f20/scenedetect/video_splitter.py#L185-L186
185 output_file_template: str = '$SCENE_NUMBER.mp4',
https://github.dev/Breakthrough/PySceneDetect/blob/b54aff9ae6c3a07384bd0673040c54895fb39f20/scenedetect/video_splitter.py#L269-L270
270 VIDEO_NAME=video_name, SCENE_NUMBER=(i + 1))
Alternatives:
Have the default option to save the files in the existing way. And if the user needed to save files in a less complicated way, this function change.