Measure element latency

Nicolas Dufresne nicolas at ndufresne.ca
Tue Jun 11 22:20:58 UTC 2019


Le mar. 11 juin 2019 16 h 40, Michael Gruner <michael.gruner at ridgerun.com>
a écrit :

> 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#GstLogFunction
>
> This way you app could install a callback and filter out every tracer logs
> received.
>

I also think that long term we need tracer specific hook, so we could avoid
parsing log strings and could implement sysprof and other trace formats.


> 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
>
>
> _______________________________________________
> 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/3f1692ae/attachment.html>


More information about the gstreamer-devel mailing list