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

Alexander 'Lazy Ranma' Ponyatikh ranma at 274.ru
Sun Jul 30 15:45:48 CEST 2006


>> 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?

I tried all codecs listed in man, but only ac3 accepted 6ch input.

> +++ libmpcodecs/ad_pcm.c        (working copy)
> [Code allocating and using a temp buffer to reorder the data]

> Wouldn't it be simpler to read each channel separately to its correct
> location?

True. Here is a new patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ad_pcm.c.diff
Type: application/octet-stream
Size: 1265 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060730/1344d132/attachment.obj>


More information about the MPlayer-dev-eng mailing list