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
Might be over-kill, but can OBS do this?
1
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
Replying to @jmtd @rjek
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

Feb 24, 2022 ยท 4:17 PM UTC

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