After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779023 - audio-channel-mixer/audioconvert: 6 channel ac3 audio incorrectly converted to 6 channel output
audio-channel-mixer/audioconvert: 6 channel ac3 audio incorrectly converted t...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-21 13:36 UTC by abhimanyu.v
Modified: 2018-11-03 11:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
audio file (1.62 MB, audio/ac3)
2017-02-21 13:36 UTC, abhimanyu.v
  Details
Fix incorrect mixing of ac3 output to standard audioconvert channel output. (1.79 KB, patch)
2017-02-21 13:37 UTC, abhimanyu.v
none Details | Review

Description abhimanyu.v 2017-02-21 13:36:13 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.
Comment 1 abhimanyu.v 2017-02-21 13:37:37 UTC
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
Comment 2 GStreamer system administrator 2018-11-03 11:54:47 UTC
-- 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.