Measure element latency
Michael Gruner
michael.gruner at ridgerun.com
Tue Jun 11 20:34:09 UTC 2019
You can set the GST_DEBUG_FILE env variable to that the output get’s written to a file, instead of stderr. Then your app could consume that.
Another rather complex alternative is to create your own log handler. Take a look at:
https://developer.gnome.org/gstreamer/stable/gstreamer-GstInfo.html#gst-debug-add-log-function <https://developer.gnome.org/gstreamer/stable/gstreamer-GstInfo.html#gst-debug-add-log-function>
https://developer.gnome.org/gstreamer/stable/gstreamer-GstInfo.html#GstLogFunction <https://developer.gnome.org/gstreamer/stable/gstreamer-GstInfo.html#GstLogFunction>
This way you app could install a callback and filter out every tracer logs received.
> On Jun 11, 2019, at 11:19 AM, clubberlang <taoming29 at gmail.com> wrote:
>
> Hey Nicolas,
>
> Thanks for the information! I am wondering if it's possible to propagate
> this message to the application level? i.e. Is it possible to post this
> information to the BUS maybe or somewhere similar so that the application
> level can get this information?
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190611/0d0fb396/attachment.html>
More information about the gstreamer-devel
mailing list