mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Add documentation for aspectratiocrop
This commit is contained in:
parent
0d34f33ac4
commit
56b3efb077
9 changed files with 181 additions and 117 deletions
|
@ -155,6 +155,7 @@ EXTRA_HFILES = \
|
|||
$(top_srcdir)/gst/udp/gstmultiudpsink.h \
|
||||
$(top_srcdir)/gst/udp/gstudpsrc.h \
|
||||
$(top_srcdir)/gst/videocrop/gstvideocrop.h \
|
||||
$(top_srcdir)/gst/videocrop/gstaspectratiocrop.h \
|
||||
$(top_srcdir)/gst/videofilter/gstgamma.h \
|
||||
$(top_srcdir)/gst/videofilter/gstvideobalance.h \
|
||||
$(top_srcdir)/gst/videofilter/gstvideoflip.h \
|
||||
|
|
|
@ -16,13 +16,14 @@
|
|||
<xi:include href="xml/element-alphacolor.xml" />
|
||||
<xi:include href="xml/element-apedemux.xml" />
|
||||
<xi:include href="xml/element-apev2mux.xml" />
|
||||
<xi:include href="xml/element-aspectratiocrop.xml" />
|
||||
<xi:include href="xml/element-audioamplify.xml" />
|
||||
<xi:include href="xml/element-audiochebband.xml" />
|
||||
<xi:include href="xml/element-audiocheblimit.xml" />
|
||||
<xi:include href="xml/element-audiofirfilter.xml" />
|
||||
<xi:include href="xml/element-audioiirfilter.xml" />
|
||||
<xi:include href="xml/element-audiowsincband.xml" />
|
||||
<xi:include href="xml/element-audiowsinclimit.xml" />
|
||||
<xi:include href="xml/element-audiofirfilter.xml" />
|
||||
<xi:include href="xml/element-audioecho.xml" />
|
||||
<xi:include href="xml/element-audiodynamic.xml" />
|
||||
<xi:include href="xml/element-audioinvert.xml" />
|
||||
|
|
|
@ -1348,6 +1348,21 @@ GST_VIDEO_CROP_CLASS
|
|||
GST_TYPE_VIDEO_CROP
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-aspectratiocrop</FILE>
|
||||
<TITLE>aspectratiocrop</TITLE>
|
||||
GstAspectRatioCrop
|
||||
<SUBSECTION Standard>
|
||||
GstAspectRatioCropClass
|
||||
AspectRatioCropPixelFormat
|
||||
GstAspectRatioCropImageDetails
|
||||
GST_IS_ASPECT_RATIO_CROP
|
||||
GST_IS_ASPECT_RATIO_CROP_CLASS
|
||||
GST_ASPECT_RATIO_CROP
|
||||
GST_ASPECT_RATIO_CROP_CLASS
|
||||
GST_TYPE_ASPECT_RATIO_CROP
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-videoflip</FILE>
|
||||
<TITLE>videoflip</TITLE>
|
||||
|
|
|
@ -19798,3 +19798,13 @@
|
|||
<DEFAULT>0</DEFAULT>
|
||||
</ARG>
|
||||
|
||||
<ARG>
|
||||
<NAME>GstAspectRatioCrop::aspect-ratio</NAME>
|
||||
<TYPE>GstFraction</TYPE>
|
||||
<RANGE></RANGE>
|
||||
<FLAGS>rw</FLAGS>
|
||||
<NICK>aspect-ratio</NICK>
|
||||
<BLURB>Target aspect-ratio of video.</BLURB>
|
||||
<DEFAULT></DEFAULT>
|
||||
</ARG>
|
||||
|
||||
|
|
|
@ -11,32 +11,79 @@ GObject
|
|||
GstElement
|
||||
GstBin
|
||||
GstPipeline
|
||||
GstHalAudioSink
|
||||
GstHalAudioSrc
|
||||
GstGConfVideoSink
|
||||
GstGConfVideoSrc
|
||||
GstSwitchSink
|
||||
GstGConfAudioSink
|
||||
GstGConfAudioSrc
|
||||
GstRTSPSrc
|
||||
GstHalAudioSink
|
||||
GstHalAudioSrc
|
||||
GstAspectRatioCrop
|
||||
GstRgVolume
|
||||
GstAutoVideoSink
|
||||
GstAutoVideoSrc
|
||||
GstAutoAudioSink
|
||||
GstAutoAudioSrc
|
||||
GstRgVolume
|
||||
GstCairoTextOverlay
|
||||
GstRTSPSrc
|
||||
GstTagLibMux
|
||||
GstId3v2Mux
|
||||
GstApev2Mux
|
||||
GstPngDec
|
||||
GstPngEnc
|
||||
GstBaseSrc
|
||||
GstPushSrc
|
||||
GstSoupHTTPSrc
|
||||
GstBaseAudioSrc
|
||||
GstAudioSrc
|
||||
GstPulseSrc
|
||||
GstOssSrc
|
||||
GstDV1394Src
|
||||
GstHDV1394Src
|
||||
GstV4l2Src
|
||||
GstXImageSrc
|
||||
GstMultiFileSrc
|
||||
GstUDPSrc
|
||||
GstBaseSink
|
||||
GstBaseAudioSink
|
||||
GstAudioSink
|
||||
GstEsdSink
|
||||
GstPulseSink
|
||||
GstOssSink
|
||||
GstAASink
|
||||
GstVideoSink
|
||||
GstGdkPixbufSink
|
||||
GstCACASink
|
||||
GstShout2send
|
||||
GstTest
|
||||
GstMultiFileSink
|
||||
GstMultiUDPSink
|
||||
GstUDPSink
|
||||
GstDynUDPSink
|
||||
GstPulseMixer
|
||||
GstJpegEnc
|
||||
GstJpegDec
|
||||
GstSmokeEnc
|
||||
GstSmokeDec
|
||||
GstWavpackParse
|
||||
GstWavpackDec
|
||||
GstWavpackEnc
|
||||
GstFlacEnc
|
||||
GstFlacDec
|
||||
GstFlacTag
|
||||
GstDVDemux
|
||||
GstDVDec
|
||||
GstSpeexEnc
|
||||
GstSpeexDec
|
||||
GstGdkPixbuf
|
||||
GstBaseTransform
|
||||
GstCairoTimeOverlay
|
||||
GstPixbufScale
|
||||
GstCairoTimeOverlay
|
||||
GstVideoBox
|
||||
GstAlpha
|
||||
GstAlphaColor
|
||||
GstVideoFilter
|
||||
GstNavigationtest
|
||||
GstVideoBalance
|
||||
GstVideoFlip
|
||||
GstVideoBalance
|
||||
GstGamma
|
||||
GstSMPTEAlpha
|
||||
GstNavigationtest
|
||||
GstEdgeTV
|
||||
GstAgingTV
|
||||
GstDiceTV
|
||||
|
@ -45,13 +92,10 @@ GObject
|
|||
GstVertigoTV
|
||||
GstRevTV
|
||||
GstQuarkTV
|
||||
GstBreakMyData
|
||||
GstNavSeek
|
||||
GstProgressReport
|
||||
GstTagInject
|
||||
GstLevel
|
||||
GstSMPTEAlpha
|
||||
GstVideoCrop
|
||||
GstAudioPanorama
|
||||
GstAudioFilter
|
||||
GstSpectrum
|
||||
GstAudioInvert
|
||||
GstAudioKaraoke
|
||||
GstAudioAmplify
|
||||
|
@ -69,88 +113,38 @@ GObject
|
|||
GstIirEqualizerNBands
|
||||
GstIirEqualizer3Bands
|
||||
GstIirEqualizer10Bands
|
||||
GstAudioPanorama
|
||||
GstSpectrum
|
||||
GstRgAnalysis
|
||||
GstRgLimiter
|
||||
GstVideoCrop
|
||||
GstBaseSrc
|
||||
GstPushSrc
|
||||
GstSoupHTTPSrc
|
||||
GstBaseAudioSrc
|
||||
GstAudioSrc
|
||||
GstPulseSrc
|
||||
GstOssSrc
|
||||
GstDV1394Src
|
||||
GstHDV1394Src
|
||||
GstXImageSrc
|
||||
GstV4l2Src
|
||||
GstUDPSrc
|
||||
GstMultiFileSrc
|
||||
GstBaseSink
|
||||
GstCACASink
|
||||
GstBaseAudioSink
|
||||
GstAudioSink
|
||||
GstPulseSink
|
||||
GstEsdSink
|
||||
GstOssSink
|
||||
GstAASink
|
||||
GstVideoSink
|
||||
GstGdkPixbufSink
|
||||
GstShout2send
|
||||
GstTest
|
||||
GstMultiUDPSink
|
||||
GstUDPSink
|
||||
GstDynUDPSink
|
||||
GstMultiFileSink
|
||||
GstPulseMixer
|
||||
GstTagLibMux
|
||||
GstId3v2Mux
|
||||
GstApev2Mux
|
||||
GstJpegEnc
|
||||
GstJpegDec
|
||||
GstSmokeEnc
|
||||
GstSmokeDec
|
||||
GstDVDemux
|
||||
GstDVDec
|
||||
GstBreakMyData
|
||||
GstNavSeek
|
||||
GstProgressReport
|
||||
GstTagInject
|
||||
GstAlphaColor
|
||||
GstAlpha
|
||||
GstLevel
|
||||
GstCmmlEnc
|
||||
GstCmmlDec
|
||||
GstFlacEnc
|
||||
GstFlacDec
|
||||
GstFlacTag
|
||||
GstPngDec
|
||||
GstPngEnc
|
||||
GstGdkPixbuf
|
||||
GstWavpackParse
|
||||
GstWavpackDec
|
||||
GstWavpackEnc
|
||||
GstSpeexEnc
|
||||
GstSpeexDec
|
||||
GstCairoTextOverlay
|
||||
GstOssMixerElement
|
||||
GstRTPDec
|
||||
GstICYDemux
|
||||
GstWavParse
|
||||
GstEbmlRead
|
||||
GstMatroskaDemux
|
||||
GstMatroskaMux
|
||||
GstFlxDec
|
||||
GstVideoMixer
|
||||
GstTagDemux
|
||||
GstApeDemux
|
||||
GstID3Demux
|
||||
GstRndBufferSize
|
||||
GstEFence
|
||||
GstGoom
|
||||
GstGoom2k1
|
||||
GstMultipartDemux
|
||||
GstMultipartMux
|
||||
GstMuLawEnc
|
||||
GstMuLawDec
|
||||
GstFlxDec
|
||||
GstAuParse
|
||||
GstALawEnc
|
||||
GstALawDec
|
||||
GstCutter
|
||||
GstQTDemux
|
||||
GstMuLawEnc
|
||||
GstMuLawDec
|
||||
GstVideoMixer
|
||||
GstRndBufferSize
|
||||
GstEFence
|
||||
GstTagDemux
|
||||
GstID3Demux
|
||||
GstApeDemux
|
||||
GstGoom2k1
|
||||
GstWavEnc
|
||||
GstRTPDepay
|
||||
GstBaseRTPDepayload
|
||||
GstRtpXQTDepay
|
||||
GstRtpAC3Depay
|
||||
GstRTPDVDepay
|
||||
GstRTPiLBCDepay
|
||||
|
@ -177,16 +171,7 @@ GObject
|
|||
GstRtpTheoraDepay
|
||||
GstRtpVorbisDepay
|
||||
GstRtpVRawDepay
|
||||
GstAviDemux
|
||||
GstAviMux
|
||||
GstAviSubtitle
|
||||
GstSMPTE
|
||||
GstInterleave
|
||||
GstDeinterleave
|
||||
GstMonoscope
|
||||
GstWavEnc
|
||||
GstAuParse
|
||||
GstRTPDepay
|
||||
GstRtpXQTDepay
|
||||
GstBaseRTPPayload
|
||||
GstRTPDVPay
|
||||
GstBaseRTPAudioPayload
|
||||
|
@ -213,6 +198,21 @@ GObject
|
|||
GstRtpVorbisPay
|
||||
GstRtpVRawPay
|
||||
GstAsteriskh263
|
||||
GstEbmlRead
|
||||
GstMatroskaDemux
|
||||
GstMatroskaMux
|
||||
GstCutter
|
||||
GstICYDemux
|
||||
GstAviDemux
|
||||
GstAviMux
|
||||
GstAviSubtitle
|
||||
GstRTPDec
|
||||
GstWavParse
|
||||
GstQTDemux
|
||||
GstSMPTE
|
||||
GstInterleave
|
||||
GstDeinterleave
|
||||
GstGoom
|
||||
GstBus
|
||||
GstTask
|
||||
GstClock
|
||||
|
@ -224,10 +224,10 @@ GObject
|
|||
GstSignalObject
|
||||
GstMixerTrack
|
||||
GstMixerOptions
|
||||
GdkPixbuf
|
||||
GstCmmlTagStream
|
||||
GstCmmlTagHead
|
||||
GstCmmlTagClip
|
||||
GdkPixbuf
|
||||
GstTunerNorm
|
||||
GstTunerChannel
|
||||
GstColorBalanceChannel
|
||||
|
@ -235,10 +235,10 @@ GInterface
|
|||
GTypePlugin
|
||||
GstChildProxy
|
||||
GstURIHandler
|
||||
GstTagSetter
|
||||
GstImplementsInterface
|
||||
GstPropertyProbe
|
||||
GstMixer
|
||||
GstTagSetter
|
||||
GstTuner
|
||||
GstColorBalance
|
||||
GstVideoOrientation
|
||||
|
|
|
@ -1,23 +1,22 @@
|
|||
GstBin GstChildProxy
|
||||
GstPipeline GstChildProxy
|
||||
GstHalAudioSink GstChildProxy
|
||||
GstHalAudioSrc GstChildProxy
|
||||
GstGConfVideoSink GstChildProxy
|
||||
GstGConfVideoSrc GstChildProxy
|
||||
GstSwitchSink GstChildProxy
|
||||
GstGConfAudioSink GstChildProxy
|
||||
GstGConfAudioSrc GstChildProxy
|
||||
GstRTSPSrc GstChildProxy GstURIHandler
|
||||
GstHalAudioSink GstChildProxy
|
||||
GstHalAudioSrc GstChildProxy
|
||||
GstAspectRatioCrop GstChildProxy
|
||||
GstRgVolume GstChildProxy
|
||||
GstAutoVideoSink GstChildProxy
|
||||
GstAutoVideoSrc GstChildProxy
|
||||
GstAutoAudioSink GstChildProxy
|
||||
GstAutoAudioSrc GstChildProxy
|
||||
GstRgVolume GstChildProxy
|
||||
GstVideoBalance GstImplementsInterface GstColorBalance
|
||||
GstIirEqualizer GstChildProxy
|
||||
GstIirEqualizerNBands GstChildProxy
|
||||
GstIirEqualizer3Bands GstChildProxy GstPreset
|
||||
GstIirEqualizer10Bands GstChildProxy GstPreset
|
||||
GstRTSPSrc GstChildProxy GstURIHandler
|
||||
GstTagLibMux GstTagSetter
|
||||
GstId3v2Mux GstTagSetter
|
||||
GstApev2Mux GstTagSetter
|
||||
GstSoupHTTPSrc GstURIHandler
|
||||
GstPulseSrc GstImplementsInterface GstPropertyProbe GstMixer
|
||||
GstOssSrc GstImplementsInterface GstMixer
|
||||
|
@ -29,13 +28,15 @@ GstPulseSink GstImplementsInterface GstPropertyProbe
|
|||
GstShout2send GstTagSetter
|
||||
GstUDPSink GstURIHandler
|
||||
GstPulseMixer GstImplementsInterface GstPropertyProbe GstMixer
|
||||
GstTagLibMux GstTagSetter
|
||||
GstId3v2Mux GstTagSetter
|
||||
GstApev2Mux GstTagSetter
|
||||
GstFlacEnc GstTagSetter
|
||||
GstFlacTag GstTagSetter
|
||||
GstSpeexEnc GstTagSetter
|
||||
GstVideoBalance GstImplementsInterface GstColorBalance
|
||||
GstIirEqualizer GstChildProxy
|
||||
GstIirEqualizerNBands GstChildProxy
|
||||
GstIirEqualizer3Bands GstChildProxy GstPreset
|
||||
GstIirEqualizer10Bands GstChildProxy GstPreset
|
||||
GstOssMixerElement GstImplementsInterface GstMixer
|
||||
GstMatroskaMux GstTagSetter
|
||||
GstVideoMixer GstChildProxy
|
||||
GstMatroskaMux GstTagSetter
|
||||
GstAviMux GstTagSetter
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
GstChildProxy GstObject
|
||||
GstTagSetter GstObject GstElement
|
||||
GstImplementsInterface GstObject GstElement
|
||||
GstMixer GstObject GstImplementsInterface GstElement
|
||||
GstTagSetter GstObject GstElement
|
||||
GstTuner GstObject GstImplementsInterface GstElement
|
||||
GstColorBalance GstObject GstImplementsInterface GstElement
|
||||
GstVideoOrientation GstObject GstImplementsInterface GstElement
|
||||
|
|
|
@ -3,12 +3,33 @@
|
|||
<description>Crops video into a user-defined region</description>
|
||||
<filename>../../gst/videocrop/.libs/libgstvideocrop.so</filename>
|
||||
<basename>libgstvideocrop.so</basename>
|
||||
<version>0.10.11.1</version>
|
||||
<version>0.10.13.1</version>
|
||||
<license>LGPL</license>
|
||||
<source>gst-plugins-good</source>
|
||||
<package>GStreamer Good Plug-ins CVS/prerelease</package>
|
||||
<origin>Unknown package origin</origin>
|
||||
<elements>
|
||||
<element>
|
||||
<name>aspectratiocrop</name>
|
||||
<longname>aspectratiocrop</longname>
|
||||
<class>Filter/Effect/Video</class>
|
||||
<description>Crops video into a user-defined aspect-ratio</description>
|
||||
<author>Thijs Vermeir <thijsvermeir@gmail.com></author>
|
||||
<pads>
|
||||
<caps>
|
||||
<name>src</name>
|
||||
<direction>source</direction>
|
||||
<presence>always</presence>
|
||||
<details>video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YVYU, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)UYVY, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)Y800, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)16, endianness=(int)1234, red_mask=(int)63488, green_mask=(int)2016, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)15, endianness=(int)1234, red_mask=(int)31744, green_mask=(int)992, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
|
||||
</caps>
|
||||
<caps>
|
||||
<name>sink</name>
|
||||
<direction>sink</direction>
|
||||
<presence>always</presence>
|
||||
<details>video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)-16777216, green_mask=(int)16711680, blue_mask=(int)65280, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, alpha_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)32, depth=(int)32, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, alpha_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YVYU, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)UYVY, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)Y800, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)16, endianness=(int)1234, red_mask=(int)63488, green_mask=(int)2016, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-rgb, bpp=(int)16, depth=(int)15, endianness=(int)1234, red_mask=(int)31744, green_mask=(int)992, blue_mask=(int)31, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
|
||||
</caps>
|
||||
</pads>
|
||||
</element>
|
||||
<element>
|
||||
<name>videocrop</name>
|
||||
<longname>Crop</longname>
|
||||
|
|
|
@ -17,6 +17,21 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/**
|
||||
* SECTION:element-aspectratiocrop
|
||||
* @see_also: #GstVideoCrop
|
||||
*
|
||||
* This element crops video frames to a specified aspect-ratio.
|
||||
*
|
||||
* If the aspect-ratio is already correct, the element will operate in pass-through mode.
|
||||
*
|
||||
* <refsect2>
|
||||
* <title>Example launch line</title>
|
||||
* |[gst-launch -v videotestsrc ! video/x-raw-rgb,height=640,width=480 ! aspectratiocrop aspect-ratio=16/9 ! ximagesink]|
|
||||
* This pipeline generates a videostream in 4/3 and crops it to 16/9.
|
||||
* </refsect2>
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue