No description
  • Rust 98.5%
  • Just 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-08 02:55:58 +01:00
src (slop) render a 4:3 crop of the spectrum 2026-11-08 02:49:17 +01:00
.gitignore (slop) add Bad Apple Fourier-domain renderer 2026-11-08 01:58:40 +01:00
AGENTS.md add AGENTS.md 2026-11-08 01:38:13 +01:00
Cargo.lock (slop) prune lockfile after dropping ffmpeg-sidecar default features 2026-11-08 02:38:24 +01:00
Cargo.toml use less specific version pins 2026-11-08 02:38:50 +01:00
justfile (slop) drop hardware-specific just recipes 2026-11-08 02:01:59 +01:00
README.md (slop) add README.md 2026-11-08 02:55:58 +01:00

bad-apple-fft

Renders a video as the magnitude spectrum of its frames: every frame goes through a 2D FFT, is scaled per frame, and is re-encoded with the original audio. Feed it Bad Apple and you get a film of its own Fourier transform.

Requirements

  • Rust
  • ffmpeg and ffprobe on PATH

Run

cargo run --release -- input.webm -o out.mp4

Options:

  • -o, --output <PATH> — where to write the video (default bad-apple-fft.mp4)
  • --start <SECONDS>, --duration <SECONDS> — trim the input
  • --gamma <FLOAT> — brightness curve; higher darkens dim frequencies
  • --nvenc / --vaapi — use hardware encoding

With the bundled source URL:

just download-video
just fft