I think trying to profile by checking the timestamps of the logs will be slightly inaccurate since there is the overhead of the all the logs;<br>If you need to measure a specific aspect perhaps you can use gettimeofday() or other glib equivalent.<br>

<br><div class="gmail_quote">On Tue, Apr 27, 2010 at 4:55 PM, wl2776 <span dir="ltr">&lt;<a href="mailto:wl2776@gmail.com">wl2776@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im"><br>
<br>
wl2776 wrote:<br>
&gt;<br>
&gt; Debug output contains timestamps.<br>
&gt; Are there any scripts, that can parse them and estimate, for example, the<br>
&gt; time, required for seeking, for each element, or something else?<br>
&gt;<br>
</div>Ok, I&#39;ll try to be more specific.<br>
<br>
I have compiled the seeking example<br>
$GStreamer_source/gst-plugins-base/tests/examples/seek/seek.c both in linux<br>
and in windows.<br>
<br>
I had to change it a little to compile in windows:<br>
replace GDK_WINDOW_XID with GDK_WINDOW_HWND in realize_cb<br>
and add<br>
#define VSINK &quot;directdrawsink&quot;<br>
<br>
The problem is that seeking on the same file is much slower in windows than<br>
in linux.<br>
I use playbin2 in both cases, and the same media file (MPEG2).<br>
<br>
Now I&#39;d like to estimate what causes the delay.<br>
<br>
However, I&#39;m not very familiar with all gstreamer debug categories and don&#39;t<br>
know which ones to switch on. This is important, because simple GST_DEBUG=5<br>
brakes everything and distorts the picture.<br>
Another problem, I&#39;m not very familiar with playbin2 internals (have read<br>
about seeking and pipeline seeking in the design docs, hold its print right<br>
now).<br>
<br>
There is no problem in capturing the debug output and parsing it with some<br>
perl or python script.<br>
I just need to know what to capture and parse.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Pipeline-profiling-tp2067092p2067391.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Pipeline-profiling-tp2067092p2067391.html</a><br>


</font><div><div></div><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
------------------------------------------------------------------------------<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>
</div></div></blockquote></div><br>