I am not sure though....You can try "fpsdisplaysink" to measure framerate. <br><br><div class="gmail_quote">On Fri, Feb 15, 2013 at 1:10 PM, Baby Octopus <span dir="ltr"><<a href="mailto:jagadishkamathk@gmail.com" target="_blank">jagadishkamathk@gmail.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">Hi,<br>
<br>
I want to know how is a video framerate calculated in a transport<br>
stream(frame rate of video/x-raw which comes out of decodebin)<br>
<br>
1. Is it the job of demuxer(tsdemux)?Is it based on dts/pts present in<br>
transport PES in such a case? If dts/pts id not present how does it get<br>
calculated?<br>
2. Is it the job of videoparse(h264parse)r?<br>
3. Is it the job of video decoder(avdec_h264)?<br>
<br>
I'm using decodebin which internally is using libav decoders. I have this<br>
question because because certain H264 streams have a framerate of 0/1 when<br>
they come out of decodebin. I'm not sure why it is happening<br>
<br>
~BO<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/How-is-a-video-frame-rate-calculated-in-a-transport-stream-tp4658547.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/How-is-a-video-frame-rate-calculated-in-a-transport-stream-tp4658547.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>