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 745871 - wavparse: support for partially unpositioned channels
wavparse: support for partially unpositioned channels
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-09 01:23 UTC by Ilya Konstantinov
Modified: 2018-11-03 14:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ilya Konstantinov 2015-03-09 01:23:59 UTC
Here's a sample:

http://www-mmsp.ece.mcgill.ca/documents/AudioFormats/WAVE/Samples/Microsoft/8_Channel_ID.wav

This is a file with 8 channels and the following speaker locations:
FL FR FC LF BL BR - -

(Only 6 allocated, the mask is 0x3f.)

As per spec:
  "Should nChannels exceed the number of bits set in dwChannelMask, then the remaining channels are not assigned to any particular speaker location. An audio device would render the remaining channel data to output ports not in use." [1]

Since GstAudioChannelPositions requires channels to be either all positioned or all unpositioned, I think we should opt to offer caps of: channels:6, channel-mask:0x3f. (The remaining 2 channels can be only thrown away.)

Current GStreamer this warning out a few times, since wavparse produces 'channels:8, channel-mask:0x3f':
** (gst-launch-1.0:14286): WARNING **: Invalid channel positions

[1] https://msdn.microsoft.com/en-us/library/windows/hardware/dn653308(v=vs.85).aspx
Comment 1 GStreamer system administrator 2018-11-03 14:58:27 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/166.