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 303443 - lame pipeline crashes on certain wav file
lame pipeline crashes on certain wav file
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: dont know
0.8.8
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-05-08 07:48 UTC by Johan Brannlund
Modified: 2005-11-11 16:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
stdout for above pipeline (1.40 KB, text/plain)
2005-07-11 21:48 UTC, Johan Brannlund
Details
Compressed stderr for above pipeline (101.19 KB, application/x-gzip)
2005-07-11 21:51 UTC, Johan Brannlund
Details

Description Johan Brannlund 2005-05-08 07:48:36 UTC
Distribution/Version: Ubuntu Breezy

With most .wav files, encoding them to mp3 with a gstreamer pipeline works fine.
However, with the file located at http://nullinfinity.org/canadian.wav encoding
fails if I supply any parameters to lame. In other words, the pipeline

gst-launch-0.8 filesrc location=canadian.wav \! wavparse \! audioconvert \! lame
\! filesink location=canadian.mp3

succeeds, but the pipeline

gst-launch-0.8 filesrc location=canadian.wav \! wavparse \! audioconvert \! lame
preset=1002 \! filesink location=canadian.mp3

fails with the following errors:

RUNNING pipeline ...
ERROR: from element /pipeline0/lame0: Internal GStreamer error: negotiation
problem.  File a bug.
Additional debug info:
gstlame.c(503): gst_lame_sink_link: /pipeline0/lame0:
could not initialize encoder (wrong parameters?)
ERROR: from element /pipeline0/lame0: Internal GStreamer error: state change
failed.  File a bug.
ERROR: from element /pipeline0/lame0: Internal GStreamer error: negotiation
problem.  File a bug.
Additional debug info:
gstlame.c(478): gst_lame_src_link: /pipeline0/lame0:
could not initialize encoder (wrong parameters?)
ERROR: from element /pipeline0/filesink0: Internal GStreamer error: state change
failed.  File a bug.
ERROR: from element /pipeline0/lame0: Internal GStreamer error: negotiation
problem.  File a bug.
Additional debug info:
gstlame.c(478): gst_lame_src_link: /pipeline0/lame0:
could not initialize encoder (wrong parameters?)
Execution ended after 1 iterations (sum 186903000 ns, average 186903000 ns, min
186903000 ns, max 186903000 ns).
ERROR: from element /pipeline0/lame0: Internal GStreamer error: negotiation
problem.  File a bug.
Additional debug info:
gstlame.c(478): gst_lame_src_link: /pipeline0/lame0:
could not initialize encoder (wrong parameters?)
ERROR: from element /pipeline0/lame0: Internal GStreamer error: negotiation
problem.  File a bug.
Additional debug info:
gstlame.c(478): gst_lame_src_link: /pipeline0/lame0:
could not initialize encoder (wrong parameters?)

I'm running Ubuntu Breezy and the versions of my installed gstreamer packages
are listed below.

gstreamer-editor 0.8.0-1ubuntu1
gstreamer0.8-alsa 0.8.8-1ubuntu4
gstreamer0.8-audiofile 0.8.8-1ubuntu4
gstreamer0.8-cdparanoia 0.8.8-1ubuntu4
gstreamer0.8-dv 0.8.8-1ubuntu4
gstreamer0.8-dvd 0.8.8-1ubuntu4
gstreamer0.8-esd 0.8.8-1ubuntu4
gstreamer0.8-ffmpeg 0.8.4-0ubuntu1
gstreamer0.8-flac 0.8.8-1ubuntu4
gstreamer0.8-gnomevfs 0.8.8-1ubuntu4
gstreamer0.8-gsm 0.8.8-1ubuntu4
gstreamer0.8-hermes 0.8.8-1ubuntu4
gstreamer0.8-jpeg 0.8.8-1ubuntu4
gstreamer0.8-lame 0.8.8-0.1
gstreamer0.8-mad 0.8.8-1ubuntu4
gstreamer0.8-misc 0.8.8-1ubuntu4
gstreamer0.8-oss 0.8.8-1ubuntu4
gstreamer0.8-plugin-apps 0.8.8-1ubuntu4
gstreamer0.8-sdl 0.8.8-1ubuntu4
gstreamer0.8-speex 0.8.8-1ubuntu4
gstreamer0.8-theora 0.8.8-1ubuntu4
gstreamer0.8-tools 0.8.9-1ubuntu4
gstreamer0.8-vorbis 0.8.8-1ubuntu4
gstreamer0.8-x 0.8.8-1ubuntu4
libgstreamer-gconf0.8-0 0.8.8-1ubuntu4
libgstreamer-gconf0.8-dev 0.8.8-1ubuntu4
libgstreamer-plugins0.8-0 0.8.8-1ubuntu4
libgstreamer-plugins0.8-dev 0.8.8-1ubuntu4
libgstreamer0.8-0 0.8.9-1ubuntu4
libgstreamer0.8-dev 0.8.9-1ubuntu4
python-gst 0.8.1-2
Comment 1 Maciej Katafiasz 2005-07-11 21:37:13 UTC
Could you please provide log of gst-launch --gst-debug=*:5 with the offending
pipeline?
Comment 2 Johan Brannlund 2005-07-11 21:47:31 UTC
Sure. I ran

gst-launch "--gst-debug=*:5" filesrc location=canadian.wav \! wavparse \!
audioconvert \! lame preset=1002 \! filesink location=canadian.mp3 >
/tmp/gstreamerout 2>/tmp/gstreamererr

See the attached files for the output.
Comment 3 Johan Brannlund 2005-07-11 21:48:59 UTC
Created attachment 48988 [details]
stdout for above pipeline
Comment 4 Johan Brannlund 2005-07-11 21:51:09 UTC
Created attachment 48989 [details]
Compressed stderr for above pipeline
Comment 5 Christian Fredrik Kalager Schaller 2005-11-10 11:11:32 UTC
Tried the file and pipeline with GStreamer 0.9 and got a well working mp3 file.
Closing as fixed.