2019-01-26 04:35 AM
Basically My idea is to make an IP camera .My intention is to use STM32F765 mcu to capture live video and compress it to JPEG or MPEG format to transfer the video over the internet.
Is it possible ??
2019-01-27 08:18 PM
Hi Chayan,
Yes it is possible to hook a camera sensor to the DCMI port and pipe that data through the Hardware JPEG codec to compress it and send the compressed data over Ethernet to be received by an application. There will be a lot of limiting factors, a 640x480 image at 15 frames per second should be achievable, but anything more than that may not be feasible just based on the specs of the STM32F7. You can always hook up a sensor that has JPEG compression built into it, like the OV5640, this will then become a task of receiving the sensor data and streaming it over Ethernet and the only limitations will fall on the speed of the STM32F7 Ethernet capabilities and sensor capabilities. I believe that the OV5640 is capable of up to 1080p at 30fps and the Ethernet on the STM32F7 should be around 50Mbps, so a 720P image at 30fps should be achievable. A 720P image at 30FPS should only require a bandwidth of about 30Mbps which will leave you some head room.
2019-01-27 10:21 PM
Thanks givgelet I will try this option.
2019-01-28 07:37 PM
If you download the latest cube software and libraries for the STM32F7 you will want to look at teh STM32F769I_EVAL examples. There Is a DCMI example for capturing an image from a sensor, JPEG folder contains an encoding example and under applications LwIP there are some HTTP examples.