TOOL ยป LINUX
V4l2loopback
Usage โ
To use it, install v4l2loopback-dkms linux-headers.
Then load the kernel module with:
shell
sudo modprobe -r v4l2loopback # Restart it as needed
modprobe v4l2loopbackDroidCam โ
Start sharing your phone's camera with (update the IP address as needed):
shell
droidcam-cli $flip 192.168.0.110 4747Wf-recorder โ
Start sharing your screen with:
shell
wf-recorder --muxer=v4l2 --codec=rawvideo --file=/dev/video0 -x yuv420p $flip