GNOME Bugzilla – Bug 303443
lame pipeline crashes on certain wav file
Last modified: 2005-11-11 16:38:42 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
Could you please provide log of gst-launch --gst-debug=*:5 with the offending pipeline?
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.
Created attachment 48988 [details] stdout for above pipeline
Created attachment 48989 [details] Compressed stderr for above pipeline
Tried the file and pipeline with GStreamer 0.9 and got a well working mp3 file. Closing as fixed.