Skip to content

Output File Name Change #359

@SasaniP

Description

@SasaniP

Problem/Use Case

I do have trouble accessing the output videos because of their name template.

output_file_template: str = '$VIDEO_NAME-Scene-$SCENE_NUMBER.mp4',

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions