[gst-devel] Information needed: how to measure video fps
Daniel Díaz
mrchapp at gmail.com
Thu Apr 15 17:02:16 CEST 2010
Hello!
On Thu, Apr 15, 2010 at 1:50 AM, Marco Ballesio <gibrovacco at gmail.com> wrote:
> Hi,
> I think the fastest way is to install a probe on the sink pad of the
> videosink element you're using then count the buffers arriving e.g.
> each 10 seconds (it depends on the granularity you want to measure the
> fps).
I use this hack for gst-launch that adds a probe on any pad:
http://github.com/mrchapp/meta-texasinstruments/blob/for-23.i3.5-pre2/packages/gstreamer/gstreamer/gst-0.10.25-gst-launch-Add-pad-probe.patch
Then you can do:
gst-launch --padprobe videosink0:sink --timer \
videotestsrc ! fakesink name=videosink0
Greetings!
Daniel Díaz
yosoy at danieldiaz.org
> Regards
>
> On Mon, Apr 12, 2010 at 12:28 PM, Raghavendra Hebbalalu
> <hs.raghavendra at gmail.com> wrote:
>> Hi all,
>> I have a query on how to measure fps with gstreamer. The version of
>> gst-launch with me is 10.25.
>>
>> I came across gst-plugins-bad-0.10.18 (release notes say that this has
>> fpsdisplaysink)- but that is not compatible with gst-launch -10.25 that I am
>> forced to use.
>>
>> I then tried gst-plugins-bad-0.10.17 - I got it built but it looks like it
>> doesn't have fpsdisplaysink. I also couldn't find any documentation on a
>> "videomeasure" plugin.
>>
>> Can any of you help me get the fps using any method?
>>
>> Thanks,
>> -Raghavendra
More information about the gstreamer-devel
mailing list