-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/dev/video0: not a video capture device (all of a sudden...) #376
Comments
I think I have the same problem. v4l2loopback versions 12.3 and HEAD from github (91AC9A85B2E0DCA4F1005BE) tested. I use OBS as a source for the video. It used to work in skype. Now almost nothing works: Loopback device does not appear in list of outputs: Skype, Firefox, Chrome, Cheese, Zoom. I have tried to change exclusive_caps to 1 and 2, change the resolution, output framerate from OBS, format YUY2, YUV420 and RGB32. Edit: Also, the "producer" examples with GStreamer fail.
sorry about all the edits |
Since when has it stopped working for you? Do you think it's also because of recent updates to your system? |
Some time within the last month, but I don't know exactly when it happened, because I thought I had messed up something. I could get the apt log, but it wouldn't be much use since I don't know when, sorry. |
there's a known bug in the Ubuntu-package (see #370; which also has a solution) since the title of this issue ("/dev/video0: not a video capture device [...]") is very similar to the title of that issue ("Device '/dev/vid eo1' is not a output device [...]") i would highly appreciate it if you could first check the issue tracker next time ;-) |
Thank you. I actually looked at that issue but thought it's a different one. Sorry for the circumstances. What I still don't understand is why it stopped working all of a sudden. To my knowledge, the updates I made didn't change the v4l2loopback install (i.e. it had been 0.12.3 already before). |
fair enough. @fa2k there's no revision "91AC9A85B2E0DCA4F1005BE" in this repository |
and it seems there's an updated |
That was the |
I honestly don't know whether this is a v4l2loopback problem, but maybe someone can help me start debugging this nonetheless.
v4l2loopback
version: v4l2loopback driver version 0.12.3 loadedkernel version: Linux syg-5 5.4.0-52-generic H.264 #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Distribution (+version): Ubuntu 20.04.1 LTS
This morning I did a system update with
apt update && apt upgrade
. Since then, my/dev/video0
cannot be found anymore, neither in VLC nor in Google Meet or any other application that needs access to my webcam. See this excerpt from below:Background: I connected my Z50 mirrorless camera as a webcam via
gphoto2
:gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 2 -f v4l2 /dev/video0
, following this tutorial. This has worked fine up until this morning, so I suspect it has something to do with updated packages, although v4l2loopback or gphoto2 doesn't seem to have been updated.Rebooting didn't help.
Here's /dev/video0:
My user is in the
video
group, I made sure of that.VLC reports these errors:
Here's what's been changed according to
cat /var/log/apt/history.log
:The text was updated successfully, but these errors were encountered: