[FFmpeg-user] How to Transcode ALL Audio streams from input to output using ffmpeg?

Carl Zwanzig cpz at tuunq.com
Thu Nov 24 19:39:02 EET 2022

On 11/24/2022 9:27 AM, Mark Filipak wrote:
>> ffmpeg -i unit_test.ts -map 0 -c copy -c:a aac maud_test.ts
>> ... What that I am doing is not right?
> I may not be correct, but I believe that '-c:a' defaults to solely the 1st 
> audio stream.

(no time to try this)
The '-c copy' would copy all streams and '-c:a' should then match all audio 
streams. However, the doc says that when -map is used only the user-mapped 
streams are included. Try removing that?



More information about the ffmpeg-user mailing list