I converted the APNG animation to a static PNG image under the agif project, and the transition was quite smooth.
However, after adding the MP4 playback interface, when switching from the PNG static image interface to the previous or next interface, the image appears slightly laggy. What could be causing this, and how can I optimize it?
I’m using the main branch SDK updated on December 30, 2025. The development board is Huangshan Pi.
These two configurations directly affect rendering speed. I suspect other interfaces may also suffer severe lag (for example, switching from the first screen to the second screen is also laggy).
If using a non-lagging solution, the interface switching lag issue isn’t resolved, and switching from the video interface back to the previous screen causes the system to freeze.
CONFIG_LCD_FB_USING_NONE=y needs to be removed, otherwise it will disable the LCD cache, causing the system to crash. Check the crash log and the subsequent system heap dump to see if the heap has been exhausted.