1
0
Fork 0
pico-led-matrix/firmware
radex e246a239b3
tweak config
2024-05-18 10:15:18 +02:00
..
.vscode tweak config 2024-05-18 10:15:18 +02:00
include dump rp2040 firmware experiments 2024-03-18 22:53:04 +01:00
lib firmware/lib: +lodepng dump 2024-03-23 22:09:34 +01:00
scripts gfx to blob, gfx sd reading poc 2024-05-17 20:40:58 +02:00
src audio switch lol 2024-05-18 10:14:56 +02:00
test dump rp2040 firmware experiments 2024-03-18 22:53:04 +01:00
.gitignore gfx to blob, gfx sd reading poc 2024-05-17 20:40:58 +02:00
README.md gfx to blob, gfx sd reading poc 2024-05-17 20:40:58 +02:00
platformio.ini audio from sd 2024-05-17 19:03:59 +02:00

README.md

convert video

ffmpeg -i ../badapple.webm -vf "fps=30,scale=40:40:force_original_aspect_ratio=increase,crop=40:40,format=gray" gfx/frame_%04d.png

move to gfx folder, then:

# old method
# python3 scripts/gfx_convert.py
python3 scripts/gfx_to_blob.py

convert audio

ffmpeg -i ../badapple.webm -ar 44000 audio/output.wav

move to audio folder, then:

python3 scripts/audio_convert.py

on the SD card, create a folder named badapple and inside, add audio.bin from audio and gfx.bin and gfx_len.bin from gfx_output.