Automic VaultAutomic Vault

brew

Install x264 with Homebrew, apk, apt, MacPorts, Nix, pacman, scoop, winget

H.264/AVC encoder. Version r3222 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install x264

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install x264

MacPorts ports tree · multimedia/x264/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add x264

Alpine Linux edge package indexes · x264 · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libx264-164

Debian stable package indexes · libx264-164 · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#x264

nixpkgs package indexes · pkgs/by-name/x2/x264/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S x264

Arch Linux sync databases · x264 · source: geo.mirror.pkgbuild.com

Windows

Scoopverified · 92%
scoop install main/x264

Scoop official bucket manifest trees · bucket/x264.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id VideoLAN.x264 -e

Windows Package Manager source index · VideoLAN.x264 · source: cdn.winget.microsoft.com

overview

Package summary

H.264/AVC encoder

Commands and aliases

  • x264

history

Project history and usage

x264 is VideoLAN's open-source H.264/MPEG-4 AVC encoder library and command-line encoder. It is one of the defining software video encoders of the broadband-video era: a GPL project that became both a default tool for enthusiasts and a commercially licensed engine inside many professional products.

The project began in 2004, shortly after the first H.264/AVC specification was released in May 2003. x264's history is bound to VideoLAN and FFmpeg, because VideoLAN hosts the source community while FFmpeg exposes x264 through `libx264`, making it available to a huge base of transcoding workflows.

Project history

x264 was started to produce an open-source encoder that implemented the H.264/AVC standard with high quality and high performance. The project's commonly cited developer lineage begins with Laurent Aimar, then Loren Merritt, and later includes Fiona Glaser, Anton Mitrofanov, Henrik Gramner, and other contributors who worked heavily on psycho-visual tuning, rate control, threading, and hand-optimized assembly.

A major institutional turn came in 2010 with the formation of x264, LLC. The community kept the GPL version available, while the company provided commercial licensing for users who wanted to ship x264 in proprietary products without releasing their own source under the GPL. That dual path helped x264 remain both a free-software project and a commercial codec product.

Adoption history

x264's adoption accelerated because it arrived when H.264 was becoming the practical common denominator for web video, Blu-ray workflows, mobile devices, and streaming services. The x264 licensing site describes it as the most widely deployed AVC encoder and says its use expanded into billions of devices and commercially licensed products.

FFmpeg integration was decisive for package-manager users. FFmpeg documents x264 as an external library for H.264 encoding, enabled with `--enable-libx264`, and many frontends and scripts use FFmpeg rather than invoking the `x264` binary directly. That relationship made x264 a core codec package even on systems where users only see it through a larger media pipeline.

How it is used

The standalone `x264` command commonly reads raw or YUV4MPEG video and writes an H.264 elementary stream or supported container output. Its famous operational model is preset plus quality target: users pick a speed preset, choose CRF or bitrate/rate-control settings, and let the encoder balance compression effort against time.

In daily use x264 is also a library dependency. Video tools call it through APIs such as FFmpeg's `libx264` wrapper to create H.264 streams for archival, streaming ladders, screen recordings, social video, and compatibility-focused transcodes. Its GPL licensing matters operationally: enabling it can change the license obligations of the resulting FFmpeg build.

Why package nerds care

x264 is a package-nerd landmark because it made 'software H.264 encoder' mean something specific: a small command and library with deep SIMD assembly, mature rate control, and highly tuned presets. It became a benchmark against which later encoders, including HEVC encoders, were compared.

It is also a classic example of codec packaging complexity. The same upstream can be an executable, a linkable library, a GPL licensing trigger, and a commercially licensed component, so package metadata around x264 often carries more legal and ecosystem meaning than a normal CLI tool.

Timeline

  • 2003-05: The first H.264/AVC specification is released.
  • 2004: The x264 project starts as an open-source AVC encoder.
  • 2008: Fiona Glaser joins the x264 development effort, one of several contributors associated with later quality and performance work.
  • 2010: x264, LLC is formed to provide commercial licensing while GPL development continues.
  • 2010s: x264 becomes deeply embedded in FFmpeg-based transcoding and professional encoding workflows.

Related projects

  • VideoLAN hosts the x264 source project and is also known for VLC.
  • FFmpeg integrates x264 through `libx264` and is the path by which many users invoke it.
  • x265 is the HEVC successor-era encoder that explicitly leverages ideas and optimizations from x264.
  • OpenH264 is a separate H.264 encoder project with different licensing and deployment tradeoffs.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
