X264 Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Raspbian And MacOS

X264 Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Raspbian And MacOS

x264

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

Maintainer: Debian Multimedia Maintainers



Section: graphics

Install x264

  • Debian apt-get install x264 Click to copy
  • Ubuntu apt-get install x264 Click to copy
  • Alpine OS apk add x264 Click to copy
  • Arch Linux pacman -S x264 Click to copy
  • Kali Linux apt-get install x264 Click to copy
  • Raspbian apt-get install x264 Click to copy
  • macOS brew install x264 Click to copy

x264

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

x264 is an advanced commandline encoder for creating H.264 (MPEG-4 AVC) video streams. x264 supports the following features: * CABAC (context-based adaptive binary arithmetic coding) and CAVLC (context-based adaptive variable length coding * multiple reference frames * 16x16, 8x8 and 4x4 intra-predicted macroblocks * all P-frame inter-predicted macroblock types * B-Inter-predicted macroblock types from 16x16 down to 8x8 * rate distortion optimization * multiple rate control modes (constant quantizer, constant quality, single or multipass ABR with the option of VBV) * scene cut detection * adaptive B-frame placement, with the option of keeping B-frames as references / arbitrary frame order * 8x8 and 4x4 adaptive spatial transform (high profile) * lossless mode (high 4:4:4 profile) * custom quantization matrices (high profile) * parallel encoding on multiple CPUs * interlaced streams

Installation of latest x264 command is available for Debian, Ubuntu, Alpine, Arch, Kali, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.