Bars close to black
Black bars slide in from top and bottom and meet in the middle, ending on a full black frame in 0.6 s. Closing a scene, an end-of-clip shutter or a CRT switch-off feel.
Preview unavailable
Apply this to my video: "Bars close to black" from the 24fps video editor library.
Preset JSON: https://24fps.dev/video-editor/effects/letterbox-close-full-cc/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).
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- Same idea
- Also called: Horizontal Close, Landscape Close, TV Off, 电视关机, Effect category (web): Opening and closing
- Technique
- Closing shutter / screen-off
- Footage
- Man talking to camera, Pexels