Hierarchy
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.Element ╰──GstBase.BaseSrc ╰──GstBase.PushSrc ╰──avfvideosrc
Factory details
Authors: – Ole André Vadla Ravnås
Classification: – Source/Video/Hardware
Rank – secondary
Plugin – applemedia
Package – GStreamer Bad Plug-ins
Pad Templates
src
video/x-raw(memory:GLMemory):
format: UYVY
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
texture-target: rectangle
video/x-raw:
format: { NV12, UYVY, YUY2 }
framerate: [ 0/1, 2147483647/1 ]
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
video/x-raw:
format: BGRA
framerate: [ 0/1, 2147483647/1 ]
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
Properties
capture-screen
“capture-screen” bool
Enable screen capture functionality
Flags : Read / Write
Default value : false
capture-screen-cursor
“capture-screen-cursor” bool
Enable cursor capture while capturing screen
Flags : Read / Write
Default value : false
capture-screen-mouse-clicks
“capture-screen-mouse-clicks” bool
Enable mouse clicks capture while capturing screen
Flags : Read / Write
Default value : false
device-name
“device-name” str
The name of the currently opened capture device
Flags : Read
Default value : NULL
device-type
“device-type” Avfvideo-source-device-type
The general type of a video capture device
Flags : Read / Write
Default value : default (0)
orientation
“orientation” Avfvideo-source-orientation
The orientation of the video
Flags : Read / Write
Default value : default (0)
position
“position” Avfvideo-source-position
The position of the capture device (front or back-facing)
Flags : Read / Write
Default value : default (0)
screen-crop-height
“screen-crop-height” int
Height of the screen capture area (0 = maximum)
Flags : Read / Write
Default value : 0
Since : 1.22
screen-crop-width
“screen-crop-width” int
Width of the screen capture area (0 = maximum)
Flags : Read / Write
Default value : 0
Since : 1.22
screen-crop-x
“screen-crop-x” int
Horizontal coordinate of top left corner of the screen capture area
Flags : Read / Write
Default value : 0
Since : 1.22
screen-crop-y
“screen-crop-y” int
Vertical coordinate of top left corner of the screen capture area
Flags : Read / Write
Default value : 0
Since : 1.22
Named constants
Avfvideo-source-device-type
Members
wide-angle
(1) – A built-in wide angle camera. These devices are suitable for general purpose use.
telephoto
(2) – A built-in camera device with a longer focal length than a wide-angle camera.
dual
(3) – A dual camera device, combining built-in wide-angle and telephoto cameras that work together as a single capture device.
default
(0) – Default
Avfvideo-source-orientation
Members
portrait
(1) – Indicates that video should be oriented vertically, top at the top.
portrat-upside-down
(2) – Indicates that video should be oriented vertically, top at the bottom.
landscape-right
(3) – Indicates that video should be oriented horizontally, top on the left.
landscape-left
(4) – Indicates that video should be oriented horizontally, top on the right.
default
(0) – Default
The results of the search are