mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
added bigger threshold for spliting scenes
This commit is contained in:
parent
5a8afd4ab8
commit
61681b7dd6
1 changed files with 1 additions and 1 deletions
2
main.py
2
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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue