Hi everyone,
I’m working with the ESP32-P4 EV board and I want to play a .mp4 video file stored on an SD card and display it on an MIPI DSI display connected to the board.
I have a few doubts:
Does the ESP32-P4 support decoding MP4 (H.264 or similar) video formats directly in hardware?
If not, is there any existing library or workaround to decode video frames in software (even at low resolution and frame rate)?
Are there any sample projects or code references for playing video from an SD card on the ESP32-P4 with MIPI DSI output?
I’d appreciate any guidance, tips, or references!
Thanks in advance.
How to play a .mp4 video from SD card on ESP32-P4 EV board
-
digitalLumberjack
- Posts: 10
- Joined: Mon Jul 08, 2024 3:01 pm
Re: How to play a .mp4 video from SD card on ESP32-P4 EV board
Hello, check https://github.com/espressif/esp-h264-component/ and https://github.com/espressif/esp-h264-c ... t/issues/5
Decodes H264, no mp4 and aac support in the module but you can check in ESP-ADF for mp3 decoding.
Decodes H264, no mp4 and aac support in the module but you can check in ESP-ADF for mp3 decoding.
-
ahsrabrifat
- Posts: 201
- Joined: Sat Jan 18, 2025 2:31 pm
Re: How to play a .mp4 video from SD card on ESP32-P4 EV board
The ESP32-P4 does not support hardware decoding of H.264 video streams. You have to use Espressif's esp_h264 Component. This library provides a lightweight H.264 decoder based on TinyH264, optimized for ESP32 chips. It supports decoding of baseline profile streams and is suitable for low-resolution and low-frame-rate applications.
Who is online
Users browsing this forum: PerplexityBot and 5 guests