Comments (5)
@jeff-getlucky 对于同一个摄像头,不同的 USB 模式会有不同的描述符配置,PC 上拿到的 Highspeed 描述符,S3 下摄像头只能工作在 Full-speed 模式,拿到的是 Full-speed 描述符。
现在无法确认是 S3 平台的解析问题。
可以在摄像头连接到 PC 之前加一个 USB 隔离器,PC 上获取 Full-speed 描述符进一步对比
from esp-iot-solution.
@jeff-getlucky 对于同一个摄像头,不同的 USB 模式会有不同的描述符配置,PC 上拿到的 Highspeed 描述符,S3 下摄像头只能工作在 Full-speed 模式,拿到的是 Full-speed 描述符。
现在无法确认是 S3 平台的解析问题。
可以在摄像头连接到 PC 之前加一个 USB 隔离器,PC 上获取 Full-speed 描述符进一步对比
但单独看esp32s3解析到的fps是4266.6538ms->0.234 fps
不可能呀
正常应该是16.6666到100ms之间,这个是解析错位了。
ep32s3解析FrameInterval 0x028B0A2A
右移两位就是正确的fps了,但光改这个不行,我尝试修改了final_interval,目前没效果,还在尝试修改其他地方。
from esp-iot-solution.
@jeff-getlucky dwDefaultFrameInterval 是一个 word,4 个 Bytes,如果你能修改摄像头固件,查一下 Fullspeed 的描述符,这个变量数据类型是不是选错了
from esp-iot-solution.
@jeff-getlucky dwDefaultFrameInterval 是一个 word,4 个 Bytes,如果你能修改摄像头固件,查一下 Fullspeed 的描述符,这个变量数据类型是不是选错了
改不了固件,正确的frame interval应该是0x00028B0A,也是一个word。
哦,对了,忘了说了,很多字段解析错了,不止dwDefaultFrameInterval,甚至连bLength都对不上。
我这边有两个不同品牌的摄像头,在esp32s3上表现是一样的,usb描述符都不对。
在Windows上用potplayer播放没问题。
我去买一个usb2.0 full-speed的hub试一下,谢谢了。
from esp-iot-solution.
usb隔离器到了,确实是因为摄像头不支持full speed。
from esp-iot-solution.
Related Issues (20)
- [usb_stream] Bad UVC frame (AEGHB-659) HOT 10
- esp_ble_conn_mgr no disconnect event (AEGHB-663) HOT 1
- esp_conn_mgr does not advertise service uuid when include_service_uuid is set (AEGHB-665)
- 'esp_spiram_get_size' was not declared in this scope (AEGHB-667) HOT 1
- [usb_device_uac] assert failed: xTaskCreatePinnedToCore freertos_tasks_c_additions.h (AEGHB-674) HOT 2
- [espressif/keyboard_button] How to trigger KBD_EVENT_COMBINATION? HOT 5
- USB CDC 4G Example getting stuck (AEGHB-681) HOT 3
- where the head file (AEGHB-683) HOT 1
- [espressif/keyboard_button] How to handle previously pressed keycodes? (AEGHB-685) HOT 2
- examples/usb/host/usb_camera_mic_spk (AEGHB-690) HOT 1
- EPS32S3 SH8601 QSPI驱动无法正常使用 (AEGHB-692) HOT 5
- iot_button_get_event无法获取到BUTTON_SINGLE_CLICK,BUTTON_DOUBLE_CLICK事件 (AEGHB-693) HOT 7
- 下载espressif_esp_lcd_st7701_1.1.0压缩包解压后,构建项目提示错误 (AEGHB-694) HOT 2
- LED Indicator组件的led_indicator_start和led_indicator_set_brightness亮度值过渡不连续 (AEGHB-697) HOT 8
- USB_dongle 无法发送命令 (AEGHB-715) HOT 2
- How to enable communication between PC and espS3 with USB dongle burned? (AEGHB-720) HOT 1
- st7701 RGB+SPI display rotation support (AEGHB-721) HOT 1
- Missing documentation (IDFGH-13201) (AEGHB-724) HOT 1
- usb_webcam example no longer working because no versions of espressif/tinyusb match >=0.15.0~10 (AEGHB-730) HOT 13
- ESP32-S3-A7670E-4G 开发板,usb 设备先上电 或者 执行 esp_reset() 后,_usbh_processing_task 无法找到 usb 设备进入无限等待。 (AEGHB-737) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-iot-solution.