Get gstreamer logging Text from gst_device_to_rtp.py
Hey, i have a question do you know a way to get the Output of the gstreamer logging from the cv2.VideoWriter class. I want to wait till gstreamer Stream is Ready and then execute the Python Code that writes to gstreamer pipeline and also process Errors on gstreamer side if they appear.
Hey, sorry for the late answer.
There is a way:
As stated in the gst-doc, the environment variable GST_DEBUG controls the level of debug.
I found the command export GST_DEBUG=4 as the most valuable, because it also prints warnings that may cause malfunctions in the gstreamer pipe. Put that command before you execute your scripts and a lot of (usable and unusable) output should appear.
Best