CatxFish / obs-v4l2sink

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

only working as root #49

Closed jgato closed 4 years ago

jgato commented 4 years ago

If I try to use the tool, when I click start button it crashes with a segmentation fault. But, using obs as root I can lunch the virtual device no problems. I have added my user to group video, and happens the same:

# ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 may 18 12:48 /dev/video0
crw-rw----+ 1 root video 81, 1 may 18 12:48 /dev/video1
crw-rw----+ 1 root video 81, 3 may 18 12:49 /dev/video5

and the loopback was created:

 modprobe v4l2loopback video_nr=5 card_label=“Virtual cam” exclusive_caps=1

Using ubuntu 20.04. and the obs-v4l2sink with the deb package provided in this git repo.

jgato commented 4 years ago

It was a format issue. But it didnt give a "format error" message. Just trying different options it worked.