gstreamer相关工具集合

beijing:/usr/lib/gstreamer-1.0 # gst
gstack                  gst-discoverer-1.0      gst-inspect-1.0         gst-play-1.0            gst-visualise-0.10
gst-device-monitor-1.0  gst-feedback-0.10       gst-launch-0.10         gst-typefind-0.10       gst-xmlinspect-0.10

gst-discoverer-0.10     gst-inspect-0.10        gst-launch-1.0          gst-typefind-1.0        gst-xmllaunch-0.10


查看所有插件

beijing:/usr/lib/gstreamer-1.0 # gst-inspect-1.0
clutter:  cluttersink: Clutter video sink
clutter:  autocluttersink: Auto Clutter Sink
y4menc:  y4menc: YUV4MPEG video encoder
ximagesrc:  ximagesrc: Ximage video source
wavparse:  wavparse: WAV audio demuxer
wavpack:  wavpackdec: Wavpack audio decoder
wavpack:  wavpackenc: Wavpack audio encoder
wavenc:  wavenc: WAV audio muxer
vpx:  vp8dec: On2 VP8 Decoder
vpx:  vp8enc: On2 VP8 Encoder
vpx:  vp9dec: On2 VP9 Decoder
vpx:  vp9enc: On2 VP9 Encoder
videomixer:  videomixer: Video mixer 2
videofilter:  gamma: Video gamma correction
videofilter:  videobalance: Video balance
videofilter:  videoflip: Video flipper
videofilter:  videomedian: Median effect
videocrop:  videocrop: Crop
videocrop:  aspectratiocrop: aspectratiocrop
videobox:  videobox: Video box filter
video4linux2:  v4l2src: Video (video4linux2) Source
video4linux2:  v4l2sink: Video (video4linux2) Sink
video4linux2:  v4l2radio: Radio (video4linux2) Tuner
video4linux2:  v4l2deviceprovider (GstDeviceProviderFactory)
udp:  udpsink: UDP packet sender
udp:  multiudpsink: UDP packet sender
udp:  dynudpsink: UDP packet sender
udp:  udpsrc: UDP packet receiver
taglib:  id3v2mux: TagLib-based ID3v2 Muxer
taglib:  apev2mux: TagLib-based APEv2 Muxer
speex:  speexenc: Speex audio encoder
speex:  speexdec: Speex audio decoder
spectrum:  spectrum: Spectrum analyzer
soup:  souphttpsrc: HTTP client source
soup:  souphttpclientsink: HTTP client sink
smpte:  smpte: SMPTE transitions
smpte:  smptealpha: SMPTE transitions
shapewipe:  shapewipe: Shape Wipe transition filter
rtsp:  rtspsrc: RTSP packet receiver
rtsp:  rtpdec: RTP Decoder
rtpmanager:  rtpbin: RTP Bin
rtpmanager:  rtpjitterbuffer: RTP packet jitter-buffer
rtpmanager:  rtpptdemux: RTP Demux
rtpmanager:  rtpsession: RTP Session
rtpmanager:  rtprtxqueue: RTP Retransmission Queue
rtpmanager:  rtprtxreceive: RTP Retransmission receiver
rtpmanager:  rtprtxsend: RTP Retransmission Sender
rtpmanager:  rtpssrcdemux: RTP SSRC Demux
rtpmanager:  rtpmux: RTP muxer
rtpmanager:  rtpdtmfmux: RTP muxer
rtp:  rtpac3depay: RTP AC3 depayloader
rtp:  rtpac3pay: RTP AC3 audio payloader
rtp:  rtpbvdepay: RTP BroadcomVoice depayloader
rtp:  rtpbvpay: RTP BV Payloader
rtp:  rtpceltdepay: RTP CELT depayloader
rtp:  rtpceltpay: RTP CELT payloader
rtp:  rtpdvdepay: RTP DV Depayloader
rtp:  rtpdvpay: RTP DV Payloader
rtp:  rtpgstdepay: GStreamer depayloader
rtp:  rtpgstpay: RTP GStreamer payloader
rtp:  rtpilbcpay: RTP iLBC Payloader
rtp:  rtpilbcdepay: RTP iLBC depayloader
rtp:  rtpg722depay: RTP audio depayloader
rtp:  rtpg722pay: RTP audio payloader
rtp:  rtpg723depay: RTP G.723 depayloader
rtp:  rtpg723pay: RTP G.723 payloader
rtp:  rtpg726depay: RTP G.726 depayloader
rtp:  rtpg726pay: RTP G.726 payloader
rtp:  rtpg729depay: RTP G.729 depayloader
rtp:  rtpg729pay: RTP G.729 payloader
rtp:  rtpgsmdepay: RTP GSM depayloader
rtp:  rtpgsmpay: RTP GSM payloader
rtp:  rtpamrdepay: RTP AMR depayloader
rtp:  rtpamrpay: RTP AMR payloader
rtp:  rtppcmadepay: RTP PCMA depayloader
rtp:  rtppcmudepay: RTP PCMU depayloader
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
rtp:  rtpj2kdepay: RTP JPEG 2000 depayloader
rtp:  rtpj2kpay: RTP JPEG 2000 payloader
rtp:  rtpjpegdepay: RTP JPEG depayloader
rtp:  rtpjpegpay: RTP JPEG payloader
rtp:  rtpL16pay: RTP audio payloader
rtp:  rtpL16depay: RTP audio depayloader
rtp:  rtpL24pay: RTP audio payloader
rtp:  rtpL24depay: RTP audio depayloader
rtp:  asteriskh263: RTP Asterisk H263 depayloader
rtp:  rtpmp1sdepay: RTP MPEG1 System Stream depayloader
rtp:  rtpmp2tdepay: RTP MPEG Transport Stream depayloader
rtp:  rtpmp2tpay: RTP MPEG2 Transport Stream payloader
rtp:  rtpmp4vpay: RTP MPEG4 Video payloader
rtp:  rtpmp4vdepay: RTP MPEG4 video depayloader
rtp:  rtpmp4apay: RTP MPEG4 audio payloader
rtp:  rtpmp4adepay: RTP MPEG4 audio depayloader
rtp:  rtpmp4gdepay: RTP MPEG4 ES depayloader
rtp:  rtpmp4gpay: RTP MPEG4 ES payloader
rtp:  rtpqcelpdepay: RTP QCELP depayloader
rtp:  rtpqdm2depay: RTP QDM2 depayloader
rtp:  rtpsbcdepay: RTP SBC audio depayloader
rtp:  rtpsbcpay: RTP packet payloader
rtp:  rtpsirenpay: RTP Payloader for Siren Audio
rtp:  rtpsirendepay: RTP Siren packet depayloader
rtp:  rtpspeexpay: RTP Speex payloader
rtp:  rtpspeexdepay: RTP Speex depayloader
rtp:  rtpsv3vdepay: RTP SVQ3 depayloader
rtp:  rtptheoradepay: RTP Theora depayloader
rtp:  rtptheorapay: RTP Theora payloader
rtp:  rtpvorbisdepay: RTP Vorbis depayloader
rtp:  rtpvorbispay: RTP Vorbis depayloader
rtp:  rtpvp8depay: RTP VP8 depayloader
rtp:  rtpvp8pay: RTP VP8 payloader
rtp:  rtpvrawdepay: RTP Raw Video depayloader
rtp:  rtpvrawpay: RTP Raw Video payloader
rtp:  rtpstreampay: RTP Stream Payloading
rtp:  rtpstreamdepay: RTP Stream Depayloading
replaygain:  rganalysis: ReplayGain analysis
replaygain:  rglimiter: ReplayGain limiter
replaygain:  rgvolume: ReplayGain volume
pulseaudio:  pulsesink: PulseAudio Audio Sink
pulseaudio:  pulsesrc: PulseAudio Audio Source
pulseaudio:  pulsedeviceprovider (GstDeviceProviderFactory)
png:  pngdec: PNG image decoder
png:  pngenc: PNG image encoder
ossaudio:  osssrc: Audio Source (OSS)
ossaudio:  osssink: Audio Sink (OSS)
oss4:  oss4sink: OSS v4 Audio Sink
oss4:  oss4src: OSS v4 Audio Source
navigationtest:  navigationtest: Video navigation test
multipart:  multipartdemux: Multipart demuxer
multipart:  multipartmux: Multipart muxer
multifile:  multifilesrc: Multi-File Source
multifile:  multifilesink: Multi-File Sink
multifile:  splitfilesrc: Split-File Source
mulaw:  mulawenc: Mu Law audio encoder
mulaw:  mulawdec: Mu Law audio decoder
monoscope:  monoscope: Monoscope
matroska:  matroskademux: Matroska demuxer
matroska:  matroskaparse: Matroska parser
matroska:  matroskamux: Matroska muxer
matroska:  webmmux: WebM muxer
level:  level: Level
jpeg:  jpegenc: JPEG image encoder
jpeg:  jpegdec: JPEG image decoder
jack:  jackaudiosrc: Audio Source (Jack)
jack:  jackaudiosink: Audio Sink (Jack)
isomp4:  qtdemux: QuickTime demuxer
isomp4:  rtpxqtdepay: RTP packet depayloader
isomp4:  qtmux: QuickTime Muxer
isomp4:  mp4mux: MP4 Muxer
isomp4:  ismlmux: ISML Muxer
isomp4:  3gppmux: 3GPP Muxer
isomp4:  mj2mux: MJ2 Muxer
isomp4:  qtmoovrecover: QT Moov Recover
interleave:  interleave: Audio interleaver
interleave:  deinterleave: Audio deinterleaver
imagefreeze:  imagefreeze: Still frame stream generator
id3demux:  id3demux: ID3 tag demuxer
icydemux:  icydemux: ICY tag demuxer
goom2k1:  goom2k1: GOOM: what a GOOM! 2k1 edition
goom:  goom: GOOM: what a GOOM!
gdkpixbuf:  gdkpixbufdec: GdkPixbuf image decoder
gdkpixbuf:  gdkpixbufoverlay: GdkPixbuf Overlay
gdkpixbuf:  gdkpixbufsink: GdkPixbuf sink
flxdec:  flxdec: FLX video decoder
flv:  flvdemux: FLV Demuxer
flv:  flvmux: FLV muxer
flac:  flacenc: FLAC audio encoder
flac:  flacdec: FLAC audio decoder
flac:  flactag: FLAC tagger
equalizer:  equalizer-nbands: N Band Equalizer
equalizer:  equalizer-3bands: 3 Band Equalizer
equalizer:  equalizer-10bands: 10 Band Equalizer
effectv:  edgetv: EdgeTV effect
effectv:  agingtv: AgingTV effect
effectv:  dicetv: DiceTV effect
effectv:  warptv: WarpTV effect
effectv:  shagadelictv: ShagadelicTV
effectv:  vertigotv: VertigoTV effect
effectv:  revtv: RevTV effect
effectv:  quarktv: QuarkTV effect
effectv:  optv: OpTV effect
effectv:  radioactv: RadioacTV effect
effectv:  streaktv: StreakTV effect
effectv:  rippletv: RippleTV effect
dtmf:  dtmfsrc: DTMF tone generator
dtmf:  rtpdtmfsrc: RTP DTMF packet generator
dtmf:  rtpdtmfdepay: RTP DTMF packet depayloader
deinterlace:  deinterlace: Deinterlacer
debug:  breakmydata: Break my data
debug:  capssetter: CapsSetter
debug:  rndbuffersize: Random buffer size
debug:  navseek: Seek based on left-right arrows
debug:  pushfilesrc: Push File Source
debug:  progressreport: Progress report
debug:  taginject: TagInject
debug:  testsink: Test plugin
debug:  cpureport: CPU report
cutter:  cutter: Audio cutter
cairo:  cairooverlay: Cairo overlay
avi:  avidemux: Avi demuxer
avi:  avimux: Avi muxer
avi:  avisubtitle: Avi subtitle parser
autodetect:  autovideosink: Auto video sink
autodetect:  autovideosrc: Auto video source
autodetect:  autoaudiosink: Auto audio sink
autodetect:  autoaudiosrc: Auto audio source
auparse:  auparse: AU audio demuxer
audioparsers:  aacparse: AAC audio stream parser
audioparsers:  amrparse: AMR audio stream parser
audioparsers:  ac3parse: AC3 audio stream parser
audioparsers:  dcaparse: DTS Coherent Acoustics audio stream parser
audioparsers:  flacparse: FLAC audio parser
audioparsers:  mpegaudioparse: MPEG1 Audio Parser
audioparsers:  sbcparse: SBC audio parser
audioparsers:  wavpackparse: Wavpack audio stream parser
audiofx:  audiopanorama: Stereo positioning
audiofx:  audioinvert: Audio inversion
audiofx:  audiokaraoke: AudioKaraoke
audiofx:  audioamplify: Audio amplifier
audiofx:  audiodynamic: Dynamic range controller
audiofx:  audiocheblimit: Low pass & high pass filter
audiofx:  audiochebband: Band pass & band reject filter
audiofx:  audioiirfilter: Audio IIR filter
audiofx:  audiowsinclimit: Low pass & high pass filter
audiofx:  audiowsincband: Band pass & band reject filter
audiofx:  audiofirfilter: Audio FIR filter
audiofx:  audioecho: Audio echo
audiofx:  scaletempo: Scaletempo
apetag:  apedemux: APE tag demuxer
alphacolor:  alphacolor: Alpha color filter
alpha:  alpha: Alpha filter
alaw:  alawenc: A Law audio encoder
alaw:  alawdec: A Law audio decoder
yadif:  yadif: YADIF deinterlacer
y4mdec:  y4mdec: YUV4MPEG demuxer/decoder
vmnc:  vmncdec: VMnc video decoder
videosignal:  videoanalyse: Video analyser
videosignal:  simplevideomarkdetect: Video detecter
videosignal:  simplevideomark: Video marker
videoparsersbad:  h263parse: H.263 parser
videoparsersbad:  h264parse: H.264 parser
videoparsersbad:  diracparse: Dirac parser
videoparsersbad:  mpegvideoparse: MPEG video elementary stream parser
videoparsersbad:  mpeg4videoparse: MPEG 4 video elementary stream parser
videoparsersbad:  pngparse: PNG parser
videoparsersbad:  h265parse: H.265 parser
videoparsersbad:  vc1parse: VC1 parser
videofiltersbad:  scenechange: Scene change detector
videofiltersbad:  zebrastripe: Zebra stripe overlay
videofiltersbad:  videodiff: FIXME Long name
vdpau:  vdpaumpegdec: VDPAU Mpeg Decoder
subenc:  srtenc: Srt encoder
subenc:  webvttenc: WebVTT encoder
stereo:  stereo: Stereo effect
speed:  speed: Speed
spandsp:  spanplc: SpanDSP PLC
spandsp:  dtmfdetect: DTMF detector element
soundtouch:  pitch: Pitch controller
soundtouch:  bpmdetect: BPM Detector
sndfile:  sfdec: Sndfile decoder
smooth:  smooth: Smooth effect
shm:  shmsrc: Shared Memory Source
shm:  shmsink: Shared Memory Sink
segmentclip:  audiosegmentclip: Audio buffer segment clipper
segmentclip:  videosegmentclip: Video buffer segment clipper
sdp:  sdpdemux: SDP session setup
schro:  schrodec: Dirac Decoder
schro:  schroenc: Dirac Encoder
rsvg:  rsvgoverlay: RSVG overlay
rsvg:  rsvgdec: SVG image decoder
rfbsrc:  rfbsrc: Rfb source
resindvd:  rsndvdbin: rsndvdbin
removesilence:  removesilence: RemoveSilence
rawparse:  videoparse: Video Parse
rawparse:  audioparse: Audio Parse
pnm:  pnmdec: PNM image decoder
pnm:  pnmenc: PNM image encoder
pcapparse:  pcapparse: PCapParse
pcapparse:  irtspparse: IRTSPParse
opus:  opusenc: Opus audio encoder
opus:  opusdec: Opus audio decoder
opus:  opusparse: Opus audio parser
opus:  rtpopusdepay: RTP Opus packet depayloader
opus:  rtpopuspay: RTP Opus payloader
openjpeg:  openjpegdec: OpenJPEG JPEG2000 decoder
openjpeg:  openjpegenc: OpenJPEG JPEG2000 encoder
opengl:  glimagesink: OpenGL video sink
opengl:  glfiltercube: OpenGL cube filter
opengl:  gleffects: Gstreamer OpenGL Effects
opengl:  glcolorscale: OpenGL color scale
opengl:  glvideomixer: OpenGL video_mixer
opengl:  glshader: OpenGL fragment shader filter
opengl:  gltestsrc: Video test source
opengl:  glfilterblur: Gstreamer OpenGL Blur
opengl:  glfiltersobel: Gstreamer OpenGL Sobel
opengl:  glfilterlaplacian: OpenGL laplacian filter
opengl:  glfilterglass: OpenGL glass filter
opengl:  glfilterapp: OpenGL application filter
opengl:  glfilterreflectedscreen: OpenGL Reflected Screen filter
opengl:  gldeinterlace: OpenGL deinterlacing filter
opengl:  glmosaic: OpenGL mosaic
opengl:  gldifferencematte: Gstreamer OpenGL DifferenceMatte
opengl:  glbumper: OpenGL bumper filter
opengl:  gloverlay: Gstreamer OpenGL Overlay
openal:  openalsink: OpenAL Audio Sink
openal:  openalsrc: OpenAL Audio Source
ofa:  ofa: OFA
neon:  neonhttpsrc: HTTP client source
mxf:  mxfdemux: MXF Demuxer
mplex:  mplex: mplex video multiplexer
mpegtsmux:  mpegtsmux: MPEG Transport Stream Muxer
mpegtsdemux:  tsparse: MPEG transport stream parser
mpegtsdemux:  tsdemux: MPEG transport stream demuxer
mpegpsmux:  mpegpsmux: MPEG Program Stream Muxer
mpegpsdemux:  mpegpsdemux: The Fluendo MPEG Program Stream Demuxer
modplug:  modplug: ModPlug
mms:  mmssrc: MMS streaming source
midi:  midiparse: MidiParse
liveadder:  liveadder: Live Adder element
kate:  katedec: Kate stream text decoder
kate:  kateenc: Kate stream encoder
kate:  kateparse: Kate stream parser
kate:  katetag: Kate stream tagger
jpegformat:  jpegparse: JPEG stream parser
jpegformat:  jifmux: JPEG stream muxer
jp2kdecimator:  jp2kdecimator: JPEG2000 decimator
ivtc:  ivtc: Inverse Telecine
ivtc:  combdetect: Comb Detect
ivfparse:  ivfparse: IVF parser
interlace:  interlace: Interlace filter
inter:  interaudiosrc: Internal audio source
inter:  interaudiosink: Internal audio sink
inter:  intersubsrc: Internal subtitle source
inter:  intersubsink: Internal subtitle sink
inter:  intervideosrc: Internal video source
inter:  intervideosink: Internal video sink
id3tag:  id3mux: ID3 v1 and v2 Muxer
gsm:  gsmenc: GSM audio encoder
gsm:  gsmdec: GSM audio decoder
gmedec:  gmedec: Gaming console music file decoder
geometrictransform:  circle: circle
geometrictransform:  diffuse: diffuse
geometrictransform:  kaleidoscope: kaleidoscope
geometrictransform:  marble: marble
geometrictransform:  pinch: pinch
geometrictransform:  rotate: rotate
geometrictransform:  sphere: sphere
geometrictransform:  twirl: twirl
geometrictransform:  waterripple: waterripple
geometrictransform:  stretch: stretch
geometrictransform:  bulge: bulge
geometrictransform:  tunnel: tunnel
geometrictransform:  square: square
geometrictransform:  mirror: mirror
geometrictransform:  fisheye: fisheye
geometrictransform:  perspective: perspective
gdp:  gdpdepay: GDP Depayloader
gdp:  gdppay: GDP Payloader
gaudieffects:  burn: Burn
gaudieffects:  chromium: Chromium
gaudieffects:  dilate: Dilate
gaudieffects:  dodge: Dodge
gaudieffects:  exclusion: Exclusion
gaudieffects:  solarize: Solarize
gaudieffects:  gaussianblur: GstGaussianBlur
freeverb:  freeverb: Reverberation/room effect
fieldanalysis:  fieldanalysis: Video field analysis
festival:  festival: Festival Text-to-Speech synthesizer
fbdevsink:  fbdevsink: fbdev video sink
dvbsuboverlay:  dvbsuboverlay: DVB Subtitles Overlay
dvb:  dvbsrc: DVB Source
dvb:  dvbbasebin: DVB bin
decklink:  decklinksrc: Decklink source
decklink:  decklinksink: Decklink Sink
debugutilsbad:  checksumsink: Checksum sink
debugutilsbad:  fpsdisplaysink: Measure and show framerate on videosink
debugutilsbad:  chopmydata: FIXME
debugutilsbad:  compare: Compare buffers
debugutilsbad:  debugspy: DebugSpy
debugutilsbad:  watchdog: Watchdog
dataurisrc:  dataurisrc: data: URI source element
curl:  curlhttpsink: Curl http sink
curl:  curlfilesink: Curl file sink
curl:  curlftpsink: Curl ftp sink
curl:  curlsmtpsink: Curl smtp sink
compositor:  compositor: Compositor
coloreffects:  coloreffects: Color Look-up Table filter
coloreffects:  chromahold: Chroma hold filter
camerabin:  viewfinderbin: Viewfinder Bin
camerabin:  wrappercamerabinsrc: Wrapper camera src element for camerabin2
camerabin:  camerabin: Camera Bin
bz2:  bz2enc: BZ2 encoder
bz2:  bz2dec: BZ2 decoder
bayer:  bayer2rgb: Bayer to RGB decoder for cameras
bayer:  rgb2bayer: RGB to Bayer converter
autoconvert:  autoconvert: Select convertor based on caps
autoconvert:  autovideoconvert: Select color space convertor based on caps
audiovisualizers:  spacescope: Stereo visualizer
audiovisualizers:  spectrascope: Frequency spectrum scope
audiovisualizers:  synaescope: Synaescope
audiovisualizers:  wavescope: Waveform oscilloscope
audiomixer:  audiomixer: AudioMixer
audiofxbad:  audiochannelmix: Simple stereo audio mixer
assrender:  assrender: ASS/SSA Render
asfmux:  asfmux: ASF muxer
asfmux:  rtpasfpay: RTP ASF payloader
asfmux:  asfparse: ASF parser
aiff:  aiffparse: AIFF audio demuxer
aiff:  aiffmux: AIFF audio muxer
adpcmenc:  adpcmenc: ADPCM encoder
adpcmdec:  adpcmdec: ADPCM decoder
accurip:  accurip: AccurateRip(TM) CRC element
qtvideosink:  qtvideosink: Qt video sink
qtvideosink:  qtglvideosink: Qt GL video sink
qtvideosink:  qwidgetvideosink: QWidget video sink
audiorate:  audiorate: Audio rate adjuster
videoconvert:  videoconvert: Colorspace converter
ximagesink:  ximagesink: Video sink
videorate:  videorate: Video rate adjuster
playback:  playbin: Player Bin 2
playback:  playsink: Player Sink
playback:  subtitleoverlay: Subtitle Overlay
playback:  streamsynchronizer: Stream Synchronizer
playback:  decodebin: Decoder Bin
playback:  uridecodebin: URI Decoder
gio:  giosink: GIO sink
gio:  giosrc: GIO source
gio:  giostreamsink: GIO stream sink
gio:  giostreamsrc: GIO stream source
audioresample:  audioresample: Audio resampler
cdparanoia:  cdparanoiasrc: CD Audio (cdda) Source, Paranoia IV
videoscale:  videoscale: Video scaler
videotestsrc:  videotestsrc: Video test source
app:  appsrc: AppSrc
app:  appsink: AppSink
theora:  theoradec: Theora video decoder
theora:  theoraenc: Theora video encoder
theora:  theoraparse: Theora video parser
adder:  adder: Adder
alsa:  alsasrc: Audio source (ALSA)
alsa:  alsasink: Audio sink (ALSA)
subparse: subparse_typefind: srt, sub, mpsub, mdvd, smi, txt, dks
subparse:  subparse: Subtitle parser
subparse:  ssaparse: SSA Subtitle Parser
audioconvert:  audioconvert: Audio converter
audiotestsrc:  audiotestsrc: Audio test source
ogg:  oggdemux: Ogg demuxer
ogg:  oggmux: Ogg muxer
ogg:  ogmaudioparse: OGM audio stream parser
ogg:  ogmvideoparse: OGM video stream parser
ogg:  ogmtextparse: OGM text stream parser
ogg:  oggparse: Ogg parser
ogg:  oggaviparse: Ogg AVI parser
encoding:  encodebin: Encoder Bin
vorbis:  vorbisenc: Vorbis audio encoder
vorbis:  vorbisdec: Vorbis audio decoder
vorbis:  vorbisparse: VorbisParse
vorbis:  vorbistag: VorbisTag
tcp:  tcpclientsink: TCP client sink
tcp:  tcpclientsrc: TCP client source
tcp:  tcpserversink: TCP server sink
tcp:  tcpserversrc: TCP server source
tcp:  multifdsink: Multi filedescriptor sink
tcp:  multisocketsink: Multi socket sink
xvimagesink:  xvimagesink: Video sink
coreelements:  capsfilter: CapsFilter
coreelements:  downloadbuffer: DownloadBuffer
coreelements:  fakesrc: Fake Source
coreelements:  fakesink: Fake Sink
coreelements:  fdsrc: Filedescriptor Source
coreelements:  fdsink: Filedescriptor Sink
coreelements:  filesrc: File Source
coreelements:  funnel: Funnel pipe fitting
coreelements:  identity: Identity
coreelements:  input-selector: Input selector
coreelements:  output-selector: Output selector
coreelements:  queue: Queue
coreelements:  queue2: Queue 2
coreelements:  filesink: File Sink
coreelements:  tee: Tee pipe fitting
coreelements:  typefind: TypeFind
coreelements:  multiqueue: MultiQueue
coreelements:  valve: Valve element
pango:  textoverlay: Text overlay
pango:  timeoverlay: Time overlay
pango:  clockoverlay: Clock overlay
pango:  textrender: Text renderer
volume:  volume: Volume
typefindfunctions: video/x-ms-asf: asf, wm, wma, wmv
typefindfunctions: audio/x-musepack: mpc, mpp, mp+
typefindfunctions: audio/x-au: au, snd
typefindfunctions: video/x-msvideo: avi
typefindfunctions: audio/qcelp: qcp
typefindfunctions: video/x-cdxa: dat
typefindfunctions: video/x-vcd: dat
typefindfunctions: audio/x-imelody: imy, ime, imelody
typefindfunctions: audio/midi: mid, midi
typefindfunctions: audio/riff-midi: mid, midi
typefindfunctions: audio/mobile-xmf: mxmf
typefindfunctions: video/x-fli: flc, fli
typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-apetag: mp3, ape, mpc, wv
typefindfunctions: audio/x-ttafile: tta
typefindfunctions: audio/x-mod: 669, amf, ams, dbm, digi, dmf, dsm, gdm, far, imf, it, j2b, mdl, med, mod, mt2, mtm, okt, psm, ptm, sam, s3m, stm, stx, ult, xm
typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga
typefindfunctions: audio/x-ac3: ac3, eac3
typefindfunctions: audio/x-dts: dts
typefindfunctions: audio/x-gsm: gsm
typefindfunctions: video/mpeg-sys: mpe, mpeg, mpg
typefindfunctions: video/mpegts: ts, mts
typefindfunctions: application/ogg: ogg, oga, ogv, ogm, ogx, spx, anx, axa, axv
typefindfunctions: video/mpeg-elementary: mpv, mpeg, mpg
typefindfunctions: video/mpeg4: m4v
typefindfunctions: video/x-h263: h263, 263
typefindfunctions: video/x-h264: h264, x264, 264
typefindfunctions: video/x-h265: h265, x265, 265
typefindfunctions: video/x-nuv: nuv
typefindfunctions: audio/x-m4a: m4a
typefindfunctions: application/x-3gp: 3gp
typefindfunctions: video/quicktime: mov, mp4
typefindfunctions: image/x-quicktime: qif, qtif, qti
typefindfunctions: image/jp2: jp2
typefindfunctions: video/mj2: mj2
typefindfunctions: text/html: htm, html
typefindfunctions: application/vnd.rn-realmedia: ra, ram, rm, rmvb
typefindfunctions: application/x-pn-realaudio: ra, ram, rm, rmvb
typefindfunctions: application/x-shockwave-flash: swf, swfl
typefindfunctions: application/vnd.ms-sstr+xml: no extensions
typefindfunctions: video/x-flv: flv
typefindfunctions: text/plain: txt
typefindfunctions: text/utf-16: txt
typefindfunctions: text/utf-32: txt
typefindfunctions: text/uri-list: ram
typefindfunctions: application/x-hls: m3u8
typefindfunctions: application/sdp: sdp
typefindfunctions: application/smil: smil
typefindfunctions: application/xml: xml
typefindfunctions: audio/x-wav: wav
typefindfunctions: audio/x-aiff: aiff, aif, aifc
typefindfunctions: audio/x-svx: iff, svx
typefindfunctions: audio/x-paris: paf
typefindfunctions: audio/x-nist: nist
typefindfunctions: audio/x-voc: voc
typefindfunctions: audio/x-sds: sds
typefindfunctions: audio/x-ircam: sf
typefindfunctions: audio/x-w64: w64
typefindfunctions: audio/x-rf64: rf64
typefindfunctions: audio/x-shorten: shn
typefindfunctions: application/x-ape: ape
typefindfunctions: image/jpeg: jpg, jpe, jpeg
typefindfunctions: image/gif: gif
typefindfunctions: image/png: png
typefindfunctions: image/bmp: bmp
typefindfunctions: image/tiff: tif, tiff
typefindfunctions: image/webp: webp
typefindfunctions: image/x-exr: exr
typefindfunctions: image/x-portable-pixmap: pnm, ppm, pgm, pbm
typefindfunctions: video/x-matroska: mkv, mka, mk3d, webm
typefindfunctions: application/mxf: mxf
typefindfunctions: video/x-mve: mve
typefindfunctions: video/x-dv: dv, dif
typefindfunctions: audio/x-amr-nb-sh: amr
typefindfunctions: audio/x-amr-wb-sh: amr
typefindfunctions: audio/iLBC-sh: ilbc
typefindfunctions: audio/x-sbc: sbc
typefindfunctions: audio/x-sid: sid
typefindfunctions: image/x-xcf: xcf
typefindfunctions: video/x-mng: mng
typefindfunctions: image/x-jng: jng
typefindfunctions: image/x-xpixmap: xpm
typefindfunctions: image/x-sun-raster: ras
typefindfunctions: application/x-bzip: bz2
typefindfunctions: application/x-gzip: gz
typefindfunctions: application/zip: zip
typefindfunctions: application/x-compress: Z
typefindfunctions: subtitle/x-kate: no extensions
typefindfunctions: audio/x-flac: flac
typefindfunctions: audio/x-vorbis: no extensions
typefindfunctions: video/x-theora: no extensions
typefindfunctions: application/x-ogm-video: no extensions
typefindfunctions: application/x-ogm-audio: no extensions
typefindfunctions: application/x-ogm-text: no extensions
typefindfunctions: audio/x-speex: no extensions
typefindfunctions: audio/x-celt: no extensions
typefindfunctions: application/x-ogg-skeleton: no extensions
typefindfunctions: text/x-cmml: no extensions
typefindfunctions: application/x-executable: no extensions
typefindfunctions: audio/aac: aac, adts, adif, loas
typefindfunctions: audio/x-spc: spc
typefindfunctions: audio/x-wavpack: wv, wvp
typefindfunctions: audio/x-wavpack-correction: wvc
typefindfunctions: application/postscript: ps
typefindfunctions: image/svg+xml: svg
typefindfunctions: application/x-rar: rar
typefindfunctions: application/x-tar: tar
typefindfunctions: application/x-ar: a
typefindfunctions: application/x-ms-dos-executable: dll, exe, ocx, sys, scr, msstyles, cpl
typefindfunctions: video/x-dirac: no extensions
typefindfunctions: multipart/x-mixed-replace: no extensions
typefindfunctions: application/x-mmsh: no extensions
typefindfunctions: video/vivo: viv
typefindfunctions: audio/x-nsf: nsf
typefindfunctions: audio/x-gym: gym
typefindfunctions: audio/x-ay: ay
typefindfunctions: audio/x-gbs: gbs
typefindfunctions: audio/x-vgm: vgm
typefindfunctions: audio/x-sap: sap
typefindfunctions: video/x-ivf: ivf
typefindfunctions: audio/x-kss: kss
typefindfunctions: application/pdf: pdf
typefindfunctions: application/msword: doc
typefindfunctions: image/vnd.adobe.photoshop: psd
typefindfunctions: image/vnd.wap.wbmp: no extensions
typefindfunctions: application/x-yuv4mpeg: no extensions
typefindfunctions: image/x-icon: no extensions
typefindfunctions: image/x-degas: no extensions
typefindfunctions: application/octet-stream: no extensions
typefindfunctions: application/x-ssa: ssa, ass
typefindfunctions: video/x-pva: pva
typefindfunctions: audio/x-xi: xi
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

