Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

kasi-archive/cc-badapple

Repository files navigation

cc-badapple

Play Bad Apple in Cumcord
This is very much WIP, don't expect any support from me.

Usage

  1. Download Bad Apple (use yt-dlp)
  2. Extract frames into folder with ffmpeg:
    mkdir frames
    ffmpeg -i 【東方】Bad\ Apple\!\!\ PV【影絵】\ \[FtutLA63Cp8\].webm frames/%d.png
  3. Extract audio with ffmpeg:
    ffmpeg -i 【東方】Bad\ Apple\!\!\ PV【影絵】\ \[FtutLA63Cp8\].webm -c:a copy audio.opus
  4. Configure everything (see Configuration)
  5. Install dependencies: pnpm i
  6. Process frames: node process.mjs
  7. Build plugin: sperm build
  8. Run http-server --cors
  9. Import http://localhost:8080/dist

Configuration

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
};

Sample sizes

Width Text size
48 16px
86 10px
280 3px

About

Play Bad Apple in Cumcord

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published