coryjsanders
New Member
I lost my recipe on how to make /dev/video10 /dev/video11 /dev/video12 and have them show up in OBS.
Debian11, new OBS install with PIPEWIRE=ON, v4l2loopback-dkms installed
gphoto2 --auto-detect shows
Canon EOS 80D usb:004,003
Canon EOS 80D usb:002,002
I can get OBS make a scene with either one of them running this from the CLI:
sudo gphoto2 --stdout --capture-movie --port usb:004,003 | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0
But I want to have /dev/video10 and 11 so I can open two terminals and start the capture of each camera and make scenes in OBS with them.
This is with a USB Webcam and 2 DSLRs plugged in.
bs@obs:~$ v4l2-ctl --list-devices
Dummy video device (0x0000) (platform:v4l2loopback-000):
/dev/video0
Full HD webcam: Full HD webcam (usb-0000:00:1a.0-1.3):
/dev/video1
/dev/video2
/dev/media0
Debian11, new OBS install with PIPEWIRE=ON, v4l2loopback-dkms installed
gphoto2 --auto-detect shows
Canon EOS 80D usb:004,003
Canon EOS 80D usb:002,002
I can get OBS make a scene with either one of them running this from the CLI:
sudo gphoto2 --stdout --capture-movie --port usb:004,003 | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0
But I want to have /dev/video10 and 11 so I can open two terminals and start the capture of each camera and make scenes in OBS with them.
This is with a USB Webcam and 2 DSLRs plugged in.
bs@obs:~$ v4l2-ctl --list-devices
Dummy video device (0x0000) (platform:v4l2loopback-000):
/dev/video0
Full HD webcam: Full HD webcam (usb-0000:00:1a.0-1.3):
/dev/video1
/dev/video2
/dev/media0