Install#
Requirements#
- Node 24+
- pnpm 10.33+
- Emscripten SDK with
emcc,em++,emar, andemranlib - Autotools,
make,pkg-config,nasm, andyasm - Native
ffmpegfor verification fixtures and the playground sample video
On macOS:
brew install autoconf automake ffmpeg libtool nasm pkg-config yasm
Build#
pnpm install
pnpm build
Generated assets are written to dist/. Compiled TypeScript entrypoints are written to lib/.
Smoke Check#
pnpm verify
pnpm playground:e2e
pnpm verify exercises the wasm wrapper against generated media fixtures. pnpm playground:e2e launches Chrome, loads the local media playground, renders a smaller MP4 and MP3, and writes .tmp/playground-e2e.png.