add README.md

This commit is contained in:
Crispy 2024-04-12 19:19:49 +02:00
parent 5dcf495744
commit 1c2cd2ff40

9
README.md Normal file
View file

@ -0,0 +1,9 @@
# video compressor and player for the ch32v003 with an SSD1306 32x128 OLED display
Put a webm file in `video/` and run `./convert <framerate>` to convert the video to a sequence of 32x40 images.
Run `cd encoder && cargo run` to convert to bytes, this will be exported to `data.h`.
Tweak framerate or MAX_ERROR in `main.rs` until the total size fits the 16k flash alongside the decoder.
By default it's tuned for bad apple.