[gst-devel] Duplicates frames in h264 stream

sudarshan bisht bisht.sudarshan at gmail.com
Tue Jul 20 09:14:26 CEST 2010


But if the frame rate is 60 then the file duration should be half  , right ?

Can you dump the file before giving it to avimux and check the number of
frames ?

On Tue, Jul 20, 2010 at 9:41 AM, Sandeep Prakash <123sandy at gmail.com> wrote:

>
> 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
> outcome.
>
> Regards
> Sandeep Prakash
> http://sandeepprakash.homeip.net
> --
> 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.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100720/ef08a1a5/attachment.htm>


More information about the gstreamer-devel mailing list