GNOME Bugzilla – Bug 329963
gstreamer CVS doesn't work with ffmpeg codecs
Last modified: 2006-02-17 11:57:45 UTC
Please describe the problem: When trying to play attached .wma file, gst-launch-0.10 has this to say: chelcicky:~$ gst-launch-0.10 filesrc location=/home/matej/WP/060108-sermon.mp3 ! ffdec_mp3 ! audioconvert ! audioresample ! alsasink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /pipeline0/ffdec_mp30: Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Additional debug info: gstffmpegdec.c(1226): gst_ffmpegdec_chain (): /pipeline0/ffdec_mp30: ffdec_mp3: input format was not set before data start ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... FREEING pipeline ... chelcicky:~$ Steps to reproduce: 1. see above pipeline with gstreamer 0.10 from today's CVS 2. 3. Actual results: no sound is produced and programs terminates permaturely Expected results: sound is played (gst-launch-0.10 works with standard gst-plugins-*) Does this happen every time? yes Other information:
(In reply to comment #0) > Please describe the problem: > When trying to play attached .wma file, gst-launch-0.10 has this to say: > Are you trying to play a .wma file or a .mp3 ?? The command line below is for mp3 decoding. > chelcicky:~$ gst-launch-0.10 filesrc > location=/home/matej/WP/060108-sermon.mp3 ! ffdec_mp3 ! audioconvert ! > audioresample ! alsasink > Setting pipeline to PAUSED ... > Pipeline is PREROLLING ... > ERROR: from element /pipeline0/ffdec_mp30: Internal GStreamer error: > negotiation problem. Please file a bug at > http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. > Additional debug info: > gstffmpegdec.c(1226): gst_ffmpegdec_chain (): /pipeline0/ffdec_mp30: > ffdec_mp3: input format was not set before data start > ERROR: pipeline doesn't want to preroll. > Setting pipeline to NULL ... > FREEING pipeline ... > chelcicky:~$ > Several points: .There are know issues with the ffmpeg mp3 decoder. You're better off using the mad decoder (gst-plugins-bad) or the fluendo mp3 plugin (http://store.fluendo.com). .You should try using the following command line when decoding a file, decodebin will take care of figuring out the correct elements to use: gst-launch filesrc location=... ! decodebin ! alsasink > > Steps to reproduce: > 1. see above pipeline with gstreamer 0.10 from today's CVS > 2. > 3. > > > Actual results: > no sound is produced and programs terminates permaturely > > Expected results: > sound is played (gst-launch-0.10 works with standard gst-plugins-*) > > Does this happen every time? > yes > > Other information: >
Sorry, wrong command line. It should read: chelcicky:~$ gst-launch-0.8 filesrc location=hurnik.wma ! ffdec_wmav2 ! audioconvert ! audioresample ! alsasink WARNING: erroneous pipeline: no element "audioresample" Trying to run anyway. RUNNING pipeline ... ERROR: from element /pipeline0/ffdec_wmav20: Internal GStreamer error: pad problem. File a bug. Additional debug info: gstpad.c(2562): gst_pad_set_explicit_caps: /pipeline0/ffdec_wmav20: failed to negotiate (try_set_caps with "audio/x-raw-int, rate=(int)8000, channels=(int)1, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16" returned REFUSED) ERROR: from element /pipeline0/ffdec_wmav20: Internal GStreamer error: negotiation problem. File a bug. Additional debug info: gstffmpegdec.c(681): gst_ffmpegdec_negotiate: /pipeline0/ffdec_wmav20: Failed to link ffmpeg decoder (wmav2) to next element Execution ended after 1 iterations (sum 24897000 ns, average 24897000 ns, min 24897000 ns, max 24897000 ns). chelcicky:~$ The wma file is attached and the original is on http://www.hudba.cx/klasika/hurnik.wma
Created attachment 58790 [details] WMA file which cannot be played
And on the decodebin note: chelcicky:~$ gst-launch-0.8 filesrc location=hurnik.wma ! decodebin ! audioconvert ! audioresample ! alsasink WARNING: erroneous pipeline: no element "audioresample" Trying to run anyway. RUNNING pipeline ... ERROR: from element /pipeline0/decodebin0/ffdec_wmav20: Internal GStreamer error: pad problem. File a bug. Additional debug info: gstpad.c(2562): gst_pad_set_explicit_caps: /pipeline0/decodebin0/ffdec_wmav20: failed to negotiate (try_set_caps with "audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16" returned REFUSED) ERROR: from element /pipeline0/decodebin0/ffdec_wmav20: Internal GStreamer error: negotiation problem. File a bug. Additional debug info: gstffmpegdec.c(681): gst_ffmpegdec_negotiate: /pipeline0/decodebin0/ffdec_wmav20: Failed to link ffmpeg decoder (wmav2) to next element Execution ended after 3 iterations (sum 409754000 ns, average 136584666 ns, min 116000 ns, max 401347000 ns). chelcicky:~$ :-)
changing this to 0.8.x For 0.10, the only thing missing is the asf demuxer which should arrive soon in cvs.
plays fine with CVS asfdemux/ffdec_wmav2, closing.