-
Notifications
You must be signed in to change notification settings - Fork 474
Closed
Labels
Milestone
Description
@Breakthrough thanks for this awesome project! I am utilizing it on my PhD heavily 👍
Issue
You can set the output directory in save_images function which is super useful in my case. However, there is no such feature for split_video_ffmpeg which is a must in my case.
Example:
from scenedetect.video_splitter import split_video_ffmpeg
split_video_ffmpeg(
filepath,
scene_list=scene_list,
output_file_template="$scene-$SCENE_NUMBER.",
output_dir=export_dir,
show_progress=True,
)Question:
- Do you have any intentions to add such a feature?
- How can I implement a workaround for this? Should I change these lines:
PySceneDetect/scenedetect/video_splitter.py
Lines 267 to 271 in b54aff9
call_list += [ '-sn', filename_template.safe_substitute( VIDEO_NAME=video_name, SCENE_NUMBER=scene_num_format % (i + 1)) ]