audio-channel-mixer/audioconvert: 6 channel ac3 audio incorrectly converted to 6 channel output
Submitted by abh..@..ec.com
Link to original bug (#779023)
Description
Created attachment 346325
audio file
When playing ac3 file with 6 channel, it produces audio with bitmask=0xc0f and when audioconvert is used which output 6 channel with bitmask=0x3f mixes the channels to produce incorrect audio output.
gst-launch-1.0 filesrc location=5.1_alldiff.ac3 ! ac3parse ! avdec_ac3 ! audioconvert ! capsfilter caps="audio/x-raw, layout=(string)interleaved, rate=(int)44100, format=(string)S32LE, channels=(int)6, channel-mask=(bitmask)0x000000000000003f" ! deinterleave name=d d.src_0 ! alsasink -v
The above command output is mix of 2 channel instead of single channel output.
Attachment 346325, "audio file":
5.1_alldiff.ac3