Linux环境下配置虚拟摄像头akvcam
下载源码
git clone https://github.com/webcamoid/akvcam.git
编译&安装
cd akvcam/src
make
sudo make dkms_install
确认是否安装驱动成功,如果有文件,则安装驱动成功
ls /lib/modules/$(uname -r)/extra/akvcam.ko*
可以使用如下命令卸载驱动
sudo make dkms_uninstall
配置虚拟摄像头
修改配置文件
sudo mkdir -p /etc/akvcam
sudo touch /etc/akvcam/config.ini
sudo chmod -vf 644 /etc/akvcam/config.ini
修改/etc/akvcam/config.ini,内容如下:
# Virtual camera configuration file example.
#
# Please, read the instructions to the end.
[Cameras]
# First at all you must define how many virtual cameras will be created.
cameras/size = 2
# Then, define it‘s properties.
#
# A virtual camera can be of 2 types: ‘capture‘ and ‘output‘.
# A ‘capture‘ device will b