总数:173 个插件, 634 个特性

beijing:/usr/lib/gstreamer-1.0 #


查看某一个插件的信息

beijing:/usr/lib/gstreamer-1.0 # gst-inspect-1.0  v4l2src
Factory 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/lib64/gstreamer-1.0/libgstvideo4linux2.so   该插件库的位置
  Version                  1.4.3
  License                  LGPL
  Source module            gst-plugins-good
  Source release date      2014-09-24
  Binary package           GStreamer Good Plug-ins source release
  Origin URL               Unknown package origin

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseSrc
                         +----GstPushSrc
                               +----GstV4l2Src

实现的接口:
  GstURIHandler
  GstTuner
  GstColorBalance
  GstVideoOrientation

Pad 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
                  width: [ 1, 32768 ]
                 height: [ 1, 32768 ]
              framerate: [ 0/1, 100/1 ]
      video/x-dv
           systemstream: true
      video/x-h263
                variant: itu
      video/x-h264
          stream-format: byte-stream
              alignment: au
      video/x-pwc1
                  width: [ 1, 32768 ]
                 height: [ 1, 32768 ]
              framerate: [ 0/1, 100/1 ]
      video/x-pwc2
                  width: [ 1, 32768 ]
                 height: [ 1, 32768 ]
              framerate: [ 0/1, 100/1 ]
      video/x-raw
                 format: { RGB15, RGB16, BGR, RGB, BGRx, BGRA, xRGB, ARGB, GRAY8, YVU9, YV12, YUY2, UYVY, Y42B, Y41B, NV12_64Z32, YUV9, I420, YVYU, NV21, NV12 }
                  width: [ 1, 32768 ]
                 height: [ 1, 32768 ]
              framerate: [ 0/1, 100/1 ]
      video/x-sonix
                  width: [ 1, 32768 ]
                 height: [ 1, 32768 ]
              framerate: [ 0/1, 100/1 ]
      video/x-vp8


