[FFmpeg-devel] [PATCH]Support 16 channel audio in lxf

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Aug 16 10:29:28 CEST 2012


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> On 14 Aug 2012, at 00:31, Carl Eugen Hoyos wrote:
> > Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
> > 
> >> Attached patch (partly) fixes ticket #1608 for me.
> > 
> > I will apply the patch if nobody objects.

Sorry, I had missed Reimar's answer and pushed.

> Could you maybe explain what the new value calculation 
> is supposed to mean? I can't really make any sense of 
> it at the moment.

The old code assumed that four bits in the datastream 
contain the number of audio channels.
Looking at the provided samples, two bits show the number 
of channels, channels = 2 ^ (two_bits + 1)
(allowing 2, 4, 8 and 16 channels)

Do you want me to revert?

Carl Eugen



More information about the ffmpeg-devel mailing list