Skip to content

v1.2.1 — Linux/container fixes

Choose a tag to compare

@caseymanos caseymanos released this 14 Jul 22:59
· 11 commits to main since this release

Fixed

  • Source builds on platforms without prebuilds — the install fallback ran cmake-js (a devDependency, so command not found for consumers); now invoked via npx
  • FFmpeg 5.x compatibilityAVFrame.duration version guard, so the default node:22 (Debian bookworm) Docker image compiles
  • Capability probe on GPU-less machinesisConfigSupported reported H.264 unsupported when the VAAPI candidate failed to open, instead of falling back to software as documented. This made Mediabunny skip H.264 and fall back to AV1 in containers.
  • Deep imports (node-webcodecs/dist/*) restored alongside the exports map

Verified in a node:22-bookworm arm64 container: Mediabunny full-file decode at 1,100–1,370 fps vs ~330 fps via @mediabunny/server (3.5–4×), and transcode completes where NodeAV's bundled encoder fails to open.