[gst-devel] Pipeline profiling.

vineeth nvineeth at gmail.com
Tue Apr 27 18:00:58 CEST 2010


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;
If you need to measure a specific aspect perhaps you can use gettimeofday()
or other glib equivalent.

On Tue, Apr 27, 2010 at 4:55 PM, wl2776 <wl2776 at gmail.com> wrote:

>
>
> wl2776 wrote:
> >
> > Debug output contains timestamps.
> > Are there any scripts, that can parse them and estimate, for example, the
> > time, required for seeking, for each element, or something else?
> >
> Ok, I'll try to be more specific.
>
> I have compiled the seeking example
> $GStreamer_source/gst-plugins-base/tests/examples/seek/seek.c both in linux
> and in windows.
>
> I had to change it a little to compile in windows:
> replace GDK_WINDOW_XID with GDK_WINDOW_HWND in realize_cb
> and add
> #define VSINK "directdrawsink"
>
> The problem is that seeking on the same file is much slower in windows than
> in linux.
> I use playbin2 in both cases, and the same media file (MPEG2).
>
> Now I'd like to estimate what causes the delay.
>
> However, I'm not very familiar with all gstreamer debug categories and
> don't
> know which ones to switch on. This is important, because simple GST_DEBUG=5
> brakes everything and distorts the picture.
> Another problem, I'm not very familiar with playbin2 internals (have read
> about seeking and pipeline seeking in the design docs, hold its print right
> now).
>
> There is no problem in capturing the debug output and parsing it with some
> perl or python script.
> I just need to know what to capture and parse.
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Pipeline-profiling-tp2067092p2067391.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100427/f2734f9a/attachment.htm>


More information about the gstreamer-devel mailing list