[FFmpeg-devel] [PATCH] 8 channel layout fix for Vorbis decoder

Robert Swain robert.swain
Sat Nov 7 09:14:03 CET 2009


On Tue, 2009-11-03 at 19:29 -0800, Frank Barchard wrote:
> On Tue, Nov 3, 2009 at 6:04 PM, Jason Tackaberry <tack at urandom.ca> wrote:
> 
> > On Tue, 2009-11-03 at 17:52 -0800, Frank Barchard wrote:
> > > This layout sounds sensible.  But mainly it would help if Vorbis were the
> > > same as AAC.
> >
> > AAC doesn't define a layout for 7 channels, so I suppose you mean to
> > make 8 channel Vorbis CH_LAYOUT_7POINT1_WIDE instead of
> > CH_LAYOUT_7POINT1?
> >
> > I guess so... thats what AAC is.   This is what aacdectab.h defines for AAC
> layouts:
> 
> static const int64_t aac_channel_layout[8] = {
> 
>     CH_LAYOUT_MONO,    CH_LAYOUT_STEREO,    CH_LAYOUT_SURROUND,
> CH_LAYOUT_4POINT0,    CH_LAYOUT_5POINT0_BACK,
> CH_LAYOUT_5POINT1_BACK,    CH_LAYOUT_7POINT1_WIDE,    0,
> 
> }

Maybe it would help if this were the case but unfortunately the channel
layouts in the specifications differ in the 4POINT0 / QUAD case. And as
mentioned previously, Vorbis does not define channel layouts for those
beyond 6 channels.

Regards,
Rob




More information about the ffmpeg-devel mailing list