On 30-03-2020 10:56 am, Ted Park wrote:
Hey,
'-c:a copy' or '-acodec copy' will copy (all?) audio tracks. I have 2 questions:
Do I need to also specify a '-map' directive? and
Is there an equivalent directive for copying subtitle streams?
IIRC, -codec only specifies the codec, and stream selection is done by -map,
except when you explicitly specify an encoder for a stream type and there is at
least one stream that matches that specifier, then it will select one of that
stream as well, according to the normal stream selection rules, in addition to
the ones already selected.
Only for subtitles. -codec will not automatically select a stream for
other types. See http://ffmpeg.org/ffmpeg.html#Stream-handling
Gyan
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".