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

ffmpeg-installer

v2.0.0

Published

One-command FFmpeg build from source — installs x264, x265, VP9, AV1, AAC, MP3 and more on CentOS/RHEL so you don't have to.

Readme

What's Inside

This installer builds FFmpeg from source with the following encoders enabled:

| Encoder | Format | Type | |---------|--------|------| | x264 | H.264 | Video | | x265 | H.265 / HEVC | Video | | libvpx | VP8 / VP9 | Video | | libaom | AV1 | Video | | fdk-aac | AAC | Audio | | LAME | MP3 | Audio | | Opus | Opus | Audio | | Vorbis | Vorbis | Audio |

All libraries are built as static and installed to ~/ffmpeg_build. The ffmpeg binary is installed to ~/bin.

Based on the official FFmpeg compilation guide for CentOS.

Supported Platforms

| Distro | Package Manager | |--------|----------------| | CentOS / RHEL | yum | | Rocky / AlmaLinux / Amazon Linux / Fedora | dnf | | Ubuntu / Debian | apt |

The installer auto-detects your OS via /etc/os-release and uses the correct package manager.

Prerequisites

  • One of the supported platforms above
  • cmake 3.5+ (automatically upgraded by the installer if below 3.5)

Quick Start

Install

chmod +x ./bin/install.sh
./bin/install.sh

Uninstall

chmod +x ./bin/uninstall.sh
./bin/uninstall.sh

FFmpeg Command Examples

Video to Sequential Images

ffmpeg -i input.mp4 -vf fps=1 output_%04d.png

Sequential Images to MP4

ffmpeg -framerate 1 -i input_%04d.png -vcodec libx264 -pix_fmt yuv420p -r 60 output.mp4

| Parameter | Description | |-----------|-------------| | -framerate | Input frame rate (images per second) | | -r | Output frame rate | | -vcodec libx264 | H.264 encoder | | -pix_fmt yuv420p | Pixel format for broad compatibility |

Sequential Images to GIF

ffmpeg -framerate 1 -i input_%04d.png -r 60 -vf scale=512:-1 output.gif

| Parameter | Description | |-----------|-------------| | -vf scale=512:-1 | Scale width to 512px, maintain aspect ratio. Omit for original size |

Node.js Examples

Using ffmpeg-stream:

cd examples
npm install
node images2mp4.js
node images2gif.js

| Description | File | |-------------|------| | Images to MP4 | examples/images2mp4.js | | Images to GIF | examples/images2gif.js |

Changelog

See CHANGELOG.md for release history.

License

MIT — see LICENSE.

Author