mirror of
https://github.com/familyfriendlymikey/mpv-cut
synced 2024-07-01 12:08:58 +00:00
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"
|
||||
]
|
||||
|
||||
if action == "ENCODE"
|
||||
if action is "ENCODE"
|
||||
args.push(
|
||||
"-crf", "16"
|
||||
"-preset", "superfast"
|
||||
@ -102,6 +102,7 @@ def main
|
||||
else
|
||||
args.push(
|
||||
"-c", "copy"
|
||||
"-map", "0"
|
||||
"-avoid_negative_ts", "make_zero"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user