Suppose your webcam is in /dev/video0
.
-
sudo apt-get install v4l2loopback-dkms
-
sudo modprobe v4l2loopback
-
Finally, when you need your webcam on Skype, just run this command:
ffmpeg -i /dev/video0 -vcodec rawvideo -pix\_fmt yuv420p -threads 0 -f v4l2 /dev/video1