VOXL2 + Logitech C270 UVC Camera Resolution
-
I am using the recommended UVC camera.
There is a problem using the UVC camera Logitech C270 in VOXL-2.
Logitech C270 supports 720p resolution.There is no problem if I set it to 640x480.
If you set it to 1280x720, the UVC server does not work.
voxl-uvc-server
{
"pipe name" : "uvc",
"width" : 1280,
"height" : 720,
"fps" : 30,
}
When set to 720p, UVC server appears as Not running.UVC server program modification is required.
Thanks,
JongSoo, Kim
-
@Jskim What do you see with
journalctl -u voxl-uvc-server
-
Thank you for the quick reply.
Sorry for the late reply. It was a holiday season in Korea.When executing the journalctl -u voxl-uvc-server command,
It says that the format size is incorrect.
Thanks
JS, kim
-
@Jskim If you are using USB 2.0 it probably cannot support that data rate. Please read the UVC tips here: https://docs.modalai.com/voxl-uvc-server/#tips to figure out what width, height, frame rate, and format combinations the camera is advertising as available.
-
Hi Eric,
- Is there a way to support H.265 when using a UVC camera in VOXL 2?
- The same symptom occurs even when using the USB3 port. Please tell me how to increase the UVC camera resolution?
- Existing 640x480 to 1024x768 or 1280x720
- Camera manufacturer Logitech C270, YUY2
Thanks,
-
@Jskim You would need to modify the voxl-uvc-server code to support h265 format. It doesn't currently support that.
-
@Jskim What is the output of
lsusb -v -d 046d:0825
when you attach the camera to USB 3.0? -
-
@Jskim The information you need is in the part you cut out. It will tell you all of the formats it supports. But since it is only USB 2.0 you are not going to get the higher resolutions without compression. USB 2.0 just doesn't have the bandwidth for it.
-
This is the result of our test using VOXL 2 USB3.0 / UART Expansion Adapter.
The symptom is the same even when using USB2.0 and USB3.0.Thanks,
Kim. -
@Jskim You need to look at that output of lsusb to see what formats it is supporting. I don't think the C270 is capable of USB 3.0. So those higher resolutions will only be available with compression. voxl-uvc-server does not support the compressed formats at this time.
-
@Eric-Katzfey Thanks for the reply. I'll try it with a different camera and let you know the results.
-
@Jskim
Please tell me how to change the UVC camera format.
It is currently set to YUY2.
I want to change it to MJPG. The reason is to increase the resolution.[Refer to DOCS contents on website]
The Arducam B0229 is an excellent choice:
Field of View (FOV)D=105°, H= 90°, V= 65°
Supports MJPG 15fps@ 3264x2448, 30fps@1080P, and YUY2 30fps@ 640x480 formats.Thanks,
KIm, -
@Jskim voxl-uvc-server doesn't support that format. You would have to modify the code to add that feature.