[FFmpeg-user] How to Transcode ALL Audio streams from input to output using ffmpeg?
markfilipak at neo.rr.com
Thu Nov 24 19:27:44 EET 2022
On 11/24/22 08:29, Mahesh Velankar wrote:
> I have an input MPEG TS file 'unit_test.ts'. This file has following
> content (shown by ffprobe):
> I tried this command:
> 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.
> How should I get this done? (*I can write explicit stream by stream map and
> channel arguments to get that done;
I believe that's what you have to do.
> however I want the command line to be
I believe that is not possible as FFmpeg is currently implemented.
More information about the ffmpeg-user