tinyusb icon indicating copy to clipboard operation
tinyusb copied to clipboard

feat(uvc): support format frame based

Open lijunru-hub opened this issue 1 year ago • 4 comments

Describe the PR Add support for UVC frame-based

Transmitting H264 video streams using frame-based transfer on the ESP32-S3 has been very successful.

image

lijunru-hub avatar May 22 '24 13:05 lijunru-hub

@kkitayam PTAL! If you need any examples, I will provide them to you ASAP

lijunru-hub avatar May 22 '24 13:05 lijunru-hub

@kkitayam PTAL! If you need any examples, I will provide them to you ASAP

Sorry for late response. And, thank you for your suggestion. Could you share the example for this PR? I will try the example.

kkitayam avatar Jun 01 '24 02:06 kkitayam

@kkitayam PTAL! If you need any examples, I will provide them to you ASAP

Sorry for late response. And, thank you for your suggestion. Could you share the example for this PR? I will try the example.

Please try example with https://github.com/lijunru-hub/esp-iot-solution/tree/feat/usb_uvc_support_h265_trans/examples/usb/device/usb_dual_uvc_device.

You need to set up the ESP-IDF environment and use an ESP32S2/3 development board to flash this project. Please change the format of UVC1 to H264 in the menuconfig. This will simulate two UVC devices on the computer, playing one H264 stream and one JPG stream.

image

lijunru-hub avatar Jun 03 '24 10:06 lijunru-hub

@kkitayam hi kkitayan, you can try this with a esp32s3 devkit. https://espressif.github.io/esp-launchpad/?flashConfigURL=https://dl.espressif.com/AE/esp-iot-solution/config_test.toml

Just flash this bin, and you will see two camera. image

Project: https://github.com/lijunru-hub/esp-iot-solution/tree/feat/usb_uvc_support_h265_trans/examples/usb/device/usb_dual_uvc_device.

lijunru-hub avatar Jul 02 '24 03:07 lijunru-hub

@kkitayam This feature has been tested and validated for some time. May I ask if there are any remaining concerns or issues on your end?

lijunru-hub avatar Dec 02 '24 03:12 lijunru-hub

@HiFiPhile @hathach It would be great if this work from our colleague could be merged before the 0.17.1 release! :)

tore-espressif avatar Dec 03 '24 08:12 tore-espressif