help with using GST_TRACER

Stefan Sauer ensonic at hora-obscura.de
Thu Oct 20 19:36:03 UTC 2016


Hi marianna,
On 10/18/2016 08:40 AM, mariannasb wrote:
> Hi,
>
> I have been trying to use the GST_TRACER and my first problem is the
> difficulty of finding documentation and understanding how to use it.
>
> Is there other documentation available other than
> https://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-tracing.txt
> ?
That is all the docs. Each tracer has a doc blob in the sources too, but
we don't have them in the generated docs yet.
>
> From what I understand from there I can use the tracer by setting the
> GST_TRACERS env variable to one or more of the following: latency, rusage,
> stats, leaks.
> Then setting as well GST_DEBUG=GST_TRACER:7 so that the output of the tracer
> shows up in the debug log.
> Then there is the possibility of passing the debug log to gst-stats-1.0 so
> it gets parsed.
>
> From what I understand "latency" will tell me the time it takes for a buffer
> to traverse the whole pipeline: go from source to sink.
> I'm actually interested in the individual processing time of each element as
> well, is it possible to get this information?
gst-stats is showing those if you use stats+rsuage. Please note that the
cpu usage we show is not always correct. This is where we should merge
the existing tools.

Stefan

> And it would also be helpful if gst-stats could print the latency
> information like it does for buffer size: min/avg/max
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/help-with-using-GST-TRACER-tp4680090.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list