Deliver OBS footage to Zoom on Arch Linux

TL;DR

--Create a virtual camera device on Arch Linux. --OBS combines video captures and screen captures into a single video. The composite video is sent to the virtual camera on the OS. --Set the virtual camera image as the Zoom camera device and distribute it. --Not limited to Zoom, it can be used for camera output such as Discord and Google Meet.

Preparation

--Arch Linux (other distributions such as ubuntu are also available) --The procedure is different on Windows.

setup

Virtual camera setup

Set up a virtual camera using v4l2loopback. Below, the installation work is done using the AUR helper yay. Package names etc. may be different for other distributions.

First, install the following packages.

$ yay -S v4l2loopback-dkms

If you are using a standard kernel, you need to install the kernel header files and compile the kernel modules.

$ yay -S linux-headers

Load the v4l2loopback module. video_nr = 42 specifies the device number. If ʻexclusive_caps = 1` is specified, the virtual camera will be recognized on the browser such as Google Chrome.

sudo modprobe v4l2loopback video_nr=42 devices=1 exclusive_caps=1

After loading the module, check it by following the steps below. It is OK if video42 is created.

$ ls /dev | grep video
video42

$ v4l2-ctl --list-devices
Dummy video device (0x0000) (platform:v4l2loopback-000):
	/dev/video42

Persistence of settings

If you want to load the kernel module at startup, write it in the configuration file.

conf:/etc/modprobe.d/v4l2loopback.conf


options v4l2loopback video_nr=42 devices=1 exclusive_caps=1

conf:/etc/modules-load.d/modules.conf


v4l2loopback

OBS setup

Install OBS. Also, install a plug-in to stream OBS video to v4l2. ʻObs-studio` has a community version, but it doesn't have a browser function, so install the Git version if necessary. For details, please refer to this article.

$ yay -S obs-studio obs-v4l2sink

If you start OBS with the plugin installed, you will find more choices for v4l2sink under the Tools tab in the menu. When you open the settings, a screen like the screenshot below will be displayed. Specify / dev / video42 in ** Device Path ** and click ** Start **.

2020-10-09_152124_667388197.png

Zoom setup

Test the virtual camera using Zoom. You can install it from AUR.

$ yay -S zoom

Start Zoom and start the meeting appropriately. You can set your own camera image as it is, but this time I will specify a virtual camera and display it when sharing the screen. When selecting the screen sharing window, select ** Content from 2nd Camera ** from the ** Advanced ** tab. If another camera is connected, click ** Switch Camera ** displayed in the upper left to switch to the virtual camera.

2020-10-09_152459_389006401.png

Since the OBS screen can be played, I think that if you use sources and scenes, you will be able to do more advanced things than normal screen sharing.

reference

-Create a virtual camera / microphone for Zoom on Arch Linux -Stream the video synthesized by OBS Studio on Linux using obs-v4l2sink to Skype or Zoom

Recommended Posts

Deliver OBS footage to Zoom on Arch Linux
How to use C216 Audio Controller on Arch Linux
Install Minecraft on Arch Linux
Downgrade Mcomix on Arch Linux
Game distribution to YouTube Live on Arch Linux (Nintendo Switch)
Setting up OpenSSH on Arch Linux
Easy copy to clipboard on Linux
Install Arch Linux on DeskMini A300
How to install VMware-Tools on Linux
Rip Music CDs on Arch Linux
How to install aws-session-manager-plugin on Manajro Linux
Build an NFS server on Arch Linux
I want to use Linux on mac
How to update php on Amazon linux 2
Basic usage of Btrfs on Arch Linux
How to display emoji on Manjaro Linux
Upgraded mysql on Cloud9 (Amazon Linux) (5.5 to 5,7)
How to install packages on Alpine Linux
5 reasons to install Linux on your laptop.
Build a Samba server on Arch Linux
How to install Anisble on Amazon Linux 2
How to update security on CentOS Linux 8
How to install php7.4 on Linux (Ubuntu)
On Ubuntu Linux, set Tab to q
Arch Linux install to BIOS boot system
How to find large files on Linux
Until you install Arch Linux on VMware
Gusto cannot connect to Wifi on Linux
Cross-compile windows version from nim on arch | linux
Easy way to load CPU / memory on Linux
Try to create a new command on linux
Arch Linux install to RAID1 storage (BIOS boot)
How to install Camunda Modeler on Manjaro Linux
I want to log file I / O on Linux
How to build Java environment on Ubuntu (Linux)
Build an Arch Linux environment on Raspberry Pi
Arch Linux Recommendation
Yum command to access MySQL with Python 3 on Linux
How to install Linux on a 32bit UEFI PC
How to allow nologin users to log in on Linux
Preparing to use Ansible on an existing Linux server
I want to use OpenJDK 11 on Ubuntu Linux 18.04 LTS / 18.10
Install Docker on Arch Linux and run it remotely
[AWS EC2] How to install Maven on Amazon Linux 2
Introducing a desktop environment to Arch Linux (LightDM + Xfce4)
How to install git on Linux such as EC2
[Tips] How to use iPhone as webcam on Linux
How to build a Python environment on amazon linux 2
[AWS] How to expand disk space on Amazon linux
Memo (March 2020) that I was addicted to when installing Arch Linux on MacBook Air 11'Early 2015