[gst-devel] Real framerate display

Stefan Kost ensonic at hora-obscura.de
Fri Apr 17 14:48:15 CEST 2009

Olivier Crête schrieb:
> On Thu, 2009-04-16 at 19:14 +0300, Aarto Matti wrote:
>> Thanks, Florent.
>> FPS is meaningful for me to see when cpu is not able keep it at
>> maximum, I also need a way to measure how much performance I gain with
>> hardware codecs.
>> I used handoff event as you suggested and I had to split the stream
>> into two with tee and feed one to fakesink. So it works :) Then I need
>> to measure what do I get with XV, since colorspace conversions and
>> scaling can be done with it. From here perhaps I can measure cpu
>> usage, but to use FPS wouldn't be fair, because I can't go with
>> gstreamer beyond xvimagesink. I will study what I can do with QoS
>> events.
> I have a simple thing that uses a pad probe and optionally a text
> overlay to print the FPS taken from the qos events, but its not wrapped
> inside an element.
> Code at:
> http://git.collabora.co.uk/?p=telepathy-stream-engine.git;a=blobdiff;f=src/videosink.c;h=91c6bc6c01fb7acefbaee1b92443d59a63e20491;hp=032a1a3796ee2991f717478b383742191136281e;hb=7cd6e0818fdd37e79997c8d92b39d97288aa28b3;hpb=90ba29b172d35484915d45282612350ee1eae9a0

Mybe that can be merged into fpsdisply in bad. Atleast I wanted to make the
overlay optional.

If we are happy with text output it could also be done in identity or fakesink


> ------------------------------------------------------------------------
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

More information about the gstreamer-devel mailing list