I added an ESP32-S3 player Arduino example to the pl_mpeg repo for testing. It's nearly able to play 320x240 30fps video w/audio at full speed. The audio is the source of the slowdown now. It's the floating point samples and having to convert them to 16-bit integers. That's the next area to work on - getting rid of the floating point math.
Conversation
Notices
-
Embed this notice
Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Monday, 20-Jan-2025 02:58:49 JST Larry (Mr.Optimization) - alcinnz repeated this.
-
Embed this notice
Larry (Mr.Optimization) (fast_code_r_us@floss.social)'s status on Monday, 20-Jan-2025 02:59:21 JST Larry (Mr.Optimization) The video file is compiled into the code for this first demo; next I'll read it from the uSD card. This test is of a 22-second 320x240 30fps old Simpsons scene (1.8MB). It averages 2.7K bytes per frame (audio+video)