GNOME Bugzilla – Bug 793709
wavparse: multi-channel audio playback with channels > 8 issue
Last modified: 2018-11-03 15:26:36 UTC
Hi, We are facing issue that Gstreamer seems not support multi-channel audio with channels > 8. in WavParse or audioconvert, riff-media etc, always there will report can't negotiate or no default layout / no channnel-mask property given etc... I was trying to modify some table for more channels case, like default_mask[], but seems the original idea in current Gstreamer 8 channl is the maximum. I'm wondering is there any plan to support multi-channel audio with channels>8 cases? Thanks a lot~ Attached an audio clip(wav) with 10 channels. It can be played by aplay on our target board, but with Gstreamer, seems failed to created the pipeline with negotiate failure Thanks Lyon
Created attachment 368739 [details] wav audio clip with 10 channels
Please also attach a debug log with the failure. There is no 8 channel maximum, however there are only default channel layouts for up to 8 channels and mixing between different channel layouts is not supported for each channel position yet.
Created attachment 368746 [details] log for 10 channel playback GST_DEBUG=4,wavparse:6,audioconvert:6
** (gst-play-1.0:12206): WARNING **: conv: Upstream caps contain no channel mask 0:00:00.332744014 12206 0x56524dd90ca0 ERROR audioconvert gstaudioconvert.c:668:gst_audio_convert_fixate_channels:<conv> Have no default layout for 10 channels 0:00:00.332912228 12206 0x56524dd90ca0 ERROR audio-info audio-info.c:304:gst_audio_info_from_caps: no channel-mask property given 0:00:00.332942277 12206 0x56524dd90ca0 ERROR audioconvert gstaudioconvert.c:773:gst_audio_convert_set_caps:<conv> invalid input caps
-- 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-good/issues/443.