1. Install headers for your Linux kernel:
- sudo pacman -S linux56-headers
- git clone https://aur.archlinux.org/v4l2loopback-dkms.git - cd v4l2loopback-dkms - makepkg -scCi
- sudo modprobe v4l2loopback devices=1 video_nr=10 card_label="OBS Cam" exclusive_caps=1
- sudo modprobe snd-aloop index=10 id="OBS Mic" - pacmd 'update-source-proplist alsa_input.platform-snd_aloop.0.analog-stereo device.description="OBS Mic"'
ffmpeg -an -probesize 32 -analyzeduration 0 -listen 1 -i rtmp://127.0.0.1:1935/live/test -f v4l2 -vcodec rawvideo /dev/video10
- File > Settings > Stream, set Service to "Custom..." and "Server" to `rtmp://127.0.0.1:1935/live/test`
- File > Settings > Output, set Buffer Size to 0, CPU Usage Preset to "ultrafast" and Tune to "zerolatency".
9. Select your virtual camera and audio devices in Google Meet / Zoom / etc.
I get virtually no latency with this setup but I'm running an AMD Ryzen 7 2700X with 32GB of RAM. As always, YMMV.
1. Install headers for your Linux kernel:
2. Install v4l2loopback-dkms from AUR: 3. Create a virtual video capture device: 4. Set up a virtual audio device to avoid latency: 5. Run ffmpeg: 6. Setup OBS to stream to ffmpeg: 7. Setup low latency streaming: 8. Start Streaming in OBS.9. Select your virtual camera and audio devices in Google Meet / Zoom / etc.
I get virtually no latency with this setup but I'm running an AMD Ryzen 7 2700X with 32GB of RAM. As always, YMMV.