MaixPy-v1 icon indicating copy to clipboard operation
MaixPy-v1 copied to clipboard

video performance

Open hasaranga opened this issue 5 years ago • 4 comments

Hi, How to improve the video playback performance? Is it possible to play at least 25fps? Thanks!

hasaranga avatar Dec 21 '20 16:12 hasaranga

It's totally drived by CPU, including compress JPEG and encode to MJPEG avi, so maybe some where can be improved like compress algorithm or use dual core to proccess

Neutree avatar Dec 22 '20 01:12 Neutree

It's totally drived by CPU, including compress JPEG and encode to MJPEG avi, so maybe some where can be improved like compress algorithm or use dual core to proccess

No, I mean playback performance of the video file on sd card. I want to play 25fps video file without slowing down.

hasaranga avatar Dec 22 '20 03:12 hasaranga

Right, I mean now can not play with 25fps because of the CPU performance and decode algorithm speed and SD card read speed limitation, one of them can be a bottleneck,optimize them to achive 25fps playback or just use a higher compression rate for avi videos to reduce decode time

Neutree avatar Dec 22 '20 03:12 Neutree

How fast can we read from SD card? (kilobytes per second)

hasaranga avatar Dec 22 '20 03:12 hasaranga