ensure ffmpeg doesn't transcode video

This commit is contained in:
ed 2021-09-17 23:50:54 +02:00
parent 2ace9ed380
commit 1c843b24f7
2 changed files with 2 additions and 0 deletions

View file

@ -25,6 +25,7 @@ def det(tf):
"-v", "fatal",
"-ss", "13",
"-y", "-i", fsenc(sys.argv[1]),
"-map", "0:a:0",
"-ac", "1",
"-ar", "22050",
"-t", "300",

View file

@ -28,6 +28,7 @@ def det(tf):
"-hide_banner",
"-v", "fatal",
"-y", "-i", fsenc(sys.argv[1]),
"-map", "0:a:0",
"-t", "300",
"-sample_fmt", "s16",
tf