简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM