[FFmpeg-user] Mapping multiple audio streams

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Apr 2 15:32:39 CEST 2012


Matthew Salisbury <matthew.salisbury <at> autonomy.com> writes:

> Suppose I have an input with n audio streams. If I want to 
> generate a separate output file for each stream is there a 
> way of doing this via a single command?

I wonder how such a command line would look like...

> Bearing in mind the number of audio streams in the input is
> unknown. Would I need to interrogate the input first and 
> determine how many streams it contains?

Yes, you need to specify the mapping and the file name for 
all output files on the command line.

Carl Eugen



More information about the ffmpeg-user mailing list