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
21
votes
3 answers

Android as an UVC Camera

I'm stuck at home with a rather bad webcam. I was considering upgrading, but then it struck me: phones these days have really good cameras embedded in them. So why not use it as a webcam? However, as I was researching this further I was really…
Xaldew
  • 560
  • 5
  • 18
20
votes
6 answers

Can't import dll module in Python

I've been stressin for a few days trying to compile a modified version of libuvc on windows and now that I've finally done it, I can't seem to load it on Python. This lib that I've already compiled and successfully imported using the same version of…
tigonza
  • 237
  • 1
  • 2
  • 5
11
votes
1 answer

USB Camera: OpenCV VideoCapture Returns Partial Frames

I am developing a program to process frames from a USB camera on Ubuntu. Currently I'm using OpenCV in python. When I try to read a frame using a cv2.VideoCapture object I only get partial frames. The camera I'm using is a Kayeton GS1M2812 USB…
JohannB
  • 357
  • 6
  • 21
8
votes
3 answers

UVCCamera with samples, how import to android studio?

I want work with usb camera (uvc) and Android Studio (Windows). I am having problems with the USB cam library "libuvccamera". I want to know how solve the problems or any another way to get the view of the usb cam in my app. Let me explain better…
Ana
  • 93
  • 7
8
votes
2 answers

How do I enable the UVC_QUIRK_FIX_BANDWIDTH quirk in Linux UVC Driver?

I am currently trying to run 2 webcams on a Wandboard board, which have to share a USB hub. Problem is , the current driver implementation (YUV only) saturates the USB hub and in the end I can only connect one camera. However the UVC driver…
Adrian Nițu
  • 131
  • 1
  • 2
  • 11
5
votes
0 answers

Unable to get video via uvc_gadget to the host pc

I am trying to setup a raspberry pi board as a piping device which could receive video from a camera or any other source and pipe it to the host pc. I am following the tutorial mentioned…
Zain
  • 153
  • 7
5
votes
0 answers

Microsoft Media Foundation / UVC ReadSample() callback

I'm writing a Media Foundation app to acquire and display 1920x1080 YUV2 images from a UVC camera at 60Hz. My problem is that the ReadSample() callback only gets called erratically at a very very low rate (1 FPS or so), in burst of a few…
JPh
  • 536
  • 3
  • 20
5
votes
2 answers

Linux as a USB UVC device

What is needed for making a Linux device (Raspberry Pi) behave like a UVC device for another computer? Essentially, I would like to use output from ffmpeg to behave like a webcam input for another computer.
frodeborli
  • 1,537
  • 1
  • 21
  • 30
4
votes
0 answers

Webcam not detected on dell laptop after os upgrade from 16.04 to 20.04

I upgraded my inspirion ubuntu 16.04LTS laptop to 20.04LTS, after that I am not able to use my webcam. I checked bios, it has camera enabled. So bios does not have any issue. result of command lsusb -t is: lsusb -t /: Bus 02.Port 1: Dev 1,…
ayushi
  • 63
  • 1
  • 6
4
votes
0 answers

Using Android Pie's *native* UVC webcam driver?

Over the year's many people have made Android apps/libraries such as UVCCamera to view a UVC webcam video stream. However, the release notes for Android Pie seem to indicate that it now includes a native UVC driver: External camera support: Android…
4
votes
1 answer

Using UV4L on Raspberry pi 3 with C310

I'm trying to get uv4l working with logitech camera 310. I go to the address XXX:8090/stream and it works for a few seconds then stops. To get it back i need to restart the pi. Also, it sometimes outputs these: Message from syslogd@raspberrypi at…
innve89
  • 101
  • 7
3
votes
0 answers

Set high resolution exposure on UVC Camera with Media Foundation

I need to set the exposure on a UVC Camera with Media Foundation in a native C++ application with a resolution of milliseconds. The standard method for setting exposure on a UVC camera via MediaFoundation appears to be using IAMCameraControl and the…
3
votes
1 answer

WSL - webcam USB : Can not open camera by index

I have followed this tutorial: https://github.com/dorssel/usbipd-win/wiki/WSL-support#usbip-client-tools I successfully connect my USB camera with my WSL2, but can not open the camera. $lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0…
3
votes
1 answer

Getting the v4l2 device number for a connected USB camera (webcam) from a C application (Linux)

I'm working on a embedded Linux system (yocto) and I'm trying to simply get a list of the camera USB video devices (webcams) numbers with the related connected USB port from a C program. I'm able to get the devices list with vendor ID and connected…
joe
  • 309
  • 4
  • 16
3
votes
0 answers

UVC Camera no preview is showing when closing activity and reopening it

I want to use UVC camera in my android application. For this i m using this library https://github.com/saki4510t/UVCCamera It works the first time the activity is opened,camera preview show properly. When close the activity and come back again to…
RAMK
  • 31
  • 5
1
2 3 4 5 6 7 8