x264cliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager versionr3222
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://www.videolan.org/developers/x264.html

install metadata

Package metadata

Package keybrew:x264
Versionr3222
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/x264
Homepagehttps://www.videolan.org/developers/x264.html
Repositoryhttps://code.videolan.org/videolan/x264
Upstream docshttps://www.videolan.org/developers/x264.html
LicenseGPL-2.0-or-later
Source archivehttps://code.videolan.org/videolan/x264.git
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namex264
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libx264-164 2:0.164.3108+git31e19f9-2+b1

x264 video coding library

https://www.videolan.org/developers/x264.html

sudo apt install libx264-164
  • Section: libs
  • Architecture: amd64
  • Source Package: x264
  • 1 dependencies
  • normalized package name match
  • Matched by: X264
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libx264-164 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libx264-dev 2:0.164.3108+git31e19f9-2+b1

development files for libx264

https://www.videolan.org/developers/x264.html

sudo apt install libx264-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: x264
  • 1 dependencies
  • normalized package name match
  • Matched by: X264
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libx264-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

x264 2:0.164.3108+git31e19f9-2+b1

video encoder for the H.264/MPEG-4 AVC standard

https://www.videolan.org/developers/x264.html

sudo apt install x264
  • Section: graphics
  • Architecture: amd64
  • Source Package: x264
  • 7 dependencies
  • normalized package name match
  • Matched by: X264
Debian stable package indexes · deb.debian.org · Debian stable package indexes: x264 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

x264

nix profile install nixpkgs#x264
  • normalized package name match
  • Matched by: X264
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/x2/x264/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libx264-164 2:0.164.3108+git31e19f9-1

x264 video coding library

https://www.videolan.org/developers/x264.html

sudo apt install libx264-164
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: x264
  • 1 dependencies
  • normalized package name match
  • Matched by: X264
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libx264-164 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libx264-dev 2:0.164.3108+git31e19f9-1

development files for libx264

https://www.videolan.org/developers/x264.html

sudo apt install libx264-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: x264
  • 1 dependencies
  • normalized package name match
  • Matched by: X264
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libx264-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

x264 2:0.164.3108+git31e19f9-1

video encoder for the H.264/MPEG-4 AVC standard

https://www.videolan.org/developers/x264.html

sudo apt install x264
  • Section: universe/graphics
  • Architecture: amd64
  • 7 dependencies
  • normalized package name match
  • Matched by: X264
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: x264 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

x264 0.164.3108-r1

Free library for encoding H264/AVC video streams

https://www.videolan.org/developers/x264.html

sudo apk add x264
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: x264
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: X264
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: x264 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

x264-bash-completion 0.164.3108-r1

Bash completions for x264

https://www.videolan.org/developers/x264.html

sudo apk add x264-bash-completion
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: x264
  • normalized package name match
  • Matched by: X264
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: x264-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

x264-dbg 0.164.3108-r1

Free library for encoding H264/AVC video streams (debug symbols)

https://www.videolan.org/developers/x264.html

sudo apk add x264-dbg
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: x264
  • 1 dependencies
  • normalized package name match
  • Matched by: X264
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: x264-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

x264-dev 0.164.3108-r1

Free library for encoding H264/AVC video streams (development files)

https://www.videolan.org/developers/x264.html

sudo apk add x264-dev
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: x264
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: X264
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: x264-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

x264-libs 0.164.3108-r1

Free library for encoding H264/AVC video streams (libraries)

https://www.videolan.org/developers/x264.html

sudo apk add x264-libs
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: x264
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: X264
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: x264-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

x264 3:0.165.r3222.b35605a-2

Open Source H264/AVC video encoder

https://www.videolan.org/developers/x264.html

sudo pacman -S x264
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: X264
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: x264 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

x264

sudo port install x264
  • normalized package name match
  • Matched by: X264
MacPorts ports tree · api.github.com · MacPorts ports tree: multimedia/x264/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/x264

scoop install main/x264
  • normalized package name match
  • Matched by: X264
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/x264.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

VideoLAN.x264

winget install --id VideoLAN.x264 -e
  • normalized package name match
  • Matched by: X264
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: VideoLAN.x264 from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment