Freeze flash with grain
A white flash at 1.6 s freezes the image with a contrast-heavy photo look, over film grain. Camera-shutter style stills inside a video edit.
Preview unavailable
Apply this to my video: "Freeze flash with grain" from the 24fps video editor library.
Preset JSON: https://24fps.dev/video-editor/effects/flash-freeze-grain-l4/preset.json (pass its "preset" to the engine).
Engine (MIT, no dependencies, ES module): https://24fps.dev/editor/engine.js. Download the engine next to your page (curl -O) rather than importing cross-origin, then import { mount } from "./engine.js" in a <script type="module"> served over http.
Wiring: root = a position:relative box at the video's size. media = { main }: main is a wrapper holding my video, filling the root. Then const fx = mount(root, { kind: "effect", preset, media }) and call fx.render(seconds) every frame. It is seek-safe: drive it from the GSAP timeline in HyperFrames or call render(frame / fps) in Remotion. Before capturing frames, await (fx.ready ?? document.fonts.ready).
Sound design: camera-shutter at 1.6s on the flash (shutter click). In HyperFrames, fetch each with media-use (e.g. npx hyperframes media-use resolve --type sfx --intent "camera-shutter" --project .; media-use needs `heygen auth login`, without it use `--local-only`, check with `--doctor`); elsewhere use royalty-free SFX or ones I give you.
Field reference: https://24fps.dev/video-editor/llms.txt. Keep sizes as fractions of the frame height so it works at any resolution. Credit: 24fps.dev/video-editor- Sound design
- camera-shutter at 1.6s on the flash (shutter click)
- Technique
- Common video-editor technique
- Footage
- Man talking and gesturing, Pexels