[gst-devel] Hi all, and a question

Giuliano Pochini pochini at shiny.it
Sun Jun 20 13:46:02 CEST 2004


Hi all.

I'm evaluating gstreamer for a project. After some time I finally make it
play something with both the (modified) example program and with gst-launch.
It works fine with flac, wav, mp3 files, but I wasn't able to play
ogg-vorbis files:

[Giu at Jay cdrom]$ gst-launch filesrc location=Kasey_Chambers-On_A_Bad_Day.ogg ! vorbisdec ! alsasink

** (process:4977): CRITICAL **: Could not parse caps: length 2695, content: image/jpeg, [.........]

(process:4977): GStreamer-CRITICAL **: file gstpad.c: line 3613 (gst_pad_template_new): assertion `caps != NULL' failed

(process:4977): GStreamer-CRITICAL **: file gstelementfactory.c: line 349 (__gst_element_factory_add_pad_template): assertion `templ != NULL' failed
RUNNING pipeline ...
ERROR: from element /pipeline0/vorbisdec0: Could not decode stream.
Additional debug info:
vorbisdec.c(350): vorbis_dec_chain: /pipeline0/vorbisdec0:
unexpected packet type 79, expected 0
Execution ended after 1 iterations (sum 990000 ns, average 990000 ns, min 990000 ns, max 990000 ns).
[Giu at Jay cdrom]$


The first warning is an incorrect entry in the registry. The second and the
third are printed by "gst_init(&argc, &argv);". I don't know why, but I
don't think they are the cause of the problem. Any hint ?

I'm using the latest version of everything (not CVS) on a Pmac G4, gcc 3.3.3.


Another little thing: cpu usage seems pretty high: ~1.2% playing mp3's and
flac's, and with mp3's it's even worse. Is it normal ?  With xmms cpu usage
is under 0.1%.


--
Giuliano.




More information about the gstreamer-devel mailing list