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

Rich Felker dalias at aerifal.cx
Sun Jul 30 19:36:32 CEST 2006


On Sun, Jul 30, 2006 at 03:44:24PM +0300, Uoti Urpala wrote:
> On Sat, 2006-07-29 at 20:39 +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.

BTW my intent was that we should eliminate "packed" audio altogether,
and refit all the decoders to output each channel as a separate array,
like the way video planes are handled. This way reordering would never
be required and remapping would just be a matter of permuting the
channel pointers rather than munging the data.

Rich




More information about the MPlayer-dev-eng mailing list