这是 gst-inspect-1.0
工具的Linux手册页。因此,在路径规范和插件名称方面,它非常以Linux为中心。请耐心等待,因为它的重写版本将更为通用化。
1. 名称
gst-inspect-1.0
打印有关 GStreamer 插件或元素的信息
2. 命令格式
gst-inspect-1.0 [OPTION…] [PLUGIN|ELEMENT]
3. 说明
gst-inspect-1.0
是一个工具,它可以打印出可用 GStreamer 插件的信息、特定插件的信息或特定元素的信息。当在没有PLUGIN或ELEMENT参数的情况下执行时,gst-inspect-1.0将打印所有插件和元素的列表以及sumary。当使用PLUGIN或ELEMENT参数执行时,gst-inspect-1.0将打印有关该插件或元素的信息。
4. 命令行参数和选项
gst-inspect-1.0 接受以下参数和选项:
插件
插件的名称。这是一个类似于%GSTREAMER\u ROOT\u X86%\lib\GSTREAMER-1.0的文件名\libgstaudiotestsrc.dll例如。
元素
元素的名称。这是元素的名称,例如audiotestsrc
--help
打印帮助摘要和可用标志
--gst-info-mask=FLAGS
要设置的GStreamer信息标志(使用–help列出)
-a, --print-all
打印所有插件和元素
--print-plugin-auto-install-info
打印指定插件提供的功能的机器可分析列表。与外部自动插件安装机制结合使用。
--gst-debug-mask=FLAGS
要设置的GStreamer调试标志(使用–help列出)
--gst-mask=FLAGS
要设置的GStreamer信息和调试标志(使用–help列出)
--gst-plugin-spew
GStreamer info标志,用于在加载GStreamer插件时设置启用错误打印输出
--gst-plugin-path=PATH
将以“:”分隔的目录添加到插件搜索路径
5. 例子
gst-inspect-1.0 audiotestsrc
输出结果为:
Factory Details:Rank none (0)Long-name Audio test sourceKlass Source/AudioDescription Creates audio test signals of given frequency and volumeAuthor Stefan Kost <ensonic@users.sf.net>Plugin Details:Name audiotestsrcDescription Creates audio test signals of given frequency and volumeFilename /usr/lib/gstreamer-1.0/libgstaudiotestsrc.soVersion 1.8.1License LGPLSource module gst-plugins-baseSource release date 2016-04-20Binary package GStreamer Base Plugins (Arch Linux)Origin URL http://www.archlinux.org/GObject+----GInitiallyUnowned+----GstObject+----GstElement+----GstBaseSrc+----GstAudioTestSrcPad Templates:SRC template: 'src'Availability: AlwaysCapabilities:audio/x-rawformat: { S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE, S8, U8 }layout: interleavedrate: [ 1, 2147483647 ]channels: [ 1, 2147483647 ]Element Flags:no flags setElement Implementation:Has change_state() function: gst_base_src_change_stateElement has no clocking capabilities.
Element has no URI handling capabilities.Pads:SRC: 'src'Pad Template: 'src'Element Properties:name : The name of the objectflags: readable, writableString. Default: "audiotestsrc0"parent : The parent of the objectflags: readable, writableObject of type "GstObject"blocksize : Size in bytes to read per buffer (-1 = default)flags: readable, writableUnsigned Integer. Range: 0 - 4294967295 Default: 4294967295num-buffers : Number of buffers to output before sending EOS (-1 = unlimited)flags: readable, writableInteger. Range: -1 - 2147483647 Default: -1typefind : Run typefind before negotiatingflags: readable, writableBoolean. Default: falsedo-timestamp : Apply current stream time to buffersflags: readable, writableBoolean. Default: falsesamplesperbuffer : Number of samples in each outgoing bufferflags: readable, writableInteger. Range: 1 - 2147483647 Default: 1024wave : Oscillator waveformflags: readable, writable, controllableEnum "GstAudioTestSrcWave" Default: 0, "sine"(0): sine - Sine(1): square - Square(2): saw - Saw(3): triangle - Triangle(4): silence - Silence(5): white-noise - White uniform noise(6): pink-noise - Pink noise(7): sine-table - Sine table(8): ticks - Periodic Ticks(9): gaussian-noise - White Gaussian noise(10): red-noise - Red (brownian) noise(11): blue-noise - Blue noise(12): violet-noise - Violet noisefreq : Frequency of test signal. The sample rate needs to be at least 4 times higher.flags: readable, writable, controllableDouble. Range: 0 - 5.368709e+08 Default: 440volume : Volume of test signalflags: readable, writable, controllableDouble. Range: 0 - 1 Default: 0.8is-live : Whether to act as a live sourceflags: readable, writableBoolean. Default: falsetimestamp-offset : An offset added to timestamps set on buffers (in ns)flags: readable, writableInteger64. Range: -9223372036854775808 - 9223372036854775807 Default: 0can-activate-push : Can activate in push modeflags: readable, writableBoolean. Default: truecan-activate-pull : Can activate in pull modeflags: readable, writableBoolean. Default: false