This is a display + LVGL9 graphics library example. Play mjpeg wideo from SD card.
Select board in menuconfig
: Component config → Board Support Package(ESP32-P4) → Display → Select LCD type
- LCD 1280x800 - ili9881c
- LCD 7-inch 1024x600 - ek79007
idf.py -p COMx flash monitor
Save *.mjpeg
video files into root
on SD card. You can select video file and play it.
- You can connect USB mouse to control it by mouse cursor. For disable USB mouse set
APP_SUPPORT_USB_MOUSE
to zero. - USB keyboard is not working right now.
Create video without audio:
.\ffmpeg.exe -i input_video.mp4 -vcodec mjpeg -q:v 2 -vf "scale=800:450" -an output_video.mjpeg