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 307653 - problem using ffdec_mpegvideo
problem using ffdec_mpegvideo
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-libav
0.8.x
Other Linux
: Normal blocker
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-14 17:44 UTC by jim li
Modified: 2005-06-16 07:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jim li 2005-06-14 17:44:14 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.
Comment 1 Ronald Bultje 2005-06-16 07:48:58 UTC
Use ffmpegcolorspace instead of ffcolorspace, and add a videoscale. Please ask
questions on the mailinglist, not on bugzilla.