npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kitsra/kavio-render

v0.4.1

Published

Render execution layer for Kavio: browser frame capture and FFmpeg encoding.

Readme

@kitsra/kavio-render

Concrete local render execution for Kavio: browser frame capture plus FFmpeg encoding.

Install

corepack pnpm add @kitsra/kavio-render

Render Binaries

Kavio resolves FFmpeg in this order:

  1. The executable file named by KAVIO_FFMPEG_PATH.
  2. A system ffmpeg on PATH.
  3. The optional ffmpeg-static package.

An invalid KAVIO_FFMPEG_PATH is reported instead of silently selecting a different binary. To run with FFmpeg 8, install it on the host or point KAVIO_FFMPEG_PATH at it; ffmpeg-static is only a compatibility fallback and is not represented as FFmpeg 8.

Call resolveFfmpegDiagnostics() to confirm the exact path, resolution source, and version that Kavio will use. This value can also be recorded alongside render metadata:

import { resolveFfmpegDiagnostics } from "@kitsra/kavio-render";

console.log(await resolveFfmpegDiagnostics());
// { path: "/opt/homebrew/bin/ffmpeg", source: "system", version: "8.0.1" }

@kitsra/kavio-render also declares playwright as an optional dependency. Projects using the ffmpeg-static fallback or browser rendering should provision those binaries after install:

corepack pnpm rebuild ffmpeg-static
corepack pnpm exec playwright install chromium

No dependency upgrade is required for FFmpeg 8 support: the FFmpeg runtime is supplied explicitly by the caller or host, avoiding lockfile churn and avoiding any false claim that the pinned ffmpeg-static package provides FFmpeg 8.

What It Does

  • Provides PlaywrightDriver for browser frame capture.
  • Supports deterministic custom HTML frame callbacks, used by @kitsra/kavio-react for opt-in component rendering.
  • Encodes opaque graphics-only Kavio stage captures as the primary video stream so live browser transitions are not dropped by FFmpeg framesync.
  • Resolves FFmpeg binaries.
  • Assembles render commands.
  • Maps linear full-frame image transition tracks to FFmpeg-direct fade, directional wipe/slide/push, circular iris, clock-wipe, zoom, blur, squeeze, letterbox, and constrained black/white color filters.
  • Renders a single composition/export.
  • Streams png-sequence captures to deterministic frame-%05d.png files in a new output directory without invoking FFmpeg.
  • Expands and renders batch jobs, retaining worker-local Chromium processes across compatible browser-overlay jobs while isolating each job in a fresh browser context and harness.

Links

  • Repository: https://github.com/kitsra/kavio
  • Rendering docs: https://github.com/kitsra/kavio/blob/main/docs/rendering.md
  • Render pipeline docs: https://github.com/kitsra/kavio/blob/main/docs/render-pipeline.md
  • License: Elastic-2.0