[gst-devel] H264 problems

Martin martin.secundario at googlemail.com
Tue Mar 16 23:44:00 CET 2010


Hi,

I've created the following pipeline:

gst-launch-0.10 -v dv1394src ! queue ! dvdemux name=d d. ! queue ! dvdec 
! "video/x-raw-yuv, format=(fourcc)YUY2, width=(int)720, 
height=(int)576, framerate=(fraction)25/1, 
pixel-aspect-ratio=(fraction)59/54, interlaced=(boolean)true" ! queue ! 
deinterlace ! queue ! ffmpegcolorspace ! "video/x-raw-yuv, 
format=(fourcc)I420, width=(int)720, height=(int)576, 
framerate=(fraction)50/1, pixel-aspect-ratio=(fraction)59/54" ! queue ! 
videorate ! queue ! videoscale ! "video/x-raw-yuv, format=(fourcc)I420, 
width=(int)720, height=(int)576, framerate=(fraction)25/1, 
pixel-aspect-ratio=(fraction)59/54" ! queue ! x264enc bitrate=50 ! queue 
! ffdec_h264 ! xvimagesink sync=false

However, it's not working properly because if I increase the 
bitrate/resolution/frame rate the video is slower than it shoud. I mean 
what a video should take 10 seconds to play it takes 13 seconds.

I don't know why but when I use my capture card instead of the firewire 
source everything works nicely.

Any ideas?

Thank you.




More information about the gstreamer-devel mailing list