duvitech-llc / ST-NUCLEO-F429ZI-CAM

16 stars 6 forks source link

Not able to find UVC Streaming Code #2

Open Ritesh236 opened 3 years ago

Ritesh236 commented 3 years ago

Hello Team,

I have checked whole code including main.c file but didn;t find streaming or image capture code.

So, is it somewhere else as I have compiled it for STM32F429ZI board?

Regards, Ritesh Prajapati

duvitech-llc commented 3 years ago

This will stream an image over USB using the UVC interface. It currently is setup to stream a static jpeg buffer but add camera capture code and you will have a streaming camera. I have been able to stream ov5640 sensor at 720p jpeg compressed stream from the camera sensor over UVC (USB2.0) at 24fps without any issues.

https://github.com/duvitech/stm32f4video.git

STM32F7 USB HS Composite UVC device streaming video from Quad spi rom over UVC isochronous endpoint to the host at 25 fps and receiving video from the host via a command line utility over a bulk display endpoint at 20+ fps (limited by the jpeg decoder, should be able to get closer to 30fps in the future). All frames are jpeg compressed to reduce bandwidth requirements. HS USB is running ~ 100 mbps .

https://youtu.be/_zxwnlAPDyg https://github.com/duvitech/stm32f7-composite.git