天天看點

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

一個奔跑的程式員