Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [v4l2]

v4L2 is the second version of Video4Linux, a collection of device drivers and an API for supporting realtime video capture.

1
vote
1answer
310 views

RaspberryPi Camera - bcm2835-v4l2 kernel module source

I want to make some optimizations on camera kernel module so it can work better with a camera multiplexer module. There are 4 camera multiplexed by GPIO pins and some hardware. I have cloned the v4l-...
0
votes
1answer
436 views

Raspbian Stretch C920 webcam driver LED control regression?

In a previous Stack Overflow post (April 16th 2018), Raspberry Pi : use VLC to stream webcam : Logitech C920 [H264 Video without transcoding + Audio + LED control], I described how to use the Pi + ...
0
votes
1answer
245 views

Problems using bcm2835_v4l2 module w/ ffmpeg

I've run into some problems using the native bcm2835_v4l2 module on my Raspberry Pi Zero W (running Raspbian Stretch). The module is loaded and the associated video device is visible: $ v4l2-ctl --...
0
votes
1answer
361 views

Configuring camera with uv4l

I am using a USB camera and uv4l to stream the video to another machine. This is how I invoke uv4l: uv4l --driver uvc --device-id [bus:id] --config-file /etc/uv4l/uv4l-uvc.conf I want to configure ...
0
votes
0answers
60 views

Optimizing linux filesystem and SD card for continuous video recording using Gstreamer

We are using raspberry pi3 and using omxh264enc with v4l2src fetching raw YUV 4:2:2 frames and encoding it to h264. use case: We have a write intensive gstreamer pipeline with two splitmux pipelines, ...
0
votes
0answers
384 views

UV4L conflict with V4L2

My goal: Stream video from USB Camera (Logitech C920 and Microsoft LifeCam HD-3000) to another laptop. Low latency is top priority. 24+ FPS is preferred At the same time, I want to use that camera ...
0
votes
0answers
38 views

Toggle/Switch camera on Voip Call

I have some queries related to camera switching during Video Call using simpl5. Is there a way to switch or toggle between 2 different Camera's during video call without disconnecting. Is there is a ...
3
votes
1answer
3k views

Raspberry Pi 3 and V4L2 C++ Capture Code for JPEGs

I have a Raspberry Pi 3 with the latest Raspbian Stretch, and the Sony 8MB official camera. I can save a good looking JPEG with the following commands: v4l2-ctl --set-fmt-video=width=2592,height=...
1
vote
1answer
4k views

Setting up RTSP using v4l2

Around one year ago I built some Raspberry pi streaming device fitting on a model train. Being unhappy with the setup process on how to receive the stream on windows (using MPlayer), I decided to use ...
1
vote
1answer
901 views

Trouble using UV4L raspidisp

I'm having trouble using the UV4L raspidisp device driver from linux-projects. This is supposed to provide a V4L2 compliant device that provides the output from the Raspberry Pi's HDMI output at /dev/...
1
vote
2answers
2k views

Stream video from Raspberry Pi to PC using the Ethernet or USB port

I've got a v4l2loopback running on the Raspberry Pi and I can access the stream using MPlayer directly on the Raspberry Pi. However, I'd like to connect the Raspberry Pi to my Windows PC to access the ...
1
vote
0answers
293 views

Streaming HLS from a video4linux2 virtual video device

I'm trying to accomplish a few things at the same time with the raspberry pi camera; create an HLS live stream take regular interval jpg snapshots and save them to disk irregularly record short ...
0
votes
0answers
274 views

Configuring USB Webcam in Raspberry PI

I'm configuring Logitech C920 USB Webcam in Raspian for using it with a 3rd party application. I get the below error I tried to set exposure control using uvcdynctrl and guvcview as well. I'm able to ...
0
votes
1answer
2k views

How do I install v4l2loopback on raspbian Jessie

Normally I get v4l2loopback by simply git clone https://github.com/umlaeute/v4l2loopback cd v4l2loopback make && sudo make install sudo modprobe v4l2loopback video_nr=10,11 and now I get: ...
0
votes
1answer
711 views

How to set the camera sensor mode with V4L2

I'm referring to the modes listed here. When capturing video with raspivid, the -md option allows overriding the default mode selection heuristic. I need to find out how to achieve the same when ...
0
votes
1answer
5k views

What is the correct method for streaming video from the camera module to date? [closed]

I just started experimenting with a new Raspberry Pi 3 Model B with the latest Raspbian installed. I was looking for the best way to stream from the camera module and I have found different answers, ...
0
votes
0answers
354 views

Crash when running modprobe bcm2835-v4l2

I'm able to take a photo with raspistill, but when I try to run motion, (which requires enabling bcm2835-v4l2), I'm getting a crash after running: modprobe bcm2835-v4l2 with the output: Kernel ...
1
vote
2answers
2k views

ffmpeg video file with v4l2 driver

I want to save a video file from the raspberry camera, by using the v4l2 driver and ffmpeg. v4l2-ctl is able to capture the video, though ffmpeg is not. When i run the command: ffmpeg -f video4linux2 -...
1
vote
0answers
1k views

/dev/video0 not created