Element Flags:
  no flags set

Element Implementation:
  Has change_state() function: 0x7fd05e4ebb10

Element has no clocking capabilities.

URI handling capabilities:
  Element can act as source.
  Supported URI protocols:
    v4l2

Pads:
  SRC: 'src'
    Implementation:
      Has getrangefunc(): gst_base_src_getrange
      Has custom eventfunc(): gst_base_src_event
      Has custom queryfunc(): gst_base_src_query
      Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
    Pad Template: 'src'

Element Properties:
  name                : The name of the object
                        flags: 可读, 可写
                        String. Default: "v4l2src0"
  parent              : The parent of the object
                        flags: 可读, 可写
                        Object of type "GstObject"
  blocksize           : Size in bytes to read per buffer (-1 = default)
                        flags: 可读, 可写
                        Unsigned Integer. Range: 0 - 4294967295 Default: 4096
  num-buffers         : Number of buffers to output before sending EOS (-1 = unlimited)
                        flags: 可读, 可写      指定输出缓冲区有几个
                        Integer. Range: -1 - 2147483647 Default: -1

  typefind            : Run typefind before negotiating
                        flags: 可读, 可写
                        Boolean. Default: false
  do-timestamp        : Apply current stream time to buffers
                        flags: 可读, 可写
                        Boolean. Default: false
  device              : Device location
                        flags: 可读, 可写
                        String. Default: "/dev/video0"
  device-name         : Name of the device
                        flags: 可读
                        String. Default: "Lenovo EasyCamera"
  device-fd           : File descriptor of the device
                        flags: 可读
                        Integer. Range: -1 - 2147483647 Default: -1
  flags               : Device type flags
                        flags: 可读
                        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: 可读, 可写, 可控制
                        Integer. Range: -2147483648 - 2147483647 Default: 0
  contrast            : Picture contrast or luma gain
                        flags: 可读, 可写, 可控制
                        Integer. Range: -2147483648 - 2147483647 Default: 0
  saturation          : Picture color saturation or chroma gain
                        flags: 可读, 可写, 可控制
                        Integer. Range: -2147483648 - 2147483647 Default: 0
  hue                 : Hue or color balance
                        flags: 可读, 可写, 可控制
                        Integer. Range: -2147483648 - 2147483647 Default: 0
  norm                : video standard
                        flags: 可读, 可写
                        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: 可读, 可写
                        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: 可读, 可写
                        Boxed pointer of type "GstStructure"
  pixel-aspect-ratio  : Overwrite the pixel aspect ratio of the device
                        flags: 可读, 可写
                        String. Default: null
  force-aspect-ratio  : When enabled, the pixel aspect ratio will be enforced
                        flags: 可读, 可写
                        Boolean. Default: true

