[MPlayer-dev-eng] [PATCH] channel reordering for 6ch audio

Giacomo Comes comes at naic.edu
Mon Jul 31 17:59:50 CEST 2006


On Sun, Jul 30, 2006 at 10:14:54PM +0400, Alexander 'Lazy Ranma' Ponyatikh wrote:
> >> > ae_lavc.c
> >> > Native order: L C R  SL SR LFE
> >> So lavc has a native order? Did you verify that all lavc codecs use the
> >> same one?
> 
> > IMO the only proper orders place L and R at the beginning so that
> > truncation will result in valid (albeit very poorly balanced) output
> > for stereo. If you're going to standardize on something, please make
> > it something with L and R first.
> 
> AFAIK it's ac3 internal order. At least liba52 outputs audio like
> that, but in planar form. In MPlayer L and R channel are always
> stored first, so truncation isn't problem.

As you are looking at channel reorder, may I point you to an ac3 bug
about mencoder?
Please check these two mails:

http://lists.mplayerhq.hu/pipermail/mplayer-users/2005-October/056261.html
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-March/041453.html

As you can see at the moment there is the need to reorder the channels
if you are encoding from ac3 to ac3 using mencoder. Could you also fix this?

Thanks.
Giacomo



More information about the MPlayer-dev-eng mailing list