Is it possible to visualize gstreamer pipeline when I run make run ?

I can visualise gstreamer pipeline with testsrc and facesink by using

GST_DEBUG=2 GST_PLUGIN_PATH=./ LD_PRELOAD="./libgstvpsxprotect.so ./libgstvpsonvifmeta.so ./libgstvpsxprotectmeta.so ./libvpsutilities.so" GST_DEBUG_DUMP_DOT_DIR=./dots/ gst-launch-1.0 videotestsrc ! "video/x-raw,width=2500,height=1400" ! vpsjpegtranscoder ! fakesink

But when I try it with make run there is no dot files.

GST_DEBUG=3 GST_DEBUG_DUMP_DOT_DIR=./dots/ make run

Can you suggest some approaches to visualise pipeline that consumes real stream ?

The answer was quite simple, there is the function that does exactly the same and can can be called in the plugin. :sweat_smile:

https://gstreamer.freedesktop.org/documentation/gstreamer/gstdebugutils.html?gi-language=c