[FFmpeg-devel] [PATCH] swresample/rematrix: handle 22.2 as a 9 channel layout
Jan Ekström
jeebjp at gmail.com
Sat Aug 15 12:29:29 EEST 2020
On Fri, Aug 14, 2020 at 8:36 PM Michael Niedermayer
<michael at niedermayer.cc> wrote:
>
> On Thu, Aug 13, 2020 at 01:26:58AM +0300, Jan Ekström wrote:
> > This is as far as 22.2 follows the same channel order as
> > WaveFormatExtensible's channel mask (and the AV_CH_* defines).
> >
> > After LFE2 the side channels would follow, but that offset of
> > one stops us from utilizing them without further tweaks.
> >
> > This change was verified by using swresample to downmix to 5.1,
> > and then feeding that to WASAPI.
> > ---
> > libswresample/rematrix.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> probably ok
>
Thanks for taking a look. I originally planned on sending a link to a
test sample I created somewhere during the time attempting to validate
the AAC decoder, which I then also utilized to check the result of
this:
https://megumin.fushizen.eu/samples/22.2_input_test_sample.wav
...but alas then I never got to it afterwards.
Jan
More information about the ffmpeg-devel
mailing list