'GStreamer pipeline stiring from pipeline

is there a way how to get a pipeline string from the pipeline? I am looking for something like opposite of the gst_parse_launch function which would take the pipeline as parameter and returned the string.

Thanks.



Solution 1:[1]

To the best of my knowledge, no. The closest I can think of is to generate a pipeline diagram in the dot format. To do so, you can place gst_debug_bin_to_dot_file at the point in your code when you want to render the pipeline graph (likely when it's already playing). Then execute you app with the GST_DEBUG_DUMP_DOT_DIR variable. Something like:

GST_DEBUG_DUMP_DOT_DIR=. ./app

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Michael Gruner