I am having trouble getting a USB Camera to work with a Raspberry Pi 3 Model B. I cannot get /dev/video0 to be created. I have run sudo modprobe bcm2835-v4l2 and I can see bcm2835-v4l2 when I run ...
1
vote
4answers
2k views

Adjusting keyframe rate ffmpeg Logitech C920 to YouTube Live

I'm trying to use ffmpeg to stream output from a c920 webcam to YouTube live on a Raspberry Pi. Unfortunately, YouTube Live returns this error when I start the stream: Please use a keyframe ...
0
votes
1answer
883 views

Getting frames @30 fps with Logitech C270 and Raspi 3 model B using libuvc

I'm designing a solution that requires to capture 3 frames in 100ms and send it to the Raspi-3 model B. It's okay for me to receive uncompressed frames because I'm going to capture only 5 frames and ...
0
votes
1answer
2k views

fswebcam: Unable to find a compatible palette format

I am unable to use my webcam. Running fswebcam out.png, I get the error: Unable to find a compatible palette format. What would be the origin of the error and how to fix it? It can be a missing ...
0
votes
1answer
2k views

raspberry camera module feed is slow with Opencv using v4l2

i am trying to use Opencv to video capture from the raspi cam to do some operation on it, the problem is i am using v4l2 to capture the video and it is so slow (10 sec delay and 2 fps). what i have ...
1
vote
2answers
262 views

Raspbian Jessie and OpenCV 2.4.9 “get_buffer() failed (-12 (nil))” error

I upgraded my RPI2 to use Raspbian Jessie. (NOOBS 1.9.0) I also installed OpenCV 2.4.9.1 package. (It is the default package from apt-get install) Now, I have a problem while recording video with ...
2
votes
0answers
443 views

Jessie: v4l2 streaming works with RPi 1B+, but not with 2B or 3B

I just recently upgraded my series of Pi's (1B+, 2B, 3B) to Raspbian Jessie Lite. Now, when I try to setup a stream with my Pi NoIR Camera as I did in Wheezy, sudo modprobe bcm2835-v4l2 cvlc v4l2:///...
1
vote
1answer
928 views

Raspbian v4l2loopback

I'm trying to load v4l2 modules. Before doing that, I run: sudo apt-get install v4l2loopback-dkms but, when I load the module, I get an error: sudo modprobe v4l2loopback devices=4 modprobe: FATAL: ...
4
votes
2answers
3k views

Getting kernel headers for raspberry pi 2

I'm attempting to create a virtual video device on raspberry pi 2 using v4l2loopback and prior installation of the v4l2loopback on their website in the Dependencies section they say that the kernel ...
0
votes
1answer
384 views

How can I use older versions of raspbian on RPi 2 B?

By what I gather from various sources, I realize that the Rpi2 Model B does not support older versions of Raspbian. I wanted to make sure there is no work around for this. I am trying to install the ...
1
vote
1answer
1k views

V4l2 video streaming on Arch with RPi2

I'm running an intentionally minimal Arch OS on my RPi2 (installed via ArchLinuxARM-rpi-2-latest.tar.gz dated 2015-08-14), and I'm trying to have it stream video from the camera. I followed the camera ...
0
votes
0answers
1k views

v4l2 on RPi not working in avconv stream

I have been trying to run a webcam/audio stream from usb devices on my rpi. I have run the following commands: avconv -f video4linux2 -i /dev/video0 –s 640×360 r 10 –b 350k –f flv rtmp://x....
3
votes
1answer
5k views

Error loading bc2835-v4l2 driver, Raspberry Pi and OpenCV

disclaimer: I am new to OpenCV and Raspberry Pi, although I have a fair amount of experience with linux systems in general Here is what I am attempting to accomplish: I am trying to use a Raspberry ...
1
vote
0answers
619 views

Multiple webcams - cannot open in openCV & corrupted image

I've connected four USB webcams via well powered USB hub to RasPi2. I want to use them in openCV. So I setup a simple program, where I opened the cameras using cvCaptureFromCAM, captured a cv::Mat and ...
1
vote
1answer
1k views

Tiny picture using opencv2 and v4l2 driver

I'm using opencv2 and V4L2 driver on my pi and have managed to get a tiny picture out of the Raspberry Pi Camera Module with the following script: #!/usr/bin/env python import cv2 camera_port = 0 #...
1
vote
0answers
491 views

avconv version 9.14 streaming video (using UV4L driver RaspiCam) and video (using ALSA) to ustream, no audio

I'm using avconv to read from /dev/video0 (which is attached to my RPi camera via UV4L) and also reading audio from my microphone using ALSA and stream it live on ustream.tv. It works just fine to ...
3
votes
2answers
6k views

Setting camera module to /dev/video0 to scan QR Codes using zbar

I'm trying to use the library zbar to scan qr codes using Raspberry pi's camera module. I've connected and tested the camera, but I don't know how to access that from the library because it isn't on /...
32
votes
8answers
84k views

RasPi Camera Board and Motion

I just got my Camera Board and a Model A Raspberry Pi to use as a security camera for my house. I had been using Motion with a Logitech C170 USB camera on my Model B board and it worked great except ...