fffiloni commited on
Commit
2444810
1 Parent(s): af45f7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def find_scenes(video_path, threshold=27.0):
11
  # `get_scene_list` returns a list of start/end timecode pairs
12
  # for each scene that was found.
13
 
14
- split_list=scenedetect.video_splitter.split_video_ffmpeg(input_video_path, scene_list, output_file_template='$VIDEO_NAME-Scene-$SCENE_NUMBER.mp4', video_name=None, arg_override='-c:v libx264 -preset fast -crf 21 -c:a aac', show_progress=False, show_output=False, suppress_output=None, hide_progress=None)
15
  return scene_manager.get_scene_list(), split_list
16
 
17
  video_input=gr.Video(source="upload", format="mp4", mirror_webcam="False");
 
11
  # `get_scene_list` returns a list of start/end timecode pairs
12
  # for each scene that was found.
13
 
14
+ split_list = video_splitter.split_video_ffmpeg(input_video_path, scene_list, output_file_template='$VIDEO_NAME-Scene-$SCENE_NUMBER.mp4', video_name=None, arg_override='-c:v libx264 -preset fast -crf 21 -c:a aac', show_progress=False, show_output=False, suppress_output=None, hide_progress=None)
15
  return scene_manager.get_scene_list(), split_list
16
 
17
  video_input=gr.Video(source="upload", format="mp4", mirror_webcam="False");