445 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
68
views
How V4l2 10bit storage works?
This is the v4l2 documentation for 10 bit sensor:
https://www.kernel.org/doc/html/v4.9/media/uapi/v4l/pixfmt-srggb10.html
According to this documentation I belive my 1 10 bit pixel should be stored ...
1
vote
0
answers
42
views
Memory returned by VIDIOC_DQBUF has garbage. Sometimes
I'm trying to capture a USB camera video as a series of MJPEG images. I'm using this official example as a base. Please refer to it, since it's quite long to paste it here. The only thing I changed is ...
1
vote
1
answer
182
views
V4L2 VIDIOC_ENUM_FMT: Inappropriate ioctl for device
My goal is to capture video using V4L2, and testing it with a virtual video device created by v4l2loopback. I'm feeding a dummy .mp4 to this virt vid device with ffmpeg which is located at /dev/video7....
2
votes
0
answers
64
views
Qt6 QVideoSink Not Getting Frames from V4L2 Webcam
I'm currently writing a C++ Qt App that takes a webcam feed and applies some processing to each frame before rending the processed frame to the app. The problem I'm getting is that when I start my Qt ...
0
votes
0
answers
68
views
Using VIDIOC_STREAMON and VIDIOC_QBUF
I'm facing the issue while testing hw accelirated decoding in Chromium. After some investigation I found out that at the start of decoding Chromuim calls VIDIOC_STREAMON ioctl first and the starts to ...
1
vote
1
answer
159
views
Capturing from multiple UVC cameras
I have 8 cameras (UVC) connected to a USB 2.0 hub, and this hub is directly connected to a USB port. I want to capture a single image from a camera with a resolution of ×ばつ3490 in less than 2 ...
1
vote
0
answers
247
views
Issue with decoding h.264 with Gstreamer
I have a problem with decoding h.264 file. The Gstreamer pipeline fails with the following message:
...................
0:00:01.968415100 2374 0x3fa0000b70 DEBUG v4l2videodec ...
1
vote
0
answers
782
views
Issues with Video Recording Duration and Smooth Playback when Using v4l2 framework to MP4 (FFmpeg)
I'm trying to record a video from a USB device with v4l2 framework and save it in MP4 format using FFmpeg. My sample code successfully captures and saves the video, but I'm running into some issues:
...
0
votes
0
answers
252
views
slow framerate from camera in opencv+gstreamer (orange pi5)
I have Orange Pi5 and ov13855 mipi camera module.
Ubuntu 22.04, OpenCV 4.5.4, Gstreamer 1.20.3
I can capture video from /dev/video11 device via gstreamer:
gst-launch-1.0 v4l2src device=/dev/video11 ! ...
0
votes
2
answers
382
views
Record video stream in rust
I have bought a stereo camera with global shutter and a frame rate of at most 120 fps. https://www.amazon.com/dp/B0D8T3ZSL4?ref_=pe_386300_442618370_TE_sc_as_ri_0#
My next step is to write a program ...
0
votes
0
answers
60
views
How to save buffer data in a file(playable) from vb2_buffer structure
I am learning to understand the how v4l2_based drivers work, and subsequently system calls as well. As a part of that working on decoder driver.
So I need to take the buffer data out after the qbuf ...
0
votes
0
answers
90
views
Convert a ros2 topic to a v4l2 virtual camera
I am trying to convert a ros2 topic which named "/serit" to a v4l2 virtual camera which named "/dev/video4"
i have writen this code
#include <opencv2/opencv.hpp>
#include <...
2
votes
0
answers
144
views
Extracting tempature from a thermal camera
With a Teledyne FLIR Hadron 640R thermal and RGB camera and an NVIDIA Jetson Nano Developer Kit - B01 I'm trying to extract metadata from thermal frames using GStreamer in Python3. The RGB attempts to ...
1
vote
0
answers
382
views
Camera Index out of range when trying to use cv2.VideoCapture(0) for the second time
(On Raspberry Pi 5) I am using a python script (control.py) to start another python script (main.py) in a separate thread. main.py uses cv2 to get frames from a webcam attached to my Raspberry Pi. ...
1
vote
0
answers
398
views
Failed to capture frame from picamera with V4L2 (Raspberry Pi 4B - Pi Camera v3)
I want to do live object detection with Raspberry pi 4B 8GB and Pi Camera v3 without using USB Accelerator. I want to do it with "Custom model" but first of all I wanted to test the example from ...