v1.2.1 — Linux/container fixes
Fixed
- Source builds on platforms without prebuilds — the install fallback ran
cmake-js(a devDependency, socommand not foundfor consumers); now invoked via npx - FFmpeg 5.x compatibility —
AVFrame.durationversion guard, so the defaultnode:22(Debian bookworm) Docker image compiles - Capability probe on GPU-less machines —
isConfigSupportedreported 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.