本文共 10898 字,大约阅读时间需要 36 分钟。
gst-inspect-1.0 打印插件列表、指定插件或指定元素的信息
gst-inspect-1.0 [OPTION...] [PLUGIN|ELEMENT]
--help--gst-info-mask=FLAGS 设置GStreamer信息标志??-a, --print-all 打印所有插件和元件--print-plugin-auto-install-info 打印指定插件提供的功能的机器可解析列表。适用于外部自动插件安装机制。--gst-debug-mask=FLAGS 设置GStreamer调试标志--gst-mask=FLAGS 设置GStreamer信息和调试标志--gst-plugin-spew GStreamer信息标志,用于设置在加载GStreamer插件时启用打印输出错误--gst-plugin-path=PATH 将以':'分隔的目录添加到插件搜索路径
$ gst-inspect-1.0 -avideo4linux2: v4l2src: Video (video4linux2) Sourcevideo4linux2: v4l2sink: Video (video4linux2) Sinkvideo4linux2: v4l2radio: Radio (video4linux2) Tunervideo4linux2: v4l2deviceprovider (GstDeviceProviderFactory)dvswitch: dvswitchsrc: DVSwitch video sourcedvswitch: dvswitchsink: DVswitch video sinkpocketsphinx: pocketsphinx: PocketSphinxflump3dec: flump3dec: Fluendo MP3 Decoder (C build)espeak: espeak: eSpeak as a sound source。。。略
$ gst-inspect-1.0 video4linux2Plugin Details:Name video4linux2Description elements for Video 4 LinuxFilename /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.soVersion 1.8.3License LGPLSource module gst-plugins-goodSource release date 2016-08-19Binary package GStreamer Good Plugins (Ubuntu)Origin URL https://launchpad.net/distros/ubuntu/+source/gst-plugins-good1.0v4l2src: Video (video4linux2) Sourcev4l2sink: Video (video4linux2) Sinkv4l2radio: Radio (video4linux2) Tunerv4l2deviceprovider: Video (video4linux2) Device Provider4 features:+-- 3 elements+-- 1 device providers
$ gst-inspect-1.0 v4l2srcFactory Details: Rank primary (256) Long-name Video (video4linux2) Source Klass Source/Video Description Reads frames from a Video4Linux2 device Author Edgard Lima, Stefan Kost Plugin Details: Name video4linux2 Description elements for Video 4 Linux Filename /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so Version 1.8.3 License LGPL Source module gst-plugins-good Source release date 2016-08-19 Binary package GStreamer Good Plugins (Ubuntu) Origin URL https://launchpad.net/distros/ubuntu/+source/gst-plugins-good1.0GObject +----GInitiallyUnowned +----GstObject +----GstElement +----GstBaseSrc +----GstPushSrc +----GstV4l2SrcImplemented Interfaces: GstURIHandler GstTuner GstColorBalance GstVideoOrientationPad Templates: SRC template: 'src' Availability: Always Capabilities: image/jpeg video/mpeg mpegversion: 4 systemstream: false video/mpeg mpegversion: 2 video/mpegts systemstream: true video/x-bayer format: { bggr, gbrg, grbg, rggb } width: [ 1, 32768 ] height: [ 1, 32768 ] framerate: [ 0/1, 2147483647/1 ] video/x-dv systemstream: true video/x-h263 variant: itu video/x-h264 stream-format: { byte-stream, avc } alignment: au video/x-pwc1 width: [ 1, 32768 ] height: [ 1, 32768 ] framerate: [ 0/1, 2147483647/1 ] video/x-pwc2 width: [ 1, 32768 ] height: [ 1, 32768 ] framerate: [ 0/1, 2147483647/1 ] video/x-raw format: { RGB16, BGR, RGB, GRAY8, GRAY16_LE, GRAY16_BE, YVU9, YV12, YUY2, YVYU, UYVY, Y42B, Y41B, YUV9, NV12_64Z32, NV24, NV61, NV16, NV21, NV12, I420, BGRA, BGRx, ARGB, xRGB, BGR15, RGB15 } width: [ 1, 32768 ] height: [ 1, 32768 ] framerate: [ 0/1, 2147483647/1 ] video/x-sonix width: [ 1, 32768 ] height: [ 1, 32768 ] framerate: [ 0/1, 2147483647/1 ] video/x-vp8 video/x-wmv wmvversion: 3 format: WVC1Element Flags: no flags setElement Implementation: Has change_state() function: 0x7fa66ff06ab0Element has no clocking capabilities.URI handling capabilities: Element can act as source. Supported URI protocols: v4l2Pads: SRC: 'src' Pad Template: 'src'Element Properties: name : The name of the object flags: readable, writable String. Default: "v4l2src0" parent : The parent of the object flags: readable, writable Object of type "GstObject" blocksize : Size in bytes to read per buffer (-1 = default) flags: readable, writable Unsigned Integer. Range: 0 - 4294967295 Default: 4096 num-buffers : Number of buffers to output before sending EOS (-1 = unlimited) flags: readable, writable Integer. Range: -1 - 2147483647 Default: -1 typefind : Run typefind before negotiating flags: readable, writable Boolean. Default: false do-timestamp : Apply current stream time to buffers flags: readable, writable Boolean. Default: false device : Device location flags: readable, writable String. Default: "/dev/video0" device-name : Name of the device flags: readable String. Default: "VirtualBox Webcam - Integrated " device-fd : File descriptor of the device flags: readable Integer. Range: -1 - 2147483647 Default: -1 flags : Device type flags flags: readable Flags "GstV4l2DeviceTypeFlags" Default: 0x00000000, "(none)" (0x00000001): capture - Device supports video capture (0x00000002): output - Device supports video playback (0x00000004): overlay - Device supports video overlay (0x00000010): vbi-capture - Device supports the VBI capture (0x00000020): vbi-output - Device supports the VBI output (0x00010000): tuner - Device has a tuner or modulator (0x00020000): audio - Device has audio inputs or outputs brightness : Picture brightness, or more precisely, the black level flags: readable, writable, controllable Integer. Range: -2147483648 - 2147483647 Default: 0 contrast : Picture contrast or luma gain flags: readable, writable, controllable Integer. Range: -2147483648 - 2147483647 Default: 0 saturation : Picture color saturation or chroma gain flags: readable, writable, controllable Integer. Range: -2147483648 - 2147483647 Default: 0 hue : Hue or color balance flags: readable, writable, controllable Integer. Range: -2147483648 - 2147483647 Default: 0 norm : video standard flags: readable, writable Enum "V4L2_TV_norms" Default: 0, "none" (0): none - none (45056): NTSC - NTSC (4096): NTSC-M - NTSC-M (8192): NTSC-M-JP - NTSC-M-JP (32768): NTSC-M-KR - NTSC-M-KR (16384): NTSC-443 - NTSC-443 (255): PAL - PAL (7): PAL-BG - PAL-BG (1): PAL-B - PAL-B (2): PAL-B1 - PAL-B1 (4): PAL-G - PAL-G (8): PAL-H - PAL-H (16): PAL-I - PAL-I (224): PAL-DK - PAL-DK (32): PAL-D - PAL-D (64): PAL-D1 - PAL-D1 (128): PAL-K - PAL-K (256): PAL-M - PAL-M (512): PAL-N - PAL-N (1024): PAL-Nc - PAL-Nc (2048): PAL-60 - PAL-60 (16711680): SECAM - SECAM (65536): SECAM-B - SECAM-B (262144): SECAM-G - SECAM-G (524288): SECAM-H - SECAM-H (3276800): SECAM-DK - SECAM-DK (131072): SECAM-D - SECAM-D (1048576): SECAM-K - SECAM-K (2097152): SECAM-K1 - SECAM-K1 (4194304): SECAM-L - SECAM-L (8388608): SECAM-Lc - SECAM-Lc io-mode : I/O mode flags: readable, writable Enum "GstV4l2IOMode" Default: 0, "auto" (0): auto - GST_V4L2_IO_AUTO (1): rw - GST_V4L2_IO_RW (2): mmap - GST_V4L2_IO_MMAP (3): userptr - GST_V4L2_IO_USERPTR (4): dmabuf - GST_V4L2_IO_DMABUF (5): dmabuf-import - GST_V4L2_IO_DMABUF_IMPORT extra-controls : Extra v4l2 controls (CIDs) for the device flags: readable, writable Boxed pointer of type "GstStructure" pixel-aspect-ratio : Overwrite the pixel aspect ratio of the device flags: readable, writable String. Default: null force-aspect-ratio : When enabled, the pixel aspect ratio will be enforced flags: readable, writable Boolean. Default: trueElement Signals: "prepare-format" : void user_function (GstElement* object, gint arg0, GstCaps* arg1, gpointer user_data);
转载地址:http://tbmei.baihongyu.com/