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 148454 - [vorbisdec] negotiation problems
[vorbisdec] negotiation problems
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.8.4
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 148455 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-07-25 22:43 UTC by Martin Schaaf
Modified: 2005-08-25 23:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Schaaf 2004-07-25 22:43:39 UTC
Running this:

gst-launch filesrc location=<ogg file> ! oggdemux ! vorbisdec ! audioconvert !
esdsink

gives me the following output:

RUNNING pipeline ...
ERROR: from element /pipeline0/vorbisdec0: Internal GStreamer error: pad
problem.  File a bug.
Additional debug info:
gstpad.c(2487): gst_pad_set_explicit_caps: /pipeline0/vorbisdec0:
failed to negotiate (try_set_caps with "audio/x-raw-float, rate=(int)48000,
channels=(int)2, endianness=(int)1234, width=(int)32, buffer-frames=(int)0"
returned REFUSED)
Execution ended after 1301 iterations (sum 792996000 ns, average 609528 ns, min
94000 ns, max 174828000 ns).

I use gst-plugins version 0.8.2.
Comment 1 Martin Schaaf 2004-07-25 22:50:31 UTC
*** Bug 148455 has been marked as a duplicate of this bug. ***
Comment 2 Zaheer Abbas Merali 2004-07-26 17:17:59 UTC
Add an audioscale after audioconvert.

So your gst-launch line becomes:

gst-launch filesrc location=<ogg file> ! oggdemux ! vorbisdec ! audioconvert !
audioscale ! esdsink

See if this fixed the problem.
Comment 3 Martin Schaaf 2004-07-26 20:29:12 UTC
Yes, now it plays the file.
Comment 4 Zaheer Abbas Merali 2004-07-26 21:16:25 UTC
Ok, please close the bug :)  The problem was that esd only accepts a certain
sample rate audio and your ogg/vorbis file had a different sample rate.  hence
the requirement for audioscale.
Comment 5 Martin Schaaf 2004-07-27 06:10:31 UTC
Ok, thank you. I saw on the output of "gst-inspect esdsink" the 44100. But my
file has a rate of 48000. So i can't work. Some better error message had helped
me here.

I tried also osssink, this works. And I tried alsasink, but this doesn't work
(same output like for esdsink). "gst-inspect alsasink" shows me for rate "[
8000, 192000 ]". Doesn't this include a rate of 48000. "gst inspect osssink"
showed me for rate "[ 1, 2147483647 ]".
Comment 6 Ronald Bultje 2004-07-27 13:41:59 UTC
No; those are template ranges. The actual *device* ranges will be derived on
runtime.