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

@nomercy-entertainment/ffmpeg-static

v1.0.38

Published

Fetches the NoMercy FFmpeg fork binary (custom muxers, AACS/BD+ decrypt, libass) for the current platform. One static library for every CI action and every NoMercy package that needs ffmpeg.

Readme

@nomercy-entertainment/ffmpeg-static

Fetches the NoMercy FFmpeg fork binary for the current platform, on first use.

This is the fork the NoMercy MediaServer ships: custom muxers, AACS/BD+ decrypt, libass subtitle burn-in, and the codec set the product relies on. It is not stock ffmpeg — fixtures, transcodes, and probes produced with it match what the product produces in production. One package, so every CI action and every NoMercy library that needs ffmpeg resolves the same binary the same way.

Binaries come from the nomercy-ffmpeg GitHub releases. The package downloads the matching per-platform artifact, extracts it, caches it under the OS temp dir, and returns an absolute path.

Install

npm install @nomercy-entertainment/ffmpeg-static

Programmatic use

import { ensureFfmpeg, ensureFfprobe } from '@nomercy-entertainment/ffmpeg-static';

const ffmpeg = await ensureFfmpeg(); // absolute path, downloaded on first call
const ffprobe = await ensureFfprobe();

// then spawn it
import { spawnSync } from 'node:child_process';
spawnSync(ffmpeg, ['-version'], { stdio: 'inherit' });

ffmpegPath() and ffprobePath() are aliases for ensureFfmpeg() / ensureFfprobe(). Every call resolves the same cached path; only the first call downloads.

CLI use

The package installs two bins that print a resolved absolute path, so non-JS CI steps can capture the binary without writing any JavaScript:

FFMPEG=$(npx nomercy-ffmpeg-path)
FFPROBE=$(npx nomercy-ffprobe-path)

"$FFMPEG" -i input.mkv -c copy output.mp4

The path is printed to stdout; errors go to stderr with a non-zero exit code.

Environment overrides

| Variable | Effect | | --- | --- | | NOMERCY_FFMPEG | Absolute path to a pre-supplied ffmpeg. If it runs, it is returned as-is — no download. Use it to point at a CI cache or the MediaServer's bundled copy. | | NOMERCY_FFPROBE | Same, for ffprobe. | | NOMERCY_FFMPEG_VERSION | Override the pinned fork release tag (default v1.0.36). Lets CI bump the binary without a package release. | | NOMERCY_FFMPEG_FFVERSION | Override the upstream ffmpeg version in the asset name (default 8.1.1). |

Resolution order for each tool:

  1. The NOMERCY_FFMPEG / NOMERCY_FFPROBE env var, if it points at a runnable binary.
  2. A binary already cached from a previous run.
  3. The matching platform artifact from the fork's GitHub release — downloaded, extracted, cached, and the archive cleaned up.

Supported platforms

| OS | Arch | Release artifact | | --- | --- | --- | | Windows | x64 | windows-x86_64.zip | | Linux | x64 | linux-x86_64.tar.gz | | Linux | arm64 | linux-aarch64.tar.gz | | macOS | arm64 | darwin-arm64.tar.gz | | macOS | x64 | darwin-x86_64.tar.gz |

On an unsupported platform, resolution throws with the supported list and a pointer to NOMERCY_FFMPEG. Set that env var to use a binary you supply.

License

MIT — see LICENSE in the repository root.