[FFmpeg-user] move from audio track to another

Moritz Barsnick barsnick at gmx.net
Thu May 5 19:11:44 CEST 2016

On Tue, May 03, 2016 at 16:23:58 +0200, juan carlos Rebate wrote:
> >ffplay -i rtp:// -ac 0

"-ac" selects the number (amount) of audio channels to output, as in
"stereo to mono". I'm not even sure it applies to ffplay. And "-ac 0"
doesn't make sense in that context.

If you want to select a different audio *stream* to play (please note
the semantic difference between channels and streams), you need to use
the "-ast" option:

  -ast stream_specifier  select desired audio stream

You can also cycle through the available audio streams interactively at
run time by pressing the 'a' key.


More information about the ffmpeg-user mailing list