# Installer x264 avec Homebrew, apk, apt, MacPorts, Nix, pacman, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de x264 pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:x264
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install x264
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install x264
```

  Preuve: MacPorts ports tree: multimedia/x264/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add x264
```

  Preuve: Alpine Linux edge package indexes: x264 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install x264
```

  Preuve: Debian stable package indexes: x264 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#x264
```

  Preuve: nixpkgs package indexes: pkgs/by-name/x2/x264/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S x264
```

  Preuve: Arch Linux sync databases: x264 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/x264
```

  Preuve: Scoop official bucket manifest trees: bucket/x264.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id VideoLAN.x264 -e
```

  Preuve: Windows Package Manager source index: VideoLAN.x264 from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:x264
- **Gestionnaire de paquets:** Homebrew
- **Version:** r3222
- **Résumé source:** H.264/AVC encoder
- **Page d'accueil:** <https://www.videolan.org/developers/x264.html>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- x264 (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: r3222
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <https://code.videolan.org/videolan/x264>
- <https://en.wikipedia.org/wiki/X264>
- <https://wiki.x266.mov/docs/encoders/x264>
- <https://www.ffmpeg.org/general.html>
- <https://www.videolan.org/developers/x264.html>
- <https://x264.org/technology/>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - libx264-164 - 2:0.164.3108+git31e19f9-2+b1: normalized package name match | Debian stable package indexes: libx264-164 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | x264 video coding library | https://www.videolan.org/developers/x264.html
- Debian apt - libx264-dev - 2:0.164.3108+git31e19f9-2+b1: normalized package name match | Debian stable package indexes: libx264-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for libx264 | https://www.videolan.org/developers/x264.html
- Debian apt - x264 - 2:0.164.3108+git31e19f9-2+b1: normalized package name match | Debian stable package indexes: x264 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | video encoder for the H.264/MPEG-4 AVC standard | https://www.videolan.org/developers/x264.html
- Nix - x264: normalized package name match | nixpkgs package indexes: pkgs/by-name/x2/x264/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libx264-164 - 2:0.164.3108+git31e19f9-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libx264-164 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | x264 video coding library | https://www.videolan.org/developers/x264.html
- Ubuntu apt - libx264-dev - 2:0.164.3108+git31e19f9-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libx264-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for libx264 | https://www.videolan.org/developers/x264.html
- Ubuntu apt - x264 - 2:0.164.3108+git31e19f9-1: normalized package name match | Ubuntu 24.04 LTS package indexes: x264 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | video encoder for the H.264/MPEG-4 AVC standard | https://www.videolan.org/developers/x264.html
- apk - x264 - 0.164.3108-r1: normalized package name match | Alpine Linux edge package indexes: x264 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Free library for encoding H264/AVC video streams | https://www.videolan.org/developers/x264.html
- apk - x264-bash-completion - 0.164.3108-r1: normalized package name match | Alpine Linux edge package indexes: x264-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for x264 | https://www.videolan.org/developers/x264.html
- apk - x264-dbg - 0.164.3108-r1: normalized package name match | Alpine Linux edge package indexes: x264-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Free library for encoding H264/AVC video streams (debug symbols) | https://www.videolan.org/developers/x264.html
- apk - x264-dev - 0.164.3108-r1: normalized package name match | Alpine Linux edge package indexes: x264-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Free library for encoding H264/AVC video streams (development files) | https://www.videolan.org/developers/x264.html
- apk - x264-libs - 0.164.3108-r1: normalized package name match | Alpine Linux edge package indexes: x264-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Free library for encoding H264/AVC video streams (libraries) | https://www.videolan.org/developers/x264.html
- pacman - x264 - 3:0.165.r3222.b35605a-2: normalized package name match | Arch Linux sync databases: x264 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Open Source H264/AVC video encoder | https://www.videolan.org/developers/x264.html
- MacPorts - x264: normalized package name match | MacPorts ports tree: multimedia/x264/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/x264: normalized package name match | Scoop official bucket manifest trees: bucket/x264.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - VideoLAN.x264: normalized package name match | Windows Package Manager source index: VideoLAN.x264 from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/x264.yml](https://github.com/mxcl/pkgdb/blob/main/combined/x264.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
