[FFmpeg-devel] aac encoder patch: allow it to work with 5.1

Roger Pack rogerdpack2 at gmail.com
Thu Oct 4 20:52:29 CEST 2012

After some discussion for this trac ticket:

It appears that the internal aac encoder "as is" is broken with 5.1 audio input.
With small test files like those uploaded to the ticket, it seems to
"lose" 3 of the 6 channels, and garble 2 others.
With larger test files, like sintel.mpg linked to the same, it seems
to "lose" 3 of the 6 channels.

As suggested there, adding -aac_coder 0
seems to fix it and allow it to keep all the channels.
So, without knowing really what is going on, attached is a patch for
review to set that as the default, since it appears to work better
than the current behavior, at least.
Feedback welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-aac-use-aac_coder-0-by-default.patch
Type: application/octet-stream
Size: 1247 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121004/b0908f5e/attachment.obj>

More information about the ffmpeg-devel mailing list