Questions tagged [uvc]

UVC is a short for USB Video device Class (also USB video class) and it is a USB device class that describes devices capable of streaming video like webcams, digital camcorders, transcoders, analog video converters and still-image cameras.

UVC is a short for USB Video device Class (also USB video class) and it is a USB device class that describes devices capable of streaming video like webcams, digital camcorders, transcoders, analog video converters and still-image cameras.

119 questions
3
votes
2 answers

Preview USB Webcamera on Android via ndk and V4L

I am trying to access a USB Webcam from Android ndk. The Android system has the V4L Kernel modules, so I thought it would be best to use the V4L libraries. They are bundeled in the ndk so it was not a big deal to include them into my project. My…
BT9
  • 87
  • 1
  • 11
3
votes
0 answers

Cannot open /dev/video0 (No such device)

I am trying to install a webcam on a Synology NAS (arm, linux kernel 3.2.40). I have compiled and installed the kernel modules, they seem to work. This is the kernel output when inserting the modules and plugging the camera (Logitech C270): [ …
user3044083
  • 59
  • 1
  • 1
  • 3
3
votes
1 answer

Using ffmpeg on Windows, what is the command to capture hardware encoded H264 stream from Logitech c930e

I am using ffmpeg on Windows 8 and I would like to capture the built-in H264 hardware encoded stream from the Logitech c930e camera. The H264 built-in encoded stream is part of the UVC 1.5 interface. Using this command I have noticed that the c930e…
Jeff
  • 646
  • 6
  • 7
2
votes
0 answers

v4l2-ctl - set video length in seconds

How I can set video length? In my example v4l2-ctl --verbose -d 0 --set-fmt-video=width=1280,height=720,pixelformat=MJPG --stream-mmap --set-parm 25 --stream-to=video.yuvj422p --stream-count=100 I can set max framerate --set-parm 25 I can set…
2
votes
0 answers

How to give a rust program access (permission) to my camera?

I'm using uvc to try and get frames from my webcam. Everything is working up to the point where I try and open the webcam device. Code: use uvc::{Context, Frame}; fn main() { let ctx = Context::new().expect("Could not create context"); let…
altywalty
  • 55
  • 6
2
votes
0 answers

get list of available camera devices without trying to open them, in python OpenCV

I am trying to make a cctv system. Currently, the connected camera number is checked in advance and videocapture is called with that number. In this way, we want to check the camera number up to 10 and use only the camera number that exists within…
leecs
  • 21
  • 2
2
votes
1 answer

v4l2 manual exposure not working compared to Windows 10

This question is very similar to V4L2 absolute exposure setting has (almost) not effect I have a UVC compliant camera that I am running on a Raspberry Pi CM3+ module. It appears as video0. Using the tools/drivers v4l2-ctl, qv4l2 or guvcview the…
tomdertech
  • 497
  • 1
  • 9
  • 27
2
votes
0 answers

Media Foundation Exposure in milliseconds

Before I ask my question I need to state that I am primarily a Linux C++ developer and don't have that much experience with writing Windows applications. I compile all code using g++ and NOT a Microsoft compiler. Background For some time, I have…
Amanda
  • 321
  • 2
  • 12
2
votes
0 answers

Detecting UVC video device disconnection (WM_DEVICECHANGE) works on Windows y but fails on Windows 10

I am using the exact same code as this to handle video device loss. I am testing my app with a Logitech C920 webcam. When the webcam is plugged into a USB2 port on Windows 7 the code works as expected and it detects a camera unplug. However, the…
JPh
  • 536
  • 3
  • 20
2
votes
0 answers

'select timeout' error while running python opencv script

I'm trying to capture video/image feed from a USB 3.0 webcam. When ever I try to run this code,the code runs and captures feed. But, after a while I get 'select timeout'. The error is not grabbed by exception. Can someone help me with this…
Thoht
  • 131
  • 6
2
votes
1 answer

Camera2 API with external USB camera

I'am working in project to build a WebRTC communication between a Android device and the Web Page, so i used this github WebRTC_Androidrepository to implement the android side, and all work fine with the android device camera, but now i want use a…
lotfi Raghib
  • 434
  • 1
  • 6
  • 17
2
votes
0 answers

How can I get Camera2 api to list external facing camera's when run on an android phone?

I'm trying to preview an external ZED stereo camera that's connected to an android phone using the Camera2 api. https://www.stereolabs.com/zed/ This camera is UVC compliant and I have been able to preview it when I connected it to an android oreo…
arun tom
  • 151
  • 1
  • 9
2
votes
1 answer

VIDIOC_STREAMON error 28, No space left on device ,after i tried the common solution on the web

I have a depth camera(XTION2). i can successfully get the image stream by the following code: roslaunch openni2_launch openni2.launch rosrun image_view image_view image:=/camera/depth/image_raw but when i tried output my rgb image stream by the…
2
votes
0 answers

Linux uvcvideo driver - how to set custom (4 sec) keyframe interval for c920

I need to stream video from my logitech c920 camera to Youtube using RTMP. I'm using avconv for that purpose. I don't want to reencode the media, because my stream is running on raspberry pi 3 which compute power is limited. My camera has builtin…
BojowyZajaczek
  • 419
  • 1
  • 3
  • 10
2
votes
1 answer

Ubuntu Camera: VIDIOC_STREAMON error 28, No space left on device

I have a depth camera which outputs 5MP RGB image stream. When trying to use this camera, I got an error message: VIDIOC_STREAMON error 28, No space left on device The specification of the camera says I need a USB 3.0, which I do have, and the…
foothill
  • 483
  • 3
  • 8
  • 18