GST_DEBUG_FILE is set but the file is missing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GST_DEBUG_FILE is set but the file is missing

bdjukic
Hi there,

I've built a very simple pipeline based on the  Hello World
<https://gstreamer.freedesktop.org/documentation/tutorials/basic/hello-world.html>  
example. I'm trying now to add tracing and get that output to a file. So,
I've tried something like this:

setenv("GST_DEBUG", "GST_TRACER:7", TRUE);
setenv("GST_TRACERS", "cpuusage", TRUE);
setenv("GST_DEBUG_FILE", "camera.log", TRUE);

I'm calling the above lines before *gst_init()*.

*camera.log* is never created though.

Does anyone have an idea why does this happen?

Thanks!

Bogdan



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GST_DEBUG_FILE is set but the file is missing

Gst-Geek
Debug level is not set in the example.Set debug level using
gst_debug_set_default_threshold.


https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html#gst-debug-set-default-threshold




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel