dturing / node-gstreamer-superficial

Superficial gstreamer binding
MIT License
130 stars 45 forks source link

Gstreamer pipeline debugging #43

Closed valerymagadeeva closed 3 years ago

valerymagadeeva commented 3 years ago

Is there any opportunity to debug Gstreamer pipeline using log levels and gstreamer's graph system? I mean, I used to debug the pipeline using GST_DEBUG_DUMP_DOT_DIR env var to generate special dot graph. Moreover, it's useful to define special debugging level to see all memory dump or just debug info logs. Are these things somehow possible with this package? Thanks in advance.

dfischer23 commented 3 years ago

Hi @valerymagadeeva, there are no provisions in this library (yet?) For this, but have you tried setting the environment vars like you would with gst-launch?

valerymagadeeva commented 3 years ago

@dfischer23 thanks for the answer! Yes, I've set the env var in my package.json at 'start' script. It used to work earlier, when I just 'spawned' the gstreamer pipeline, but now it doesn't.

dturing commented 3 years ago

hmm. GST_DEBUG=5 node examples/test.js gives me the expected lots of gst debug output. can you give an example that wont work, @valerymagadeeva ?

dturing commented 3 years ago

closing because inactive., please reopen if more information available.