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.

Video4Linux is closely integrated with the Linux kernel. Video4Linux was named after Video for Windows (sometimes abbreviated V4W), but is not technically related to it.

V4L had been introduced late into the 2.1.X development cycle of the Linux kernel. V4L1 support was dropped in kernel 2.6.38.

Source: Wikipedia | Modules/v4l2

44 questions
29
votes
6 answers

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. So, two computers, one streams its webcam, the…
nichtNox
  • 582
26
votes
5 answers

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 HD. This camera seems to be advertised to allow…
matanox
  • 1,861
5
votes
0 answers

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 module manually, I get an error. $ sudo modprobe -r…
4
votes
0 answers

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 640x480 -r 5 -i /dev/video0 -codec copy -f v4l2…
4
votes
1 answer

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 solutions. nothing works!! I currently have a…
Joana
  • 55
4
votes
0 answers

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 ffmpeg installed. (Their all version information…
haxpor
  • 209
4
votes
1 answer

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-release…
3
votes
1 answer

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 camera. Is it possible to use already captured…
Dev-il
  • 51
3
votes
2 answers

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 $ sudo apt-get install gphoto2 v4l2loopback-utils…
OZ1SEJ
  • 1,323
3
votes
2 answers

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. I confirmed the fullHD stream is available by $…
edison23
  • 917
  • 7
  • 16
2
votes
0 answers

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 RealTek RTL2832U has been supported by Ubuntu since…
2
votes
1 answer

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.
2
votes
1 answer

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 I get v4l2 (or other) to tell me?
Oli
  • 299,380
2
votes
0 answers

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 freezes. I've tried in Cheese, and for once it's not…
2
votes
1 answer

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 v4l2loopack I'm directing the sink to. View from…
hd42
  • 123
1
2 3