[MPlayer-dev-eng] [PATCH] ffvorbis surround broken

Nicolas George nicolas.george at normalesup.org
Fri Oct 30 22:15:20 CET 2009


Le nonidi 9 brumaire, an CCXVIII, Nicolas George a écrit :
> Channel order is currently broken with ffvorbis. It probably has been since
> 2009-10-02 r20148 "Add vorbis channel layout support".
> 
> The attached trivial patch fixes it.
> 
> As far as I understand, lavc is progressively converting all its codecs to
> output in the WAVE order, so it will probably make sense to change
> AF_CHANNEL_LAYOUT_LAVC_DEFAULT in a near future, but note quite yet.

And I realize that AF_CHANNEL_LAYOUT_LAVC_DEFAULT was already equivalent to
the WAVE order.

Therefore, the simpler attached patch fixes both ffvorbis and ffaac.

Please note that you can not produce speaker_test_6.aac from
speaker_test_6.ogg using ffmpeg, as the channel ordering is currently broken
for libfaac. I used mencoder and the -audiofile option to produce an AVI
file with an AAC track.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-ffvorbis-surround2.diff
Type: text/x-diff
Size: 1309 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091030/3a84492c/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091030/3a84492c/attachment.pgp>


More information about the MPlayer-dev-eng mailing list