Dear lazyweb: Anyone know of a tool to offer a virtual webcam device on Linux that alters the available settings from a real one? Such as: limited resolutions or aspect ratio?
3
I took a quick look at OBS but couldn't see a way to get it to emit a /dev/videoX device, or put another way, find a way of getting gchat to consume from OBS
2
You have to sort out a kernel module which lets OBS inject a fake camera into things. I sorted it all out in my nixos config but can't remember the details off the top of my head. Let me look it up
2
The module is v4l2loopback, with these options:
options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
Then OBS can feed that. You can then setup an OBS scene how you want it and export that as a camera for gmeet et al. to use.
1
1
I'm glad you got it working :D
Feb 25, 2022 ยท 10:09 AM UTC


