docs(blog): add article on preparing video for ESP32 displays with FFmpeg, tested in QEMU #864
Can you please provide a link to the Docker image?
The example project uses [ESP-IDF v6.1](https://github.com/espressif/esp-idf) on an ESP32-S3, with ESP_NEW_JPEG 1.0.2 and
[esp_lcd_qemu_rgb](https://components.espressif.com/components/espressif/esp_lcd_qemu_rgb)
1.0.2, run in [QEMU 9.2.2](https://github.com/espressif/qemu) that ships in the `espressif/idf:v6.1` Docker
Consider adding a link to esp_timer:
Each frame is shown for one frame period, timed with [esp_timer](https://docs.espressif.com/projects/esp-idf/en/v6.1/esp32s3/api-reference/system/esp_timer.html). If decoding
`JPEG_PIXEL_FORMAT_RGB565_LE`. Common display controllers, such as the ST7789 and ILI9341, take
It is not clear where to find this and other scripts until you reach the end of the article.
Maybe provide links?
It is not very easy to navigate to every script and recreate local files.
I highly recommend that you place all the scripts in a GitHub repo. Then obtaining all scripts will be as easy as cloning the repo.
Also, I will have a chance to easily update the scripts if needed in the future.
that fit an ESP32 display
To my knowledge, there is no such thing as an ESP32 display. Also, the wording in a few other places can be more optimized.
Maybe rephrase it to something like this:
summary: "How to turn a video into MJPEG frames sized for an ESP32-driven display, pack them into a flash data partition, and play them back with ESP_NEW_JPEG. Every step is checked in Espressif's QEMU without hardware by comparing decoded frames against FFmpeg's output. The article covers the FFmpeg, decoder, and QEMU issues encountered along the way."
@markksantos Thank you very much for your contribution!
The article looks great. Please add some links, improve the wording in a couple of places, and consider moving the scripts into a GitHub repo.
If you want to use a default image, please use a community author default.
"image": "img/authors/community-light.webp",
Thanks for the review! Pushed 01a8bed:
espressif/idf:v6.1 Docker image and esp_timer.img/authors/community-light.webp.On a repo for the scripts: agreed. Would espressif/developer-portal-codebase work, under content/blog/2026/11/preparing-video-for-esp32-displays/ with a README covering the build and QEMU steps? Then you can update them in one place. If that suits you, I'll open a PR there and replace the Full listings section with a link to that folder.
@markksantos Regarding where to possibly upload the scripts, it would be better if you could store them in your repository. This is the code that you created and own. You might want to further improve or maintain it in the future.
If you don't have a chance to create a repo, let's keep the code as part of the article.
Thanks, let's keep the code with the article then, so everything stays on one page.
To make the files easier to recreate, 6e732d3 opens Full listings with the folder layout and the commands that run it, and each listing's title now shows its path (for example mjpeg_player/main/main.c). The pointer near the top mentions the layout too.
@pedrominatel PTAL
@f-hollow, LGTM. Merging on Nov 20th is ok.
Thank you, @markksantos, for your contribution.
Thanks, @pedrominatel and @f-hollow. The article is already dated 2026-11-20, so it lines up with the merge.
Approved these changes.
pedrominatel
markksantos
📝 Description
This adds a community article: preparing video for ESP32 displays with FFmpeg, packing the MJPEG frames into a data partition, and playing them with ESP_NEW_JPEG. Every step was tested in Espressif's QEMU, with no board.
What was tested:
espressif/idf:v6.1image. FFmpeg was 9.0.2, and the FFmpeg behaviors were also checked on 7.1.5.It also covers four things that broke along the way and how they were handled:
esp_lcd_qemu_rgb'sdraw_bitmaphanging when QEMU runs headless (fixed with monitorscreendump).The full code is in collapsible listings at the end of the article, so nothing depends on an outside repository.
I drafted the article with help from an AI assistant. Every command in it was run and every number was measured before this PR. The author entry uses the default Espressif image.
Publish date
Expected publish date:
2026-11-20(tentative). Happy to adjust to your publication schedule.Review process
- Subject matter experts: whoever covers ESP_NEW_JPEG,
esp_lcd_qemu_rgbor Espressif's QEMU- Technical editors (
f-hollow,FBEZ, and/orpedrominatel)Checks
- Folder path is
content/blog/2026/11/preparing-video-for-esp32-displays- Folder and file names have no underscores, spaces, or uppercase letters
- Title updated
- Date matches the format
date: 20YY-MM-DD- Summary updated
- Authors added (
mark-santos, withdata/authors/mark-santos.json)- Tags added
- [x] This item is N/A
- All images are in .WebP format
- Images are 5-96 KB each, under the 500 kB limit
- All links are valid (checked today)
- No links to Google docs present
- No ESP-IDF documentation links, so no
stableorlatest- One commit
- Commit message follows Conventional Commits
- The branch is rebased on
main🔗 Related
🧪 Testing (Hugo)
bash tools/ci/check_article_details.shpasses locally on the rebased branch ("All required checks passed"), including its Hugo build.