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

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

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]

帮助选项:
-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所有的可用插件等:

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 个特性

 

 

 

aa

 

posted @ 2018-06-19 14:37  静之深  阅读(5333)  评论(0编辑  收藏  举报