Raspberry Pi camera sources¶
kind = RPICam — captures video from a Raspberry Pi camera module using
the rpicamsrc GStreamer element. This source is video-only; use a separate
PulseAudio sources or ALSA sources source for audio.
Configuration options¶
deviceCamera device node. Default:
/dev/video0.widthCapture width in pixels. Default:
1920.heightCapture height in pixels. Default:
1080.formatPixel format. Default:
YUY2.framerateCapture frame rate as numerator/denominator. Default:
25/1.typeGStreamer media type string. Default:
video/x-raw.cropCrop the captured frame, given as four space-separated pixel values:
bottom left right top. Omit to disable cropping.Example:
crop = 8 0 0 0removes 8 pixels from the bottom.annotationEnable camera annotation mode (e.g. burn-in timestamp). Passed directly to the
annotation-modeproperty ofrpicamsrc. Example:annotation = time
Example¶
[mix]
sources = cam1
[source.cam1]
kind = RPICam
width = 1920
height = 1088
crop = 8 0 0 0
framerate = 25/1
format = I420
type = video/x-raw
annotation = time
See also
Common source attributes for the scan and volume attributes that apply to all source kinds.