added bigger threshold for spliting scenes

This commit is contained in:
Zen 2020-01-10 00:16:33 +02:00
parent 5a8afd4ab8
commit 61681b7dd6

View file

@ -56,7 +56,7 @@ def extract_audio(input_vid):
def split_video(input_vid):
cmd2 = f'scenedetect -i {input_vid} --output temp/split detect-content split-video -c'
cmd2 = f'scenedetect -i {input_vid} --output temp/split detect-content --threshold 50 split-video -c'
subprocess.call(cmd2, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
print(f'Video {input_vid} splitted')