snapcrafters / obs-studio

This is a community-supported modified build of OBS Studio.
https://snapcraft.io/obs-studio
118 stars 35 forks source link

Errors installing virtual webcam SNAP #146

Closed Dave-RT closed 2 years ago

Dave-RT commented 2 years ago

Hi,

been trying to install the virtual webcam SNAP in OBS v27.1.3 using the code from the Ubuntu software store. Code and error below, any help appreciated.

Code is:

sudo snap connect obs-studio:kernel-module-observe sudo apt -y install v4l2loopback-dkms v4l2loopback-utils echo "options v4l2loopback devices=1 video_nr=13 card_label='OBS Virtual Camera' exclusive_caps=1" | sudo tee /etc/modprobe.d/v4l2loopback.conf echo "v4l2loopback" | sudo tee /etc/modules-load.d/v4l2loopback.conf sudo modprobe -r v4l2loopback sudo modprobe v4l2loopback devices=1 video_nr=13 card_label='OBS Virtual Camera' exclusive_caps=1

Error is: [sudo] password for xxxxxx-pc: tee: invalid option -- 'r' Try 'tee --help' for more information. error: unknown flag `y'

Ubuntu 20.04.3 LTS GNOME 3.36.8 Intel® Core™ i5-7600K CPU @ 3.80GHz × 4 Mesa Intel® HD Graphics 630 (KBL GT2)

flexiondotorg commented 2 years ago

The steps are documented here: