Questions tagged [v4l]

video capture and output device API, also driver framework for the Linux kernel, which supports many USB-webcams, TV-tuners, and many other devices.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

how would you motivate an unusual v4l2-ctl --list-devices output?

I'm using v4l2-ctl --list-devices for enumerating available camares, parsing the output in python code. I find it hard to motivate why it would return a non-zero exit code along with this output: $ ll ...
matanox's user avatar
  • 2,293
1 vote
0 answers
308 views

ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred

I am running a script on Ubuntu 20.04.6 which has a lot of the same output like ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred is there a way to just suppress these messages? I know it has ...
Alex's user avatar
  • 821
0 votes
0 answers
299 views

Creating a dummy v4l2 capture device without using 'v4l2loopback'

Can i create a dummy v4l2 video device just like done by sudo modprobe v4l2loopback without using v4l2loopback via command line.I don,t want to use v4l2loopback because it is not able to call a ...
Harsh Kumar's user avatar
0 votes
0 answers
102 views

Cross Compiled V4L2 of embedded Linux

Hello all I am new to Embedded Linux. I am having embedded hardware running Linux 5. I want to enable a webcam on it but i dont have internet access or a compiler installed. So i cross compiled V4L2 ...
APC1Wi's user avatar
  • 1
1 vote
0 answers
170 views

Webcam settings are reset by each app

I have Razer Kiyo Pro web camera on Ubuntu 20.04 and configure it via v4l2-ctl -d /dev/video1 --set-fmt-video=width=640,height=480,pixelformat=H264 and then check via v4l2-ctl -d /dev/video1 --all ...
Dmitry Risenberg's user avatar
1 vote
0 answers
146 views

gphoto2 movie capture error: no Viewfinder mode for Canon EOS 400D Rebel XTi

I recently got an Canon EOS 400D to use as a webcam for recording videos. I checked gphoto2 documentation to make sure that it can work as a webcam. The documentation says "Yes" for the ...
Shihab Khan's user avatar
1 vote
0 answers
249 views

problem doing multiarch installs on ubuntu

so this is an issue i got from probably the most annoying bug I've had ever. i made a help thread on reddit but i think the only way to do it right is to post it here. I've been working on a software ...
makerio's user avatar
  • 26
1 vote
0 answers
495 views

ioctl don't work on Raspberry Pi 4 with Ubuntu 22.04

