Finally OBS Studio virtual camera works!
The Story So Far…
I have been using OBS Studio to record classes online. I post these recordings on YouTube so students would be able to review the class. The students would do well to review the lesson delivery, activities they did and instructions I vomited out my piehole.
I had been attempting to use OBS Studio for another thing, which is as a virtual camera to be used in Google Meet or Discord video chats. There are a lot of neat things you can do with it such as live transitions, camera switching (if one had more than a single camera), overlays and neat filters as well.
In Recent Days…
I have been having problems with installing the plugins that would allow me to use the OBS screen output as a virtual camera.
I cloned the two different modules required, obs-v4l2sink and v4l2loopback, from their respective GitHub pages. But I had problems compiling them. At first I thought it was because they were downloaded to the wrong directory. But after making sure all the folders were in the right place, I was still unable to make them.
The command line read:
"/usr/lib/x86_64-linux-gnu/libEGL.so" but this file does not exist.
I did a lot of searching. Then I came across this page. The users there suggested to use this command:
sudo ln /usr/lib/x86_64-linux-gnu/libEGL.so.1 /usr/lib/x86_64-linux-gnu/libEGL.so
And lo and behold, it worked:
I turned on v4l2loopback with this:
sudo modprobe v4l2loopback
… and I was finally able to tap into the OBS Studio output using VLC! I can’t wait to use it with funky effects in a live Google Meet conferencing. But, not with my students yet. I have to be bit more professional with them.