How to set path for virtual camera

AaronD

Active Member
I have this in a script, that is called from root's crontab @reboot (sudo crontab -e to edit the schedule):
modprobe v4l2loopback exclusive_caps=1 card_label='OBS Virtual Camera' video_nr=99
That's copied from OBS's source code, so it's exactly what OBS wants, except I added the video_nr=99 to keep it from rearranging my physical cameras.

That works, but I haven't tried multiple VCams from OBS. YMMV on that.

Originally, that was to prevent OBS asking for my password, since that's what it was for. By having it already active, OBS just uses it.
 
Top