Element Signals:
  "prepare-format" :  void user_function (GstElement* object,
                                          gint arg0,
                                          GstCaps* arg1,
                                          gpointer user_data);
beijing:/usr/lib/gstreamer-1.0 #

这个插件jpegenc是将流编码成jpeg格式
beijing:/usr/lib/gstreamer-1.0 # gst-inspect-1.0 jpegenc
Factory Details:
  Rank                     primary (256)
  Long-name                JPEG image encoder
  Klass                    Codec/Encoder/Image
  Description              Encode images in JPEG format
  Author                   Wim Taymans

Plugin Details:
  Name                     jpeg
  Description              JPeg plugin library
  Filename                 /usr/lib64/gstreamer-1.0/libgstjpeg.so
  Version                  1.4.3
  License                  LGPL
  Source module            gst-plugins-good
  Source release date      2014-09-24
  Binary package           GStreamer Good Plug-ins source release
  Origin URL               Unknown package origin

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstVideoEncoder
                         +----GstJpegEnc

实现的接口:
  GstPreset

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      video/x-raw
                 format: { I420, YV12, YUY2, UYVY, Y41B, Y42B, YVYU, Y444, RGB, BGR, RGBx, xRGB, BGRx, xBGR, GRAY8 }
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]

  SRC template: 'src'
    Availability: Always
    Capabilities:
      image/jpeg
                  width: [ 16, 65535 ]
                 height: [ 16, 65535 ]
              framerate: [ 0/1, 2147483647/1 ]
             sof-marker: { 0, 1, 2, 9 }


