# Effex / video workshop The browser edition of [Effex](https://github.com/kaffeindecaf/effex). The site is built from static assets and renders video in the browser. Source clips and rendered MP4s stay on the device. ## Run locally Use Node.js 22 or newer. Run `npm ci`, `npm run build`, and `npm start` from this directory. Open http://127.0.0.1:4173. Run `npm run deploy` to rebuild and publish to Cloudflare. The video engine downloads on the first render. - Stretch has ten ratio presets and custom even pixel dimensions. - Classic, Bloom and Pulse alter MPEG-4 motion frames. They keep audio with one input. All datamosh modes can carry motion across an ordered list of clips. Multi-clip exports are silent. - Supermosh repeats a selected run of H.264 motion frames. Choose **Supermosh · 3 frames × 30** for 90 motion frames per donor. The input plays first, then each donor’s selected motion is applied to the previous image. Short slices near the end of a clip can contain fewer frames. Preview a motion clip and use its playhead to select its start. **Continue donor motion** appends the remaining predictive frames after the loop instead of moving straight to the next clip. - Water Bloom repeats a single selected MPEG-4 predicted frame. The mode is an independent browser implementation inspired by [Datamosher Pro's Water Bloom](https://github.com/Akascape/Datamosher-Pro/blob/Datamosher-Pro-master/Readme.md). The slice modes skip encoding beyond the selected motion for donors without a tail and export silent MP4s. - Timescratch reverses and retimes sections of video and audio. Pixelize, Stutter, and Crunch preserve the original audio timing. Use shorter clips on memory-constrained devices. Auto-sized output uses a maximum side of 1280 pixels. Custom stretch supports dimensions up to 1920 pixels per side. The downloaded result is H.264 MP4 with AAC audio when retained. Auto and GPU modes use WebGL 2 for Stretch (nearest, bilinear and bicubic), Pixelize and Crunch, and request hardware decoding and encoding through WebCodecs. The browser and its drivers decide whether hardware codecs are available. Unsupported effects, filters, and clips fall back to FFmpeg on the CPU. CPU / multicore uses the FFmpeg pthread core on browsers with cross-origin isolation and falls back to one core if startup or rendering fails. CPU / single core is available for every effect. The workbench reports the path that exported the result. ## Credits and source Gallery footage and the masthead still come from the Effex repository's `docs/gallery`. The masthead gears adapt [Verdy_p's public-domain cogwheel drawing](https://commons.wikimedia.org/wiki/File:Cog-icon-grey.svg). Interface references include [Aetherway](https://millennium-whoop.github.io/aetherway/), [Knoxstation](https://knoxstation.neocities.org/) and [Lethal Compound](https://lethalcompound.neocities.org/). The Supermosh mode adapts the encoded-segment repetition in [Supermosh](https://github.com/supermosh/supermosh.github.io/tree/98114353a099f880836eeabb370fcb27401db24d). This site is distributed under GPL-3.0-only. See LICENSE. The deployed footer links to a source archive with the site's scripts, assets and dependency lockfile. Video processing uses [ffmpeg.wasm](https://github.com/ffmpegwasm/ffmpeg.wasm) and its upstream [core build scripts and source references](https://github.com/ffmpegwasm/ffmpeg.wasm/tree/v0.12.10). The build uses the single-threaded `@ffmpeg/core@0.12.10` and multithreaded `@ffmpeg/core-mt@0.12.10` packages (GPL-2.0-or-later), `@ffmpeg/ffmpeg@0.12.15` (MIT) and [Mediabunny](https://github.com/Vanilagy/mediabunny) (MPL-2.0).