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.
42
questions
0
votes
0
answers
149
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 ...
0
votes
0
answers
64
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 ...
0
votes
0
answers
84
views
Why does v4l thinks there is 1 plane in a multiplanar format?
I am using the vivid kernel module to create a virtual video device.
When I set the format to NV12, it thinks there is only one plane:
$ v4l2-ctl -d /dev/video2 --verbose --set-fmt-video=pixelformat=...
1
vote
0
answers
111
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
...
1
vote
0
answers
110
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 ...
1
vote
0
answers
209
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 ...
1
vote
0
answers
382
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 &...
0
votes
0
answers
429
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 ...
1
vote
1
answer
75
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 ...
1
vote
1
answer
7k
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.
...
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 ...
3
votes
1
answer
2k
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 ...
3
votes
2
answers
737
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
$ ...
1
vote
0
answers
3k
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 ...
5
votes
0
answers
5k
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 ...
2
votes
0
answers
428
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 ...
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....
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*...
2
votes
1
answer
334
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 ...
22
votes
5
answers
33k
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 ...
0
votes
1
answer
3k
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
...
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 --...
26
votes
6
answers
21k
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....
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 ...
1
vote
0
answers
897
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 ...
2
votes
0
answers
1k
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 ...
0
votes
1
answer
1k
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 ...
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 ...
1
vote
0
answers
532
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.
...
1
vote
0
answers
332
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 ...
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-...
0
votes
0
answers
395
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 ...
2
votes
0
answers
5k
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 ...
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 ...
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 = "...
2
votes
0
answers
695
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 ...
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. ...
1
vote
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.
0
votes
1
answer
546
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 ...
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 ...
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 ...
1
vote
1
answer
691
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 ...