CatxFish / obs-v4l2sink

obs studio output plugin for Video4Linux2 device
GNU General Public License v2.0
931 stars 99 forks source link

obs v4l2 virtal cam seems to work but it does not appear in the list of devices in jitsi #103

Closed wisdomlight closed 3 years ago

wisdomlight commented 3 years ago

Hi until today the below command

sudo modprobe v4l2loopback video_nr=6 card_label="OBS Video Source" exclusive_caps=1

would create video6 in /dev But

I have done an update today and an upgrade and evev though no device 6 is created obs v4l2 seems to work with video5 but it does not appear in the lists of cameras in Jitsi

Any advice??

ochen1 commented 3 years ago

After updates, try running this command:

sudo depmod -a

Before modprobeing, try running this command

sudo modprobe -r v4l2loopback

wisdomlight commented 3 years ago

Thank you Initially what you suggested provided modprobe: ERROR: could not insert 'v4l2loopback': Exec format error I did not find a way to stop it so I purged v4l2loopback-dkms and then reinstalled and somehow it works now. I don't know why it works but it does... Thanks

ochen1 commented 3 years ago

If everything is solved, please consider closing this issue.

Also, I (alongside many others) , recommed you to build v4l2loopback from scratch (source).

Here is the GitHub repo incase you want to do that: https://github.com/umlaeute/v4l2loopback