-
Notifications
You must be signed in to change notification settings - Fork 99
Format not support #5
Comments
All the format failed? Have you tried YUY2? |
Hello @CatxFish, I tryed to use YUY2 and did not succeed. But, after that i try I do not have any webcam or video device in this computer, a little strange, but maybe be another configuration in my device. Thanks for your attention <3 |
I am experiencing the same problem, also using Arch Linux. The dialog says "format not support" and doesn't change when I hit "Start" for any of the formats. There are 4 options in the dialog under Video Format, YUY2, YUV420, NV12, and RGB32. |
@hossbeast I'm use arch too. You tried enable more devices on If you has webcam or another videos devices in your machine. You can run: ls /dev | grep video and if you has more than one device you can try switch for another You can send me Sorry if you've tried this, I'm just trying to help |
I agree with @dunossauro , you should check device format first. Usually the v4l2loopback support these formats , is there possible you mount it with forcing arguments or you have other device? |
Tried with devices=2, no difference |
@hossbeast you try change device paths? like, /dev/video1, /dev/video2, /dev/videoN |
I have no idea why this happened. My best guess is plugin can not set format to the device for some reason , if so the console should print "set format fail" message. |
In OBS, in the V4l2sinkProperties dialog box, under Video Format, I see "YUV420". However, in v4l2-ctl --list-formats, under YUYV, it says (YUYV 4:2:2). Is the 420 vs 4:2:2 discrepancy the problem? The formats dont match up? |
YUYV422 is an alias name of YUY2 . |
format not support OS: lubuntu 18.04 root@studiomp4:/usr/src# v4l2-ctl --list-formats
|
I was having this error on Antergos (an Arch based distro), and eventually determined the root cause to be a bug in the version of v4l2loopback that I was getting from the repository. If you're on an Arch distro, remove v4l2loopback-dkms and install v4l2loopback-dkms-git. Version 0.12 or greater seems to be what you need. Once I upgraded that I started the module with the following command and now everything works perfectly :) (Exclusive_caps makes the device visible to browser plugins and such; may not be necessary for all use cases) |
I'm able to reproduce this today after re-building from source. The console output from obs is
after I ran |
|
You rebuilt v4l2sink from source or the v4l2loopback module? I think you can check the v4l2loopback version with the below command...if it's 0.11, that may be your problem...if it's 0.12, then I've got no idea and I'll leave it to the devs :) (works for me with 0.12.1.r1.g541e3bc, but gives that error with 0.11.0) |
So, perhaps this is the problem. |
Looks like that was the problem, at least for me. I needed to rebuild / reinstall v4l2loopback from the AUR. Whats working for me now is, v4l2loopback 0.12.1 |
I had the same problem (Ubuntu 18.04 LTS, 64bit). |
I have the same problem, but installing v4l2loopback from Github does not help. Every Format still fails with format not support
Does anybody has an idea? Thanks a lot and stay healthy <3 |
This approach CatxFish/obs-virtual-cam#17 (comment) worked for me on Ubuntu 19.10-based PopOS. This creates both a virtual cam and mic for which you can adjust the sync/delay.
|
Thank you for the answer. |
Are you sure you rmmod the old module and load the one you compiled? |
This worked for me. Using Manjaro |
Do not use apt-get for v4l2loopback. Install it from github. |
I had the same problem. Running Ubuntu 18.04.4:
(Note that I am running kernel: 5.3.0-46-generic #38~18.04.1-Ubuntu SMP x86_64.) |
I also have the same problem.I think this is the main reason.
OS:Ubuntu 18.04.4 Video0 is a real webcam, and video2 is my dummy device.It seems video2 does not support any formats. |
For the solution was to check all my listed devices to understand what was going on:
The correct video device was actually on
ps: my laptop has to intel cams and I have on additional external webcam. |
On Fedora 32 I also get this error. v4l2-ctl --list-formats
v4l2-ctl --list-devices
v4l2loopback version is 0.12.5, which appears to be the latest release. The obs console produces:
|
After a reboot I can actually output to /dev/video2. So disregard this information - apparently the system got wedged with something, and it does appear to work. |
I've tried pretty much everything here, nothing has worked. None of the mentioned formats work (
What I've tried:
I've used a precompiled version of v4l2sink which can be found here. It seems like for most people, removing I've also tried different commands for $ sudo modprobe v4l2loopback
$ sudo modprobe v4l2loopback exclusive_caps=1
$ sudo modprobe v4l2loopback devices=2
$ sudo modprobe v4l2loopback video_nr=10 card_label="OBS Video Source" exclusive_caps=1 $ v4l2-ctl --list-formats ─╯
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'MJPG' (Motion-JPEG, compressed)
[1]: 'YUYV' (YUYV 4:2:2) System information:
This is pretty frustrating if I am being honest. |
Same to me in Ubuntu 20.04, I couldn't make it work, always this error, I'm tired of trying things. |
@edurenye Yeah same man. I've just given up lmao |
idk it works for me try this AFTER YOU ENABLE V4L2LOOPBACK : there should be a videoX file named what you specified when For example, if your v4l2loopback 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 Another common reasong why the |
I had the same problem, this also works on Ubuntu 20.04 |
Sorry for generic issue, but i'm trying use but doesn't works here.
I install v4l2loopback and use Archlinux.
This is my return when a list formats:
sorry for my english.
thanks ❤️
The text was updated successfully, but these errors were encountered: