activetheory/activeframe
소개
Custom .af video format for WebCodecs: frame-accurate playback without a video tag or third-party decoders.
디자인 및 미디어What you can do
- Frame-accurate control and random access
- Feed the frame natively to WebGL/WebGPU and Canvas 2D
- Hardware accelerated**
- Optimized for interactive scrubbing, 3D, image-like control over which frame is shown
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalActiveFrame 🖼️ (beta)

Demo: https://activetheory.github.io/activeframe/
More Context
ActiveFrame is a small pipeline and javascript library for turning a video into a single binary .af file and decoding it in the browser with the Web Codec API — without a <video> element and without third-party dependencies such as FFmpeg.wasm, Mediabunny, or other JS demuxers/decoders.
The file packs raw encoded samples (H.264 / H.265) plus a JSON manifest. The runtime loads the buffer, configures the decoder from the manifest, and exposes frame-accurate navigation via setFrame(index).
Why use this instead of “regular” video?
- Frame-accurate control and random access
- Feed the frame natively to WebGL/WebGPU and Canvas 2D
- Hardware accelerated**
- Optimized for interactive scrubbing, 3D, image-like control over which frame is shown
- You can keep multiple videos "in sync"
- Predictable loading times, buffering, etc
Why use this instead of “regular” spritesheet?
- Smaller file size, leveraging H.264 / H.265 intra frame compression
- Better memory management
Generating an .af file
node af.js <input video> <output.af> [maxWidth] [h264|h265] [gop] [crf]
Roadmap / ideas
- Surface codec support before loading (e.g. companion manifest or a tiny probe).
- Streaming or partial fetch (range requests), LOD, adaptive quality.
- Runtime tuning of hardware vs software decode based on performance.
- Benchmark suite to calibrate and fine tune performance and hw support.
Demo video is from Netflix Open Content – Meridian. Under Creative Commons Attribution 4.0 International Public License.
관련 프로젝트 살펴보기
불러오는 중…