Ubuntu – Webcam mounted on /dev/video0 and usable by VLC but nothing else detects it

skypevlcwebcam

I have a rather old Logitech webcam which I have been testing on Ubuntu 18.04. The camera gets mounted automatically on /dev/video0 and I can use it via VLC ("open capture device" then specifying /dev/video0 as device). However, no other program is able to detect or use it. I have tried web browsers (Chromium), Skype and lightweight apps like Cheese and Streamer. Any ideas how to make it work generally?


Results of lsmod | grep video:

videodev              184320  3 gspca_main,v4l2_common,gspca_spca561
media                  40960  1 videodev
video                  45056  0

Best Answer

Some programs like Skype use the older Framework v4l instead of the newer v4l2. This is not supported by every module out of the box.

env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so /usr/bin/skype

This way, the older framework is forced to use for skype. I'm not good in explaining in english. Sorry.

Related Question