Element Flags:
  no flags set

Element Implementation:
  Has change_state() function: gst_video_encoder_change_state

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
  SINK: 'sink'
    Implementation:
      Has chainfunc(): gst_video_encoder_chain
      Has custom eventfunc(): gst_video_encoder_sink_event
      Has custom queryfunc(): gst_video_encoder_sink_query
      Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
    Pad Template: 'sink'
  SRC: 'src'
    Implementation:
      Has custom eventfunc(): gst_video_encoder_src_event
      Has custom queryfunc(): gst_video_encoder_src_query
      Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
    Pad Template: 'src'

Element Properties:
  name                : The name of the object
                        flags: 可读, 可写
                        String. Default: "jpegenc0"
  parent              : The parent of the object
                        flags: 可读, 可写
                        Object of type "GstObject"
  quality             : Quality of encoding
                        flags: 可读, 可写
                        Integer. Range: 0 - 100 Default: 85
  idct-method         : The IDCT algorithm to use
                        flags: 可读, 可写
                        Enum "GstIDCTMethod" Default: 1, "ifast"
                           (0): islow            - Slow but accurate integer algorithm
                           (1): ifast            - Faster, less accurate integer method
                           (2): float            - Floating-point: accurate, fast on fast HW


 这个插件filesink的功能是将流写入文件
beijing:/usr/lib/gstreamer-1.0 # gst-inspect-1.0 filesink
Factory Details:
  Rank                     primary (256)
  Long-name                File Sink
  Klass                    Sink/File
  Description              Write stream to a file
  Author                   Thomas Vander Stichele

Plugin Details:
  Name                     coreelements
  Description              GStreamer core elements
  Filename                 /usr/lib64/gstreamer-1.0/libgstcoreelements.so
  Version                  1.4.3
  License                  LGPL
  Source module            gstreamer
  Source release date      2014-09-24
  Binary package           GStreamer source release
  Origin URL               Unknown package origin

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseSink
                         +----GstFileSink

实现的接口:
  GstURIHandler

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      ANY


Element Flags:
  no flags set

Element Implementation:
  Has change_state() function: gst_base_sink_change_state

Element has no clocking capabilities.

URI handling capabilities:
  Element can act as sink.
  Supported URI protocols:
    file

Pads:
  SINK: 'sink'
    Implementation:
      Has chainfunc(): gst_base_sink_chain
      Has custom eventfunc(): gst_base_sink_event
      Has custom queryfunc(): gst_base_sink_sink_query
      Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
    Pad Template: 'sink'

Element Properties:
  name                : The name of the object
                        flags: 可读, 可写
                        String. Default: "filesink0"
  parent              : The parent of the object
                        flags: 可读, 可写
                        Object of type "GstObject"
  sync                : Sync on the clock
                        flags: 可读, 可写
                        Boolean. Default: false
  max-lateness        : Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)
                        flags: 可读, 可写
                        Integer64. Range: -1 - 9223372036854775807 Default: -1
  qos                 : Generate Quality-of-Service events upstream
                        flags: 可读, 可写
                        Boolean. Default: false
  async               : Go asynchronously to PAUSED
                        flags: 可读, 可写
                        Boolean. Default: true
  ts-offset           : Timestamp offset in nanoseconds
                        flags: 可读, 可写
                        Integer64. Range: -9223372036854775808 - 9223372036854775807 Default: 0
  enable-last-sample  : Enable the last-sample property
                        flags: 可读, 可写
                        Boolean. Default: true
  last-sample         : The last sample received in the sink
                        flags: 可读
                        Boxed pointer of type "GstSample"
  blocksize           : Size in bytes to pull per buffer (0 = default)
                        flags: 可读, 可写
                        Unsigned Integer. Range: 0 - 4294967295 Default: 4096
  render-delay        : Additional render delay of the sink in nanoseconds
                        flags: 可读, 可写
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0
  throttle-time       : The time to keep between rendered buffers (0 = disabled)
                        flags: 可读, 可写
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0
  max-bitrate         : The maximum bits per second to render (0 = disabled)
                        flags: 可读, 可写
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0
  location            : Location of the file to write  指定要写入的文件
                        flags: 可读, 可写
                        String. Default: null

  buffer-mode         : The buffering mode to use
                        flags: 可读, 可写
                        Enum "GstFileSinkBufferMode" Default: -1, "default"
                           (-1): default          - Default buffering
                           (0): full             - Fully buffered
                           (1): line             - Line buffered
                           (2): unbuffered       - Unbuffered
  buffer-size         : Size of buffer in number of bytes for line or full buffer-mode
                        flags: 可读, 可写
                        Unsigned Integer. Range: 0 - 4294967295 Default: 65536
  append              : Append to an already existing file
                        flags: 可读, 可写
                        Boolean. Default: false
