Skip to content

pixpaper-213-m: add the video player (RPi5) - #7

Merged
wigcheng merged 1 commit into
open-ep:masterfrom
lc-wang:video-player
Aug 11, 2026
Merged

wigcheng merged 1 commit into
open-ep:masterfrom
lc-wang:video-player

Conversation

@lc-wang

@lc-wang lc-wang commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Plays video on the 2.13" mono panel over the same partial-refresh path as the Open-EP Pet demo: video2epd.py packs every frame into controller RAM order on the host, so the board only mmaps the pack and pushes one 4000-byte SPI burst per frame. The player loads the partial LUT once and writes bank 0x24 only, letting the controller diff against the previous frame.

Frame time is 47.3 + (tp + 2) * period(fr) ms: ~21 fps is the ceiling, and anything faster than the 3.5 fps default is taken out of the drive time that moves the pigment. --tp and --fr tune it per panel.

RPi5 only, the one board this has run on. The gpiochip name is #ifndef-guarded because the header GPIO has moved between Pi 5 kernels: make EXTRA_CFLAGS='-DEPD_GPIO_CHIP="gpiochip0"'.

Plays video on the 2.13" mono panel over the same partial-refresh path
as the Open-EP Pet demo: video2epd.py packs every frame into controller
RAM order on the host, so the board only mmaps the pack and pushes one
4000-byte SPI burst per frame. The player loads the partial LUT once and
writes bank 0x24 only, letting the controller diff against the previous
frame.

Frame time is 47.3 + (tp + 2) * period(fr) ms: ~21 fps is the ceiling,
and anything faster than the 3.5 fps default is taken out of the drive
time that moves the pigment. --tp and --fr tune it per panel.

RPi5 only, the one board this has run on. The gpiochip name is
#ifndef-guarded because the header GPIO has moved between Pi 5 kernels:
make EXTRA_CFLAGS='-DEPD_GPIO_CHIP=\"gpiochip0\"'.
@wigcheng
wigcheng merged commit f1a8df9 into open-ep:master Aug 11, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants