copy all streams when using -c copy

This commit is contained in:
familyfriendlymikey 2023-02-03 12:57:22 -05:00
parent 05b156156e
commit b243cea0b0
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,7 @@ def main
"-pix_fmt", "yuv420p" "-pix_fmt", "yuv420p"
] ]
if action == "ENCODE" if action is "ENCODE"
args.push( args.push(
"-crf", "16" "-crf", "16"
"-preset", "superfast" "-preset", "superfast"
@ -102,6 +102,7 @@ def main
else else
args.push( args.push(
"-c", "copy" "-c", "copy"
"-map", "0"
"-avoid_negative_ts", "make_zero" "-avoid_negative_ts", "make_zero"
) )