Toggle Navigation
Hatchery
Eggs
bad apple
README.md
Users
Badges
Login
Register
README.md
raw
Content
# Bad Apple on the MCH Badge YOU NEED TO COPY A FILE ONTO A SD CARD MANUALLY AS IT IS TOO BIG TO UPLOAD HERE! GET IT FROM THE [GIT REPO](https://github.com/bahorn/bad-apple-mch-badge/blob/master/assets/out.bin). As is required by the galatic laws, this is bad apple running on the MCH badge at ~16fps. If you really want to read the code, it's avalible [here](https://github.com/bahorn/bad-apple-mch-badge) ## Setup * Copy `out.bin` onto a FAT formated SD card (you need to download this seperately!) * Place into the SD card in the badge. * `make install` to copy this over to your device and install the dependencies (or install from the hachery) ## How does this work? basically, reads 9600ish bytes from out.bin every frame in a batched way, running in a background task. ## Making the video file I downloaded bad apple off of youtube, removed audio, set to 24fps, Do something like: ``` ffmpeg -i ./bad-apple.webm -s 320x240 -an -filter:v fps=24 out.mp4 python3 assets/test.py out.mp4 ``` This will create `out.bin`.