Static FFmpeg

FFmpeg Statigo

Static FFmpeg bindings for Go and standalone ffmpeg-statigo and ffprobe-statigo binaries across Linux, macOS, and Windows.

Packages install ffmpeg-statigo and ffprobe-statigo alongside a system FFmpeg, and Linux builds need glibc 2.39 or later. Go projects add this repository as a git submodule: see Go consumer integration and the project Wiki.

One static FFmpeg toolchain.
# Inspect media with the standalone CLI
ffprobe-statigo input.mp4

# Encode without a system FFmpeg
ffmpeg-statigo -i in.wav out.opus

# Or open media in Go with av
in, err := av.Open("input.mp4")
defer in.Close()
st, err := in.BestStream(
    ffmpeg.AVMediaTypeVideo)

Built to embed

Static FFmpeg.
Zero runtime installs.

Bundle static FFmpeg libraries straight into your Go binary, or run standalone CLI executables built from the same toolchain.

Read the codec and hardware matrix
Zero runtime dependencies
Static libraries link directly into your Go executable across Linux, macOS, and Windows. Ship one binary with no shared FFmpeg libraries to match.
Modern codecs and hardware acceleration
Includes H.264, H.265, AV1, VP8, VP9, WebP, Opus, MP3, AAC, FLAC, and Vorbis, plus NVENC, VA-API, QuickSync, VideoToolbox, and Vulkan Video.
Two licence profiles
Use default (GPLv3) for x264, x265, AV1, and GPU acceleration, or pass -tags=embedded for the software-only embedded (LGPLv2.1) profile with OpenH264.

From source to binary

Choose. Link. Ship.

Three steps take you from a Go module or shell workflow to a self-contained FFmpeg binary.

  1. Choose Go library or CLI

    Install ffmpeg-statigo and ffprobe-statigo from the repositories below, or add the repository as a git submodule with a go.mod replace directive.

  2. Pick default or embedded

    Run go run ./cmd/download-lib for the GPLv3 default library with GPU codecs, or add GOFLAGS=-tags=embedded for the LGPLv2.1 embedded build.

  3. Ship one static binary

    Build with CGO_ENABLED=1 go build ./... (or -tags=embedded) and distribute one self-contained executable with FFmpeg linked inside.

Full guides: Browse Go integration, standalone archives, and build details on the FFmpeg Statigo Wiki.

Get started

Install FFmpeg Statigo.

Choose your platform. APT, RPM, Arch, and Nix repositories are signed, and Homebrew and Scoop verify packages over HTTPS with SHA-256 checksums.

Packages install standalone ffmpeg-statigo and ffprobe-statigo binaries (default GPLv3 profile) that coexist with a system FFmpeg. Go projects can also embed the static library directly.

Linux packages need glibc 2.39 or later: Ubuntu 24.04, Debian 13, current Fedora, openSUSE Tumbleweed, and Arch Linux.

In production

Built with FFmpeg Statigo.

Every tool in the Linux Matters Jive suite compiles FFmpeg straight into its Go binary using FFmpeg Statigo.