[英]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.
我正在寻找与 gst_parse_launch function 相反的东西,它将管道作为参数并返回字符串。
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).
为此,您可以将gst_debug_bin_to_dot_file放置在您想要渲染管线图(可能已经在播放时)的代码中。 Then execute you app with the GST_DEBUG_DUMP_DOT_DIR variable.
然后使用 GST_DEBUG_DUMP_DOT_DIR 变量执行您的应用程序。 Something like:
就像是:
GST_DEBUG_DUMP_DOT_DIR=. ./app
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.