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 535356 - vorbisdec doesn't support 8 channels
vorbisdec doesn't support 8 channels
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal normal
: 0.10.20
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-28 21:56 UTC by Tristan Matthews
Modified: 2008-05-29 07:02 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Tristan Matthews 2008-05-28 21:56:23 UTC
Please describe the problem:
Running gst-inspect on vorbisdec indicates that vorbisenc support up to 256 channels. 

Steps to reproduce:
gst-launch-0.10 -v interleave name=i ! vorbisenc ! vorbisdec ! audioconvert ! alsasink \
audiotestsrc volume=0.5 freq=200 is-live=false ! audioconvert ! queue ! i. \
audiotestsrc volume=0.1 freq=300 is-live=false ! audioconvert ! queue ! i. \
audiotestsrc volume=0.1 freq=500 is-live=false ! audioconvert ! queue ! i. \
audiotestsrc volume=0.1 freq=700 is-live=false ! audioconvert ! queue ! i. \
audiotestsrc volume=0.1 freq=900 is-live=false ! audioconvert ! queue ! i. \
audiotestsrc volume=0.1 freq=1100 is-live=false ! audioconvert ! queue ! i. \
audiotestsrc volume=0.1 freq=1300 is-live=false ! audioconvert ! queue ! i. \
audiotestsrc volume=0.1 freq=1400 is-live=false ! audioconvert ! queue ! i.


Actual results:
Trying to encode an 8 channel audio stream fails with the following error:

/pipeline0/vorbisdec0.sink: caps = audio/x-vorbis
ERROR: from element /pipeline0/vorbisdec0: Element doesn't implement handling of this stream. Please file a bug.
Additional debug info:
vorbisdec.c(642): vorbis_handle_identification_packet (): /pipeline0/vorbisdec0:
Unsupported channel count 8

The same happens for 7 channels but with an "Unsupported channel count 7" msg

Expected results:
I would expect the 8 channel stream to be present at the output.

Does this happen every time?
Yes.

Other information:
Comment 1 Sebastian Dröge (slomo) 2008-05-29 07:02:33 UTC
Thanks, this is fixed now in CVS:

2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>

        * ext/vorbis/vorbisdec.c: (vorbis_handle_identification_packet):
        * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_generate_sink_caps):
        Add sane defaults for the 7 and 8 channel layouts as those are
        undefined in the Vorbis spec. Use NONE channel layouts when decoding
        more than 8 channels instead of erroring out. Fixes bug #535356.