GNOME Bugzilla – Bug 779023
audio-channel-mixer/audioconvert: 6 channel ac3 audio incorrectly converted to 6 channel output
Last modified: 2018-11-03 11:54:47 UTC
Created attachment 346325 [details] 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.
Created attachment 346326 [details] [review] Fix incorrect mixing of ac3 output to standard audioconvert channel output. Attach patch fixes the issue by mapping correct channels
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/338.