[gst-devel] Real framerate display

Olivier Crête olivier.crete at collabora.co.uk
Thu Apr 16 18:32:31 CEST 2009


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

-- 
Olivier Crête
olivier.crete at collabora.co.uk
Collabora Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090416/d68bfa1d/attachment.pgp>


More information about the gstreamer-devel mailing list