[MPlayer-users] Wrong 5.1 channels order with Vorbis

Ulion ulion2002 at gmail.com
Fri Jun 6 10:28:13 CEST 2008


2008/6/1 Nicolas George <nicolas.george at normalesup.org>:
> Hi.
>
> It seems that "oggdec -R" decodes raw data in exactly the official Vorbis
> order. With that information, I could produce by trial and error a correct
> test Ogg Vorbis file (where I say "front channel" on the front channel and
> so on), and test further:
>
>> According to the sources, neither call reorder_channel, so they are probably
>> both bogus.
>
> It seems I was wrong about ffvorbis: I missed the point where the reordering
> was done: ffvorbis gives a correct result since revision 26164.

I thinks it was done by line 178 of libmpcodecs/ad_ffmpeg.c, I added
it months ago.


>
> libvorbis, on the other hand, is actually wrong: it outputs channels in
> Vorbis order (FL FC FR RL RR LF) where mplayer internal order (FL FR RL RR
> FC LF) is expected.
>
> I will try to find time to submit a patch, but not before I have
> investigated similar bugs in vorbis-tools.

try out these two patches, apply both of them to see whether it
resolve the order problem, if it works, I will commit.


-- 
Ulion
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vorbis_ch_layout_rename.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080606/03f3e529/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ad_libvorbis_ch_reorder.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080606/03f3e529/attachment.asc>


More information about the MPlayer-users mailing list