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 793709 - wavparse: multi-channel audio playback with channels > 8 issue
wavparse: multi-channel audio playback with channels > 8 issue
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.13.x
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-02-22 02:25 UTC by Lyon
Modified: 2018-11-03 15:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wav audio clip with 10 channels (2.04 MB, application/x-zip-compressed)
2018-02-22 02:27 UTC, Lyon
Details
log for 10 channel playback GST_DEBUG=4,wavparse:6,audioconvert:6 (257.04 KB, application/octet-stream)
2018-02-22 09:06 UTC, Lyon
Details

Description Lyon 2018-02-22 02:25:32 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
Comment 1 Lyon 2018-02-22 02:27:57 UTC
Created attachment 368739 [details]
wav audio clip with 10 channels
Comment 2 Sebastian Dröge (slomo) 2018-02-22 07:12:26 UTC
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.
Comment 3 Lyon 2018-02-22 09:06:53 UTC
Created attachment 368746 [details]
log for 10 channel playback GST_DEBUG=4,wavparse:6,audioconvert:6
Comment 4 Tim-Philipp Müller 2018-02-22 09:08:38 UTC
** (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
Comment 5 GStreamer system administrator 2018-11-03 15:26:36 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-good/issues/443.