wrappercamerabinsrc
A camera bin src element that wraps a default video source with a single pad into the 3pad model that camerabin2 expects.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBin ╰──GstBaseCameraSrc ╰──wrappercamerabinsrc
Factory details
Authors: – Thiago Santos
Classification: – Source/Video
Rank – none
Plugin – gstcamerabin
Package – GStreamer Bad Plug-ins
Pad Templates
Signals
start-capture
start_capture_callback (GstElement * param_0, gpointer udata)
def start_capture_callback (param_0, udata):
#python callback for the 'start-capture' signal
function start_capture_callback(param_0: GstElement * param_0, udata: gpointer udata): {
// javascript callback for the 'start-capture' signal
}
Parameters:
param_0
–
udata
–
stop-capture
stop_capture_callback (GstElement * param_0, gpointer udata)
def stop_capture_callback (param_0, udata):
#python callback for the 'stop-capture' signal
function stop_capture_callback(param_0: GstElement * param_0, udata: gpointer udata): {
// javascript callback for the 'stop-capture' signal
}
Parameters:
param_0
–
udata
–
Properties
async-handling
“async-handling” gboolean
The bin will handle Asynchronous state changes
Flags : Read / Write
Default value : false
auto-start
“auto-start” gboolean
Automatically starts capture when going to the PAUSED state
Flags : Read / Write
Default value : false
max-zoom
“max-zoom” gfloat
Digital zoom factor (e.g. 1.5 means 1.5x)
Flags : Read
Default value : 10
message-forward
“message-forward” gboolean
Forwards all children messages
Flags : Read / Write
Default value : false
mode
“mode” GstCameraBin2Mode *
The capture mode (still image capture or video recording)
Flags : Read / Write
Default value : mode-image (1)
post-previews
“post-previews” gboolean
If capture preview images should be posted to the bus
Flags : Read / Write
Default value : true
preview-caps
“preview-caps” GstCaps *
The caps of the preview image to be posted (NULL means ANY)
Flags : Read / Write
Default value :
ANY
preview-filter
“preview-filter” GstElement *
A custom preview filter to process preview image data
Flags : Read / Write
ready-for-capture
“ready-for-capture” gboolean
Informs this element is ready for starting another capture
Flags : Read
Default value : true
video-source-filter
“video-source-filter” GstElement *
Optional video source filter element
Flags : Read / Write
Named constants
GstCameraBin2Mode
Members
mode-image
(1) – Still image capture (default)
mode-video
(2) – Video recording
The results of the search are