| GStreamer Good Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Properties | ||||
"device" gchar* : Read / Write "device-fd" gint : Read "device-name" gchar* : Read "flags" GstV4l2DeviceTypeFlags : Read "overlay-height" guint : Read / Write "overlay-left" gint : Read / Write "overlay-top" gint : Read / Write "overlay-width" guint : Read / Write "queue-size" guint : Read / Write "brightness" gint : Read / Write "contrast" gint : Read / Write "hue" gint : Read / Write "saturation" gint : Read / Write "crop-height" guint : Read / Write "crop-left" gint : Read / Write "crop-top" gint : Read / Write "crop-width" guint : Read / Write "min-queued-bufs" guint : Read / Write
v4l2sink can be used to display video to v4l2 devices (screen overlays provided by the graphics hardware, tv-out, etc)
1 |
gst-launch videotestsrc ! v4l2sink device=/dev/video1 |
1 |
gst-launch -v videotestsrc ! navigationtest ! v4l2sink |
"device-fd" property"device-fd" gint : Read
File descriptor of the device.
Allowed values: >= G_MAXULONG
Default value: -1
"overlay-height" property"overlay-height" guint : Read / Write
The height of the video overlay; default is equal to negotiated image height.
Default value: 0
"overlay-left" property"overlay-left" gint : Read / Write
The leftmost (x) coordinate of the video overlay; top left corner of screen is 0,0.
Default value: 0
"overlay-top" property"overlay-top" gint : Read / Write
The topmost (y) coordinate of the video overlay; top left corner of screen is 0,0.
Default value: 0
"overlay-width" property"overlay-width" guint : Read / Write
The width of the video overlay; default is equal to negotiated image width.
Default value: 0
"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: 12
"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
"saturation" property"saturation" gint : Read / Write
Picture color saturation or chroma gain.
Default value: 0
"crop-height" property"crop-height" guint : Read / Write
The height of the video crop; default is equal to negotiated image height.
Default value: 0
"crop-left" property"crop-left" gint : Read / Write
The leftmost (x) coordinate of the video crop; top left corner of image is 0,0.
Default value: 0
"crop-top" property"crop-top" gint : Read / Write
The topmost (y) coordinate of the video crop; top left corner of image is 0,0.
Default value: 0
"crop-width" property"crop-width" guint : Read / Write
The width of the video crop; default is equal to negotiated image width.
Default value: 0
"min-queued-bufs" property"min-queued-bufs" guint : Read / Write
Minimum number of queued bufs; v4l2sink won't dqbuf if the driver doesn't have more than this number (which normally you shouldn't change).
Allowed values: <= 16
Default value: 1