Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

format not support #51

Open
softfarr opened this issue Jun 7, 2020 · 6 comments
Open

format not support #51

softfarr opened this issue Jun 7, 2020 · 6 comments

Comments

@softfarr
Copy link

softfarr commented Jun 7, 2020

Hi. Thanks for your excellent contribution. I followed all installation instructions. It was well done. When I get into OBS->Tools->V4l2 output a "format not support" message is shown. I tried all video formats with same result. How can It be fixed?

Thanks in advance.

@jcdubacq
Copy link

I have this, too. How can I help investigating?

@darkpixel
Copy link

Not sure what distro you are using, but I ended up having to remove the v4l2loopback-dkms module, clone and manually compile https://github.com/umlaeute/v4l2loopback, then manually compile obs-v4l2sink. On Debian-based distros, it looks like the packages are behind a few versions and have a few bugs.

@jcdubacq
Copy link

I use a debian distribution, so this might be a hint. However, I am using debian unstable branch. v4l2loopback-dkms:
Installed: 0.12.5-1

(so the last stable release of v4l2loopback, according to https://github.com/umlaeute/v4l2loopback/releases). I also manually compiled obs-v4l2sink. For some reason, it was not installed in the correct directory for this distribution, since it was put in /usr/lib/obs-plugins/v4l2sink.so and plugins were expected in /usr/lib/x86_64-linux-gnu/obs-plugins/

I moved manually the so file from /usr/lib/obs-plugins to /usr/lib/x86_64-linux-gnu/obs-plugins/, maybe this causes trouble?

@thomas-anderson-bsl
Copy link

I had the same issues on Ubuntu 18.04 with unname -r => 5.3.0-59-generic

Following what @darkpixel did (manually installing v4l2loopback and obs-v4l2sink from source) seemed to work for me. As he said in his post, those libraries in apt are out of date.

@orathaic
Copy link

orathaic commented Nov 13, 2020

Same error message; i tried manually installing v4l2loopback and obs-v4l2sink but i am still seeing the same error message. Using ubuntu 20.04.1

Managed to get it working by changing the default device.

@ochen1
Copy link

ochen1 commented Nov 13, 2020

Isn't this a duplicate of #5 ?

idk it works for me

try this AFTER YOU ENABLE V4L2LOOPBACK :
ls /dev/video*
And then try each one of them.

there should be a videoX file named what you specified when modprobeing v4l2loopback

For example, if your v4l2loopback modprobe/insmod command is
sudo modprobe v4l2loopback video_nr=30 card_label="Virtual Camera" exclusive_caps=1,
then you should specify the device path to be /dev/video30.

I chose a really high number so I could be sure not to conflict with any number assigned by default (real webcams).

I think what would stump most people would be that they forget to modprobe/insmod the kernel module (v4l2loopback) after installing it, or that the command fails because they try to use a videoX file that is already taken by a webcam.

Another common reasong why the modprobe/insmod command fails (and usually goes unnoticed somehow) is that they forgot to update the cache. sudo depmod -a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants