You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.
I tried using the plugin but the browser/guvcview strangely refused to read from the video device (on Debian Buster). Oh well. I eventually succeeded using an alternative approach using a local rtmp server and using avconv to send video data from rtmp into the v4l2loopback device. I'm sharing my approach for anyone who might find it useful.
Idea
OBS sends rtmp to nginx.
nginx forwards rtmp to avconv.
avconv decodes video and sends to v4l2loopback.
v4l2loopback camera is used normally by browser/jitsi/whatever.
You can remove the -vf hflip if your teleconference app doesn't flip the video.
Now you can open your camera-using app and tell it to use /dev/video10 aka "OBS Cam".
Protip: you can lower the latency by going in the OBS settings, under "Output", setting "Output Mode" to "Advanced", then setting "Tune" to "zerolatency".
I tried using the plugin but the browser/guvcview strangely refused to read from the video device (on Debian Buster). Oh well. I eventually succeeded using an alternative approach using a local rtmp server and using avconv to send video data from rtmp into the v4l2loopback device. I'm sharing my approach for anyone who might find it useful.
Idea
OBS sends rtmp to nginx.
nginx forwards rtmp to avconv.
avconv decodes video and sends to v4l2loopback.
v4l2loopback camera is used normally by browser/jitsi/whatever.
Prerequisites
Prerequisites on Debian Buster:
Steps
Setup a local rtmp server by adding at the end of your /etc/nginx/nginx.conf:
Start OBS and tell it to stream to the custom address
rtmp://localhost/live
.Create a virtual camera (you'll need the v4l2loopback kernel module installed):
Use avconv/ffmpeg to send the rtmp from nginx to the virtual camera.
You can remove the
-vf hflip
if your teleconference app doesn't flip the video.Now you can open your camera-using app and tell it to use
/dev/video10
aka "OBS Cam".Protip: you can lower the latency by going in the OBS settings, under "Output", setting "Output Mode" to "Advanced", then setting "Tune" to "zerolatency".
(Latest guide here)
The text was updated successfully, but these errors were encountered: