copy all streams when using -c copy
This commit is contained in:
parent
05b156156e
commit
b243cea0b0
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue