From 61681b7dd69c761408552ae69a9d622b6b2aa46e Mon Sep 17 00:00:00 2001 From: Zen <46526140+master-of-zen@users.noreply.github.com> Date: Fri, 10 Jan 2020 00:16:33 +0200 Subject: [PATCH] added bigger threshold for spliting scenes --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index cfeaa94..03e9786 100644 --- a/main.py +++ b/main.py @@ -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')