File config.ini of Package akvcam
# Example configuration for Akvcam kernel module
# For info see https://github.com/webcamoid/akvcam/wiki/Configure-the-cameras
[General]
default_frame = /etc/akvcam/default_frame-1280x720.bmp
[Cameras]
cameras/size = 2
# This is where to output V4l2 stream
cameras/1/type = output
cameras/1/mode = mmap, userptr, rw
cameras/1/description = AKVCAM Virtual Camera (output device)
cameras/1/formats = 1
# This is where to capture V4l2 stream to application
# like Skype, Zoom, Jitsi, etc
cameras/2/type = capture
cameras/2/mode = mmap, rw
cameras/2/description = AKVCAM Virtual Camera (capture device)
cameras/2/formats = 1
[Formats]
formats/size = 2
# Most applications are conservative what
# pixel format they can read.
# But these are all supported (Capture):
# * RGB32
# * RGB24
# * RGB16
# * RGB15
# * BGR32
# * BGR24
# * UYVY
# * YUY2 (Most support this)
formats/1/format = YUY2
formats/1/width = 1280
formats/1/height = 720
formats/1/fps = 30, 20/1, 15/2
# These are all supported (Output)
# * RGB24
# * BGR24
formats/2/format = YUY2
formats/2/width = 1280
formats/2/height = 720
formats/2/fps = 30, 20/1, 15/2
# This is making connections between
# cameras
# A connection is defined in the form o:c0:c1:c2:c3:c4:...,
# the first number is the index of a Output device, the following
# numbers are Capture devices. An Output device can be connected to
# many Capture devices, but only one Output device can be connected
# to a Capture device.
[Connections]
connections/size = 1
connections/1/connection = 1:2