No V4L2 input device

Mr. Jordi

New Member
I have recently installed obs-studio-portable on a Debian 10 box (v.26.1) and after successfully installing and running it, I cannot add a V4L2 source in the origins window.
 

Attachments

  • 2021-01-31 20-44-58.txt
    3.9 KB · Views: 83

frisco

New Member
Do you have a v4l2 device and appropriate permissions on the device nodes? What's the output of the command v4l2-ctl --list-devices? Can you open the video sources in other programs using commands such as guvcview -d /dev/video0 and vlc v4l2:///dev/video0?
 

Tuna

Member
The log says portable mode false. And no v4l2 plugin is loaded. So whatever you ran is probably not the portable version, but if it is you probably did not compile it with the v4l2 plugin.
 

Mr. Jordi

New Member
Do you have a v4l2 device and appropriate permissions on the device nodes? What's the output of the command v4l2-ctl --list-devices? Can you open the video sources in other programs using commands such as guvcview -d /dev/video0 and vlc v4l2:///dev/video0?
It seems that this is not the problem as I see /dev/video0 and /dev/video1 devices in my file system. Also, my camera works perfectly with guvcview and vlc
 

Mr. Jordi

New Member
The log says portable mode false. And no v4l2 plugin is loaded. So whatever you ran is probably not the portable version, but if it is you probably did not compile it with the v4l2 plugin.
I have followed the instructions to install obs in portable mode in this page: https://obsproject.com/wiki/install-instructions#linux-portable-mode-all-distros specifically, I have built it without browser source.
Where can I find the guidelines to install obs with the v4l2 plugin?
 

Tuna

Member
At compile time you need to have the libv4l2-dev package installed. Only then CMake will realize that you have it and is able to build the plugin. Pay attention to the CMake output what libraries it finds and which not and enables/disables features accordingly.
 

Mr. Jordi

New Member
At compile time you need to have the libv4l2-dev package installed. Only then CMake will realize that you have it and is able to build the plugin. Pay attention to the CMake output what libraries it finds and which not and enables/disables features accordingly.
Great! It is solved.
I have installed package libv4l-dev and recompiled. Now I can capture my camera
Thanks for your help
 
Top