Vibe Coding
Tip: Claude Fable 5.1 in Claude Code for web built a working ffmpeg.wasm compressor that emits its own ffmpeg commands
Simon Willison needed to shrink a demo video for a blog post and had Claude Code for web build a client-side tool around the WebAssembly build of FFMPEG. It produces five presets (Largest through Smallest) varying resolution, CRF 22-28, audio bitrate 128 to 64 kbps, encoder speed, H.264 profile, frame rate cap and metadata handling, rendering all five in 11.8 seconds at 145 KB to 264 KB (48% to 87% of original). The reusable part of the technique is having the tool print the equivalent ffmpeg command per preset, so the one-off artifact doubles as documentation you can run yourself.
↳ Follow the thread