[FFmpeg-user] AC-3 Dolby Digital 5.1 Encoding

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Jun 3 23:34:01 CEST 2012


Chase Patterson <chapatt <at> gmail.com> writes:

> The other thing is the -channel_layout value

As said before, please do not use it, it makes no 
difference for your use case.
(It may be needed if you encode raw pcm audio.)

To answer your question:
channel_layout is a binary representation of the available 
channels.

To test if the encoded ac-3 stream is indeed a surround 
stream, I suggest a hardware decoder.

Carl Eugen



More information about the ffmpeg-user mailing list