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

Windows device: get "location" string for a given IMFActivate* of a UVC webcam

When going to Windows' "Device manager" and clicking on (almost) any device in the list one piece of information in the "General" tab is called "Location". That is a string that is either: human-readable, like "on NVIDIA GeForce GTX…
YePhIcK
  • 5,816
  • 2
  • 27
  • 52
2
votes
1 answer

Systematic offset on V4L2 frames

I'm grabbing frames from an UVC device using the V4L2 API. I want to measure the exposure time by calculating the offset between the timestamp of the frame and the current clock time. This is the code I'm using: /* Control code snipped */ struct…
2
votes
0 answers

Reading Bitmap images with ZBar

In my android app, I'm using an USB camera as image capturing method. For that I'm using UVCCamera library. Idea behind this is to read barcodes with this cameta, hence from this input, Bitmap is created and it will be decoded with ZBar library But…
KTB
  • 1,499
  • 6
  • 27
  • 43
2
votes
0 answers

Exposure settings in uvcdynctrl for a Logitech C920?

I managed to set the exposure value, as well as any other controllable value of the Logitech C920 webcam, manually and fixed. (I am doing computer vision research with it). However, I can not find any source that tells me in which unit the exposure…
TobiasWeis
  • 491
  • 6
  • 14
2
votes
1 answer

Is it possible to connect external wired camera to ios device?

Is it possible to connect external wired USB Webcam to ios device lighting connector? I want to connect USB Webcam to IOS Device. It maybe possible because there is an example. But, I don't know It is truely possible. It must be only wired…
Sangjun Hong
  • 21
  • 1
  • 2
2
votes
0 answers

Interfacing with a UVC 1.1 H.264 extension device with DirectShow

Working with DirectShow, I'm trying to get access to the H.264 stream of a Logitech C920 camera on Windows 8. Using the Logitech drivers it seems the camera only exposes its H.264 output via the UVC 1.1 H.264 extension. Does anybody have a clear…
Mike Dinescu
  • 54,171
  • 16
  • 118
  • 151
1
vote
1 answer

v4l2-ctl won't respond if device disconnect

I can capture video v4l2-ctl -d 0 --set-fmt-video=width=1280,height=720,pixelformat=MJPG --stream-mmap --set-parm 25 --stream-to=video.yuvj422p --stream-count=1000 While capturing I disconnect camera from PC. In my Ubuntu v4l2-ctl process do won't…
1
vote
0 answers

What is USB iSereial param

I read topic about iSerial I test my devices to get iSerial for my case. For my JML camera I can get $ lsusb -d 0bda:0567 -v | grep -i serial Couldn't open device, some information will be missing iSerial 2 202001010001 For my…
1
vote
0 answers

Time delay in dequeing v4l2-buffer

When dequeing a image data of resolution 1920x1200 in UYVY format at 20fps (50 ms frametime) from a USB camera in a python script using linux v4l2-buffer (using memory map) and display it using imshow api, there is a delay of 300ms for the 3rd frame…
ArAvind
  • 11
  • 3
1
vote
1 answer

IOException: write failed: EINVAL (Invalid argument) on UVC FileOutputStream in Kotlin

I'm trying to write Android Camera stream frames to the UVC Buffer using FileOutputStream. For context: the UVC Driver is working on the device and it has a custom built kernel. I get 24 frames per second using imageAnalyzer: imageAnalyzer =…
Filip Luchianenco
  • 6,912
  • 9
  • 41
  • 63
1
vote
0 answers

How to read PTS/SCR in UVC payload header?

Currently I can use DirectShow to capture uvc frame, then I need PTS to sync the frame with something else. Of course, I can use libusb-win32 or WinUsb driver and libusb to capture the raw data to get this information, but in this way, I can't use…
mingpepe
  • 489
  • 5
  • 10
1
vote
0 answers

MSDN examples for UVC

https://learn.microsoft.com/en-us/windows-hardware/drivers/stream/sample-application-for-uvc-extension-units I am trying to find the source code the this example. where can I find the implementation of hr = FindExtensionNode(pKsTopologyInfo, …
Gilad
  • 6,437
  • 14
  • 61
  • 119
1
vote
0 answers

How to process a raw 10 bit video signal with opencv, to avoid purple distorted image?

I have created a custom UVC camera, which can streaming a 10 bit raw RGB(datasheet said) sensor's image. But i had to pack the 10 bit signal into 16 bit packets, and write the descriptors as a YUY2 media(UVC not support raw format). Now I have video…
LB91
  • 21
  • 6
1
vote
1 answer

How to retrieve raw data from YUV2 streaming

I am interfacing qvga sensor streaming out yuv2 format data through host application on windows (usb). How can I use any opencv-python example application to stream or capture raw data from yuv2 format. How can I do that? Is there any test example…
Emlinux
  • 39
  • 2
  • 13
1
vote
3 answers

How to query the serial number of a UVC camera?

I have two UVC cameras in a stereoscopic setup, controlled with a C++ MediaFoundation app. I need to uniquely identify them in order to assign left and right to each physical device. This camera model has a unique serial number in the USB…