GNOME Bugzilla – Bug 535356
vorbisdec doesn't support 8 channels
Last modified: 2008-05-29 07:02:33 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:
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.