mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 17:59:19 +02:00
ensure ffmpeg doesn't transcode video
This commit is contained in:
parent
2ace9ed380
commit
1c843b24f7
2 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@ def det(tf):
|
||||||
"-v", "fatal",
|
"-v", "fatal",
|
||||||
"-ss", "13",
|
"-ss", "13",
|
||||||
"-y", "-i", fsenc(sys.argv[1]),
|
"-y", "-i", fsenc(sys.argv[1]),
|
||||||
|
"-map", "0:a:0",
|
||||||
"-ac", "1",
|
"-ac", "1",
|
||||||
"-ar", "22050",
|
"-ar", "22050",
|
||||||
"-t", "300",
|
"-t", "300",
|
||||||
|
|
|
@ -28,6 +28,7 @@ def det(tf):
|
||||||
"-hide_banner",
|
"-hide_banner",
|
||||||
"-v", "fatal",
|
"-v", "fatal",
|
||||||
"-y", "-i", fsenc(sys.argv[1]),
|
"-y", "-i", fsenc(sys.argv[1]),
|
||||||
|
"-map", "0:a:0",
|
||||||
"-t", "300",
|
"-t", "300",
|
||||||
"-sample_fmt", "s16",
|
"-sample_fmt", "s16",
|
||||||
tf
|
tf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue