Play Bad Apple in Cumcord
This is very much WIP, don't expect any support from me.
- Download Bad Apple (use yt-dlp)
- Extract frames into folder with ffmpeg:
mkdir frames ffmpeg -i 【東方】Bad\ Apple\!\!\ PV【影絵】\ \[FtutLA63Cp8\].webm frames/%d.png
- Extract audio with ffmpeg:
ffmpeg -i 【東方】Bad\ Apple\!\!\ PV【影絵】\ \[FtutLA63Cp8\].webm -c:a copy audio.opus
- Configure everything (see Configuration)
- Install dependencies:
pnpm i - Process frames:
node process.mjs - Build plugin:
sperm build - Run
http-server --cors - Import
http://localhost:8080/dist
export default {
framerate: 30, // The framerate at which your video should run, don't set this too high
width: 86, // The width of the converted frames
textsize: "10px", // Adjusted card description size
};| Width | Text size |
|---|---|
| 48 | 16px |
| 86 | 10px |
| 280 | 3px |