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

gstreamer及相關插件編譯完成後,會輸出gst-inspect可執行文件,相關信息以下:ios

drwxrwxr-x 12 yingc yingc   4096  6月 15 16:56 glib-2.42.0/
drwxrwxr-x 10 yingc yingc   4096  6月 15 17:05 gst-libav-1.4.5/
drwxrwxr-x 14 yingc yingc   4096  6月 15 17:03 gst-plugins-bad-1.4.5/
drwxrwxr-x 14 yingc yingc   4096  6月 15 16:59 gst-plugins-base-1.4.5/
drwxrwxr-x 13 yingc yingc   4096  6月 15 17:00 gst-plugins-good-1.4.5/
drwxrwxr-x 13 yingc yingc   4096  6月 15 17:01 gst-plugins-ugly-1.4.5/
drwxrwxr-x 14 yingc yingc   4096  6月 15 16:57 gstreamer-1.4.5/

./gst-inspect-1.0 -h
用法:
gst-inspect-1.0 [選項...] [ELEMENT-NAME | PLUGIN-NAME]ide

幫助選項:
-h, --help 顯示幫助選項
--help-all 顯示所有幫助選項
--help-gst 顯示 GStreamer 選項spa

應用程序選項:
-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全部的可用插件等:3d

rtp:  rtppcmupay: RTP PCMU payloader
rtp:  rtppcmapay: RTP PCMA payloader
rtp:  rtpmpadepay: RTP MPEG audio depayloader
rtp:  rtpmpapay: RTP MPEG audio payloader
rtp:  rtpmparobustdepay: RTP MPEG audio depayloader
rtp:  rtpmpvdepay: RTP MPEG video depayloader
rtp:  rtpmpvpay: RTP MPEG2 ES video payloader
rtp:  rtph263ppay: RTP H263 payloader
rtp:  rtph263pdepay: RTP H263 depayloader
rtp:  rtph263depay: RTP H263 depayloader
rtp:  rtph263pay: RTP H263 packet payloader
rtp:  rtph264depay: RTP H264 depayloader
rtp:  rtph264pay: RTP H264 payloader
............................................................

gio:  giostreamsink: GIO stream sink
gio:  giostreamsrc: GIO stream source
autodetect:  autovideosink: Auto video sink
autodetect:  autovideosrc: Auto video source
autodetect:  autoaudiosink: Auto audio sink
autodetect:  autoaudiosrc: Auto audio source
liveadder:  liveadder: Live Adder element
taglib:  id3v2mux: TagLib-based ID3v2 Muxer
taglib:  apev2mux: TagLib-based APEv2 Muxer
chromaprint:  chromaprint: Chromaprint fingerprinting element
dataurisrc:  dataurisrc: data: URI source element
dvdsub:  dvdsubdec: DVD subtitle decoder
dvdsub:  dvdsubparse: DVD subtitle parser
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

總數:174 個插件, 1090 個特性

 

 

 

aacode

相關文章
相關標籤/搜索