Thanks, Florent.<br><br>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.<br><br>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&#39;t be fair, because I can&#39;t go  with gstreamer beyond xvimagesink. I will study what I can do with QoS events.<br>
<br>--<br>Aarto<br><br><div class="gmail_quote">On Thu, Apr 16, 2009 at 4:27 AM, Florent <span dir="ltr">&lt;<a href="mailto:fthiery@gmail.com">fthiery@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Hello<br>
<br>
&gt; I develop a benchmark and performance test application based on gstreamer.<br>
&gt; Is there a plugin or a way to display/output real fps from the playback. Any<br>
&gt; other meaningful metric that can be used for evaluating performance is<br>
&gt; useful also. Thanks.<br>
<br>
</div></div>You could use identity (which you can insert anywhere in your<br>
pipeline), and connect the signals &quot;handoff&quot;:<br>
* wo a callback incrementing a counter you reset every second, which<br>
will give you second-scale fps average measurement<br>
* to a callback measuring difference beween consecutive timestamps,<br>
which will give you instantaneous fps measure (fps will be<br>
1/difference)<br>
<br>
If you are only interested in pure display/playback performance<br>
measurement, you could take a look at QoS events&#39; timestamps emitted<br>
from sinks (see gstreamer/docs/design/part-qos.txt).<br>
<br>
For memory/cpu usage, you could use standard system calls or /proc parsings.<br>
<br>
I hope this helps. Maybe there are better ways to do this... Can you<br>
elaborate on the kind of performance you would like to measure ?<br>
<br>
Florent<br>
<br>
------------------------------------------------------------------------------<br>
Stay on top of everything new and different, both inside and<br>
around Java (TM) technology - register by April 22, and save<br>
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.<br>
300 plus technical and hands-on sessions. Register today.<br>
Use priority code J9JMT32. <a href="http://p.sf.net/sfu/p" target="_blank">http://p.sf.net/sfu/p</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>