天天看点

gstreamer如何查看相关插件信息(src/sink)?

gstreamer及相关插件编译完成后,会输出gst-inspect可执行文件,相关信息如下:

./gst-inspect-1.0 -h

用法:

gst-inspect-1.0 [选项...] [element-name | plugin-name]

帮助选项:

-h, --help 显示帮助选项

--help-all 显示全部帮助选项

--help-gst 显示 gstreamer 选项

应用程序选项:

-a, --print-all 打印全部组件

-b, --print-blacklist 显示黑名单文件列表

--print-plugin-auto-install-info 显示机器可解析的指定插件或所有插件提供的特性列表。

与外部自动插件安装机制连接时有用

--plugin 列出插件信息

--exists check if the specified element or plugin exists

--atleast-version when checking if an element or plugin exists, also check that its version is at least the version specified

-u, --uri-handlers 打印所支持的 uri 样式及它们的关联组件

--version print version information and exit

 执行gst-inspect-1.0 --plugin,我们会看到当前gstreamer所有的可用插件等:

aa

一个奔跑的程序员