[gst-devel] Duplicates frames in h264 stream

Sandeep Prakash 123sandy at gmail.com
Tue Jul 20 08:41:59 CEST 2010

Hi Prabhulinga,

>From your ffmpeg command line

 prabhu at prabhu:avi $ ffmpeg -v 5 -i sample.avi -f null -
 Input #0, avi, from 'sample.avi':
   Duration: 00:00:00.00, start: 0.000000, bitrate: -2147483 kb/s
     Stream #0.0, 1/60: Video: h264, yuv420p, 1280x720, 1/120, 59.94
 tbr, 60 tbn, 120 tbc
 Output #0, null, to 'pipe:':
     Stream #0.0, 1/90000: Video: rawvideo, yuv420p, 1280x720,
 1001/60000, q=2-31, 200 kb/s, 90k tbn, 59.94 tbc
 Stream mapping:
   Stream #0.0 -> #0.0
   existing PPS referenced

we can also observe that the framerate is actually 60 (59.94 to be exact)
and not 30
as you are saying. So somewhere the framerate is getting modified. This
explains the 
video duration getting awry.

Can you attach some logs that will show the caps at each element. Try
setting the 
GST_DEBUG=3 env variable.

Also you can try to disable your frame completion logic and check whats the

Sandeep Prakash
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Duplicates-frames-in-h264-stream-tp2288920p2294998.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

More information about the gstreamer-devel mailing list