beijing:/usr/lib/gstreamer-1.0 #

使用v4l2src采集图像,使用jpegenc编码,使用filesink写入文件 。

beijing:/home/shell.albert # gst-launch-1.0  v4l2src ! jpegenc ! filesink location=./zsy.jpg
设置暂停管道 ...
管道正在使用且不需要 PREROLL ...
设置播放管道 ...
New clock: GstSystemClock
^Chandling interrupt.
中断: 中止管道 ...
Execution ended after 0:00:07.098121000
设置暂停管道 ...
设置备用管道 ...
设置 NULL 管道 ...
释放管道资源 ...
beijing:/home/shell.albert #
不知道怎么停止? 只能按Ctrl+C了。图像是采集到了。查看正常。


找到了,通过查看v4l2src插件的信息,发现一个有用的参数:

  num-buffers         : Number of buffers to output before sending EOS (-1 = unlimited)
                        flags: 可读, 可写
                        Integer. Range: -1 - 2147483647 Default: -1
所以我把刚才的命令改一下,让v4l2src只有一个缓冲区可用,这样是不是就只输出一帧图像了呢?

beijing:/home/shell.albert # gst-launch-1.0  v4l2src num-buffers=1 ! jpegenc ! filesink location=./zsy.jpg
设置暂停管道 ...
管道正在使用且不需要 PREROLL ...
设置播放管道 ...
New clock: GstSystemClock
收到来自组件“pipeline0”的 EOS 信号。
Execution ended after 0:00:00.862794904
设置暂停管道 ...
设置备用管道 ...
设置 NULL 管道 ...
释放管道资源 ...
beijing:/home/shell.albert # 

的确是这样,今天研究到这里,回家给豆豆做饭去了。

你可能感兴趣的:(软件技术)