I have Raspberry Pi 4 (aarch64 Cortex-A72) with OS Ubuntu 22.04 LTS 64-bit installed. I try read frame from webcam. When I run this code: if (ioctl(fd, VIDIOC_DQBUF, &buf) < 0) { std::cout &...
ZeusBios's user avatar
  • 111
0 votes
0 answers
518 views

Suddenly unable to install anything after failing to install v4l2loopback-dkms - dpkg insists I must first reconfigure UEFI Secure Boot

Fresh install of 21.10. I decide to install OBS Studio. The guide on https://obsproject.com/wiki/install-instructions#linux says If you want virtual camera support you need v4l2loopback-dkms ...
OZ1SEJ's user avatar
  • 1,235
1 vote
1 answer
81 views

My Kodicom 4400R Camera cards are not working after upgrading to 20.04LTS server

These cards were working under a 16.04 server but that server died so I built up a new box running 20.04 and, when I install the cards, they don't work. I was trying to view the camera with zoneminder ...
AWM's user avatar
  • 47
1 vote
1 answer
8k views

v4l2loopback module failing on Ubuntu 20.04

I am trying a new web camera on a workstation that hitherto had no video capture devices attached. It should be plug-and-play but none of the programmes is able to find the camera once connected. ...
Luís de Sousa's user avatar
0 votes
1 answer
1k views

Cam Link 4K - was working, but now it isn't

20.04 on a Lenovo X1 carbon, if it matters I have a Cam Link 4K USB HDMI adapter, the purpose of which is to connect the HDMI output of a camera to a USB input. I have managed to get it working in the ...
Pointy's user avatar
  • 1,563
3 votes
1 answer
3k views

Use custom video to feed camera

What I am trying to achive is to redirect my camera /dev/video0 with a custom video file. Desired Reasult: When opened a application like cheese or websites like jitsi which process the buffer from my ...
Dev-il's user avatar
  • 51
3 votes
2 answers
780 views

Troubleshooting trying to use Canon DSLR as webcam

I'm following this guide trying to use my Canon EOS 550D as a webcam. It is listed as supported by gphoto2. So, I connected my Canon to my laptop using a USB-cable, and I had no problems running $ ...
OZ1SEJ's user avatar
  • 1,235
3 votes
0 answers
4k views

How to forcefully remove v4l2loopback kernel module?

I am using ipwebcam-gst to use my phone as a webcam. Sometimes, it does not correctly close the v4l2loopback module (e.g. when the phone was accidentally disconnected), and when I try to remove the ...
Archisman Panigrahi's user avatar
6 votes
0 answers
6k views

Built-in camera not working on Ubuntu 20.04.1

I have this consistent problem, since Ubuntu 16... The camera on my laptop is just not working. I have this problem since 4 years, I tried every solution google has, and i check regularly for any new ...
Joana's user avatar
  • 61
2 votes
0 answers
437 views

C270 webcam keeps freezing in both cheese and teams

I've bought a Logitech webcam c270 for my online course, for some reason the university uses Teams. Both Teams and the C270 are compatible in my ubuntu 20.04. The webcam works pretty well until it ...
Kaiser-Sose's user avatar
3 votes
2 answers
3k views

Apps not using full webcam resolution on Ubuntu

I bought the webcam Grandstream GUV3100 which is Full HD capable (1080p video at 30fps) but all the apps for videoconferencing, such as Discord, MS Teams, or Jitsi use only 720p stream from the webcam....
edison23's user avatar
  • 927
1 vote
1 answer
2k views

v4l2loopback device not working with gstreamer

I'm on Ubuntu 20.4.1. I followed the instructions on https://github.com/umlaeute/v4l2loopback e.g. sudo modprobe v4l2loopback to set up a loopback device which I then can also find under ls /dev/video*...
qwipo's user avatar
  • 43
2 votes
1 answer
342 views

Why are my colors separated/shifted when using obs/v4l2sink/v4l2loopback?

Im using OBS with v4l2sink and v4l2loopback to edit my video for a remote trainig. The preview in obs looks fine, but the video has some serious color shifts in any tool I try to display the ...
hd42's user avatar
  • 123
22 votes
5 answers
37k views

Customizability of (Logitech Brio 4K Ultra HD) Webcam on Ubuntu

Can you control things like viewing angle, zoom, fps, and video resolution for a webcam connected to Ubuntu, through a standard set of commands or API? As a case in point, the Logitech Brio 4K Ultra ...
matanox's user avatar
  • 2,293
0 votes
1 answer
4k views

how to use ipu3-cio camera in linux

I have a Thinkpad X1 Tablet (gen 2) with a front and back integrated camera running Ubuntu 19:10. The cameras appear to be detected: $ v4l-info v4l2 device info [/dev/video0] general info ...
brett stevens's user avatar
1 vote
0 answers
59 views

Virtual webcam with video4linux2 not available in some videochat services [duplicate]

I am trying to use my Canon 7D as a webcam on Kubuntu 19.10. I managed to connect the camera using gphoto2 and pipe the video stream to a video device with this following command: gphoto2 --stdout --...
jenda's user avatar
  • 219
28 votes
6 answers
22k views

Use webcam from laptop on desktop pc

I want to use the webcam on my laptop as video device on my pc to use it for video conferencing etc. So I not just want to stream the video. I actually want to "stream" the entire device over network....
nichtNox's user avatar
  • 562
1 vote
0 answers
1k views

PS2 Eye Toy and Cheese webcam app

I have a Sony PS2 Eye Toy USB Camera. $ lsusb | grep Sony Bus 003 Device 002: ID 054c:0155 Sony Corp. When I plug it into a Ubuntu 18.04 machine, and start Cheese, then no devices are found. vlc ...
Bram's user avatar
  • 2,505
1 vote
0 answers
916 views

Skype doesn't recognise v4l2loopback + gstreamer

I recently bought a full HD webcam and I'm running into some troubles using it on Ubuntu 19.10. The main issue is that I get very low fps (about 5-7) unless I run the webcam on relatively low ...
Arthur Spoon's user avatar
2 votes
0 answers
2k views

v4l2 How to trigger automatic exposure adjusting?

I have automatic exposure set, but it reacts very slowly and sometimes not at all (but with cheese it works fine). I'm taking timelapse pictures with following command: ffmpeg -f video4linux2 -s ...
user279078's user avatar
0 votes
1 answer
2k views

VideoCapture.read() using OpenCV. Why is USB Camera faster than CSI Camera? (NO GPU)

I am using NanoPi Duo 2 for the real-time image acquisition project. I have noticed a significant performance (speed) difference between using CSI camera and USB camera. The performance difference ...
BBy's user avatar
  • 1
4 votes
0 answers
1k views

Supply correct pixel format & parameters from gphoto2 feeding into ffmpeg using v4l2loopback

I have Nikon D3300 camera and want to feed video output into my computer as part of live streaming with OBS. I successfully installed v4l2loopback as well as gphoto2 on my Ubuntu 18.04. I already had ...
haxpor's user avatar
  • 209
1 vote
0 answers
552 views

USB video grabber works with camera, not with VHS recorder

I'm trying to get rid of all my old videotapes using a USB grabber (Fushicai USBTV007 Video Grabber [EasyCAP]). When I use VLC or Open Broadcaster Software I can get the video stream from /dev/video2. ...
Stephan Vierkant's user avatar
1 vote
0 answers
343 views

Analog video capture (Hauppauge Live USB) Error - vidioc_qbuf: message too long

I know about Hauppauge 610 Analog Video Capture Script or Command and Script to Capture VHS Tapes Using the Hauppauge 610 USB-Live 2 Analog Video Digitizer and Video Capture Device. I run their ...
A. Scientist's user avatar
4 votes
1 answer
2k views

gspca_zc3xx webcam does not work with skypeforlinux

I have an old Creative NX Pro webcam. In short, guvcview and v4l2ucp work perfectly; cheese can't find the webcam; and Skype can find the webcam but shows a black screen. Diagnostics: $ cat /etc/lsb-...
Reinderien's user avatar
0 votes
0 answers
416 views

Run script when virtual camera is turned on

I know that using the v4l2loopback it is possible to create a virtual webcam or video device, which we can feed by sending streams using tools like ffmpeg. It would be very nice to run a script ...
GeekInDisguise's user avatar
2 votes
0 answers
6k views

"No space left on device" issue in using multiple cameras

When I try to capture video from two usb (uvc) cameras connected on a single usb port, there is an error: libv4l2: error turning on stream: No space left on device Unable to start capture: No space ...
Akihiko's user avatar
  • 121
1 vote
2 answers
9k views

asus webcam is flipped upside down everywhere [duplicate]

I've been having this problem and I haven't been able to solve it for days now. It should be very simple, but I'm also very much a novice. My webcam is flipped upside down. Tried flipping it back ...
VegardSO's user avatar
1 vote
0 answers
1k views

Avermedia AverTV Volar HD 2 Model TD110

recently I bought this card, and there is no way to have it working in Linux Mint. Looking at the windows inf file, looks like the card uses the IT9135 driver [Strings] AVERMEDIA = "...
josepgb's user avatar
  • 11
2 votes
0 answers
705 views

Trying to get a RTL2832U DVB-T and a TBS 5922SE DVBS2 DVB-S2 to "cohabit"

Trying to get two DVB devices working at the same time and struggling. One's a TBS 5922SE, which is a dvb-s device and is now working and the other is a RealTek RTL2832U, a dvb-t, both USB. The ...
some-old-codger's user avatar
1 vote
0 answers
5k views

Polaris AV Capture USB analog TV device drivers needed

I already have a Mecer-branded USB analog TV tuner that I've been using under Windows. Now that I'm moving to Lubuntu I'd like to use it there as well. The product's minimalistic web page is here. ...
chippies's user avatar
  • 131
2 votes
1 answer
3k views

How to assign a fixed device number to a camera?

I need my usb video camera (A4Tech) to take /dev/video0 and the capture card (analog converter) to take /dev/video1 regardless of the order I connect them to PC.
user2932592's user avatar
0 votes
1 answer
550 views

Problems with Logitech Orbicam webcam image

I have a problem with this webcam (ID - 046d:0892, driver gspca) on Acer Travelmate 8200 with Ubuntu 14.04. When using cheese or skype with preloaded v4l1compat.so library, it has bad image - it has ...
kolage's user avatar
  • 131
4 votes
0 answers
1k views

avconv pipe to v4l2loopback device

I use v4l2loopback module to create two video device. My intention is to pipe output from primary video device to these two virtual devices. I can do that using ffmpeg: ffmpeg -f video4linux2 -s ...
vlad2005's user avatar
1 vote
1 answer
6k views

Error while compiling OpenCV in Ubuntu 14.04

I followed the instructions for compiling opencv2.4.9 from Install OpenCV 2.4.9 in Ubuntu 14.04, 13.10 I am getting the following error during the build process. Can someone point out to me how to ...
abacusreader's user avatar
1 vote
1 answer
741 views

How can I work out what v4l2 driver/module my webcam is using?

I've got a fault with how my webcam is being handled (awful framerate). I'd like to diagnose this and possibly dig into the code but I can't tell which v4l2 driver the thing's actually using. How do ...
Oli's user avatar
  • 293k