How to make DSLRs works as webcams
This is the main reference
$ sudo apt install gphoto2 v4l2loopback-utils ffmpeg
$ sudo modprobe v4l2loopback exclusive_caps=1 max_buffers=2
$ gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video1
Now you'll be able to see your DSLR as input stream soure on /dev/video1
$ gphoto2 --shell
$ gphoto2 --list-config
$
- Install Camera Live gphoto2 version
- Install CamTwist