![]() |
![]() |
![]() |
GStreamer Good Plugins 1.0 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
GObject +----GInitiallyUnowned +----GstObject +----GstElement +----GstBaseSrc +----GstPushSrc +----GstV4l2Src
GstV4l2Src implements GstURIHandler, GstTuner, GstColorBalance and GstVideoOrientation.
"device" gchar* : Read / Write "device-name" gchar* : Read "flags" GstV4l2DeviceTypeFlags : Read "queue-size" guint : Read / Write "always-copy" gboolean : Read / Write "device-fd" gint : Read "brightness" gint : Read / Write "contrast" gint : Read / Write "decimate" gint : Read / Write "hue" gint : Read / Write "saturation" gint : Read / Write "norm" V4L2_TV_norms : Read / Write "io-mode" GstV4l2IOMode : Read / Write "extra-controls" GstStructure* : Read / Write "force-aspect-ratio" gboolean : Read / Write "pixel-aspect-ratio" gchar* : Read / Write
plugin |
video4linux2 |
author |
Edgard Lima <edgard.lima@indt.org.br>, Stefan Kost <ensonic@users.sf.net> |
class |
Source/Video |
name |
src |
direction |
source |
presence |
always |
details |
image/jpeg |
video/mpeg, mpegversion=(int)4, systemstream=(boolean)false | |
video/mpeg, mpegversion=(int)2 | |
video/mpegts, systemstream=(boolean)true | |
video/x-bayer, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 100/1 ] | |
video/x-dv, systemstream=(boolean)true | |
video/x-h263, variant=(string)itu | |
video/x-h264, stream-format=(string)byte-stream, alignment=(string)au | |
video/x-pwc1, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 100/1 ] | |
video/x-pwc2, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 100/1 ] | |
video/x-raw, format=(string){ RGB15, RGB16, BGR, RGB, BGRx, BGRA, xRGB, ARGB, GRAY8, YVU9, YV12, YUY2, UYVY, Y42B, Y41B, NV12_64Z32, YUV9, I420, YVYU, NV21, NV12 }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 100/1 ] | |
video/x-sonix, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 100/1 ] | |
video/x-vp8 |
"queue-size"
property"queue-size" guint : Read / Write
Number of buffers to be enqueud in the driver in streaming mode.
Allowed values: [1,16]
Default value: 2
"always-copy"
property"always-copy" gboolean : Read / Write
If the buffer will or not be used directly from mmap.
Default value: TRUE
"device-fd"
property"device-fd" gint : Read
File descriptor of the device.
Allowed values: >= G_MAXULONG
Default value: -1
"brightness"
property"brightness" gint : Read / Write
Picture brightness, or more precisely, the black level.
Default value: 0
"contrast"
property"contrast" gint : Read / Write
Picture contrast or luma gain.
Default value: 0
"decimate"
property"decimate" gint : Read / Write
Only use every nth frame.
Allowed values: >= 1
Default value: 1
"saturation"
property"saturation" gint : Read / Write
Picture color saturation or chroma gain.
Default value: 0
"io-mode"
property "io-mode" GstV4l2IOMode : Read / Write
I/O mode.
Default value: GST_V4L2_IO_AUTO
"extra-controls"
property "extra-controls" GstStructure* : Read / Write
Extra v4l2 controls (CIDs) for the device.
"force-aspect-ratio"
property"force-aspect-ratio" gboolean : Read / Write
When enabled, the pixel aspect ratio will be enforced.
Default value: TRUE
"pixel-aspect-ratio"
property"pixel-aspect-ratio" gchar* : Read / Write
Overwrite the pixel aspect ratio of the device.
Default value: "1/1"
"prepare-format"
signalvoid user_function (GstV4l2Src *gstv4l2src,
gint arg1,
GstCaps *arg2,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |