GNOME Bugzilla – Bug 307653
problem using ffdec_mpegvideo
Last modified: 2005-06-16 07:48:58 UTC
Version details: 0.8.3 Distribution/Version: mandrake 2.6.9 i install gstreamer-0.8.8, gst-plugins-0.8.7, and gst-ffmpeg-0.8.3 with prefix=/usr/local (default)... after configure, make, make install for all three of these source package.. i did a gst-register and gst-register-0.8, both commands reside on /usr/local/bin i use the following script: #! /bin/sh # note: <demux> may be plugins mpegdemux or ffdemux_mpeg or dvddemux # note: <videodecoder> may be plugins ffdec_mpegvideo or ffdec_mpeg2video for MPEG2 # note: <colorspace> may be plugins ffcolorspace or ffmpegcolorspace #----------------------------------------------------------------------------------------------------- gst-launch filesrc location="./raw.media/a.unknown" ! \ mpegdemux name=demux \ demux.video_00! { queue ! ffdec_mpegvideo ! ffcolorspace ! ximagesink } \ demux.audio_00! { queue ! ffdec_mp3 ! osssink } where ./raw.media/a.unknown is a file (actually a sym link) to a mpeg video file. i call this script play.video... and did a ./play.video and i got the following: RUNNING pipeline ... (process:19163): GStreamer-WARNING **: Unhandled state change from PLAYING to READY (process:19163): GStreamer-WARNING **: Unhandled state change from PLAYING to READY ERROR: from element /pipeline0/thread0/ffdec_mpegvideo0: Internal GStreamer error: pad problem. File a bug. Additional debug info: gstpad.c(2517): gst_pad_set_explicit_caps: /pipeline0/thread0/ffdec_mpegvideo0: failed to negotiate (try_set_caps with "video/x-raw-yuv, width=(int)720, height=(int)480, framerate=(double)30, format=(fourcc)I420, pixel-aspect-ratio=(fraction)1/1" returned REFUSED) ERROR: from element /pipeline0/thread0/ffdec_mpegvideo0: Internal GStreamer error: negotiation problem. File a bug. Additional debug info: gstffmpegdec.c(433): gst_ffmpegdec_negotiate: /pipeline0/thread0/ffdec_mpegvideo0: Failed to link ffmpeg decoder (mpegvideo) to next element Execution ended after 29 iterations (sum 128755000 ns, average 4439827 ns, min 24000 ns, max 114419000 ns). note: there is another bug missing on this printout... one of my fellow colleagues hack away on ./src/gst-ffmpeg-0.8.3/extf/fmpeg/gstffmpegenc.c note: i also uninstall gstreamer-0.8.5 that originally comes with the mandrake installation. i'm at a dead end since i don't see anyone with this problem doing a google search.. please help. my email is jimbloke@gmail.com thanks.
Use ffmpegcolorspace instead of ffcolorspace, and add a videoscale. Please ask questions on the mailinglist, not on bugzilla.