CatxFish / obs-v4l2sink

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

v4l2sink.so module stops very quickly during Obs-studio 26.02 startup (OS is Ubuntu 20.04) #95

Closed computer-wizard closed 3 years ago

computer-wizard commented 3 years ago

Ubuntu 20.04 kernel 5.4.0-53-lowlatency Obs-studio 26.0.2 v4l2sink.so module stops very quickly during Obs-studio startup, below is from the startup log. info: Output 'V4l2sink': stopping info: Output 'V4l2sink': Total frames output: 242 info: Output 'V4l2sink': Total drawn frames: 177 (243 attempted) info: Output 'V4l2sink': Number of lagged frames due to rendering lag/stalls: 66 (27.2%)

Effect is that the loopback interface doesn't show up any more in applications like Skype, Zoom, etc.. I tried to compile a new v4l2sink.so module using Obs-studio 26.0.2 libraries but that doesn't help V4l2sink.so did work with the previous Obs-studio release.

computer-wizard commented 3 years ago

I solved it by compiling and installing a new version of kernel module v4l2loopback (version 0.12.5) from https://github.com/umlaeute/v4l2loopback