# 使用 Homebrew, apk, chocolatey, apt, Nix, pacman, MacPorts, scoop, winget 安装 handbrake

查看 handbrake 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:handbrake
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install handbrake
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install HandBrake
```

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

### Linux

- apk (92%):

```sh
sudo apk add handbrake
```

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

- Debian apt (92%):

```sh
sudo apt install handbrake
```

  证据: Debian stable package indexes: handbrake from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#handbrake
```

  证据: nixpkgs package indexes: pkgs/by-name/ha/handbrake/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S handbrake
```

  证据: Arch Linux sync databases: handbrake from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install handbrake
```

  证据: Chocolatey community package catalog: handbrake from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','google-workspace-sync'

- Scoop (92%):

```sh
scoop install extras/handbrake
```

  证据: Scoop official bucket manifest trees: bucket/handbrake.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id HandBrake.HandBrake -e
```

  证据: Windows Package Manager source index: HandBrake.HandBrake from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:handbrake
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/handbrake>
- **版本:** 1.11.2
- **来源摘要:** Open-source video transcoder available for Linux, Mac, and Windows
- **主页:** <https://handbrake.fr/>
- **仓库:** <https://github.com/HandBrake/HandBrake>
- **上游文档:** <https://handbrake.fr/>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://github.com/HandBrake/HandBrake/releases/download/1.11.2/HandBrake-1.11.2-source.tar.bz2>
- **最后更新:** 2026-07-29T11:48:29Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- HandBrakeCLI (cli)
- HandBrakeCLI (别名)

## 依赖

- dav1d
- freetype
- fribidi
- harfbuzz
- jansson
- jpeg-turbo
- lame
- libass
- libbluray
- libdvdnav
- libdvdread
- libogg
- libvorbis
- libvpx
- libx11
- opus
- speex
- svt-av1
- theora
- x264
- xz
- zimg

## 构建依赖

- autoconf
- automake
- cmake
- libtool
- meson
- nasm
- ninja
- pkgconf

## macOS 提供的库

- bzip2
- libxml2

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.11.2
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://github.com/HandBrake/HandBrake
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

HandBrake is a volunteer-built, GPL-licensed video transcoder for Linux, Mac, and Windows. It became package-manager-famous because it turned the hard parts of everyday video conversion into a reproducible GUI and CLI workflow with presets, queues, and widely packaged codec tooling.

### 项目历史

The official HandBrake history says the project was started in 2003 by the developer known as titer. titer remained the primary developer through April 2006, when the last official Subversion revision of that early era was committed.

Development resumed informally in August and September 2006 after a period without official code changes. Forum contributors worked on optimized builds and on reverse-engineering support for Apple's 640x480 H.264 iPod firmware 1.2 format. Because the old Subversion repository could not be updated without titer's authorization, Rodney Hester created a mirror of the 0.7.1 and final Subversion trees so the revived contributors could build on them.

On January 26, 2007, the fork was officially known as MediaFork. On February 13, 2007, titer gave support to the revived work, and by March 2, 2007 the developer and user services had returned under the HandBrake banner. The official history presents that reintegration as the point where the next release resumed the HandBrake name.

Over time, HandBrake broadened from its early DVD/iPod-era identity into a general post-production transcoder. The official README and docs describe support for common video files, camera and mobile-device footage, screen recordings, DVD and Blu-ray sources, and output to MP4, MKV, or WebM using components such as FFmpeg, x264, x265, and SVT-AV1.

### 采用历史

HandBrake's adoption came from being useful to both casual users and automation-heavy users. The GUI made transcoding accessible, while `HandBrakeCLI` let packagers, shell users, and batch workflows perform the same kind of conversion without a desktop session.

Package-manager adoption is broad: the input facts list packages across Homebrew, Alpine, Debian/Ubuntu, MacPorts, Nix, Arch, Chocolatey, Scoop, and winget. That cross-platform packaging mirrors the project's own platform support and makes HandBrake a common baseline tool on developer laptops, home media systems, and CI-like encoding boxes.

### 使用方式

The documented primary use is converting existing video sources into MP4, MKV, or WebM files that work on phones, tablets, TV media players, game consoles, computers, and browsers. The docs emphasize that HandBrake is a post-production transcoder, not a non-linear editor, disc authoring tool, or DRM circumvention tool.

HandBrake's official presets are a major part of its user model. Presets encode practical compatibility knowledge for general use, web sharing, creators, social-size targets, and device classes; this is why the package is useful even when users do not want to become codec specialists.

The command-line reference makes HandBrakeCLI important for package-manager users. It supports scripted source selection, preset use, output format choices, queue-like automation, and reproducible encode settings that fit shell pipelines and server-side jobs.

### 为什么软件包爱好者会关心

HandBrake is significant because it packages a complicated stack of video codecs, containers, filters, hardware-encoder options, and UI/CLI behavior behind one name users recognize. For package maintainers, it is both a popular application and a compatibility promise: users expect the formula or package to produce working GUI or CLI transcodes without manually assembling FFmpeg/x264/x265/SVT-AV1 workflows.

It also illustrates why package metadata matters. There is a GUI app, a CLI executable, platform-specific build systems, GPL licensing, large dependency trees, and frequent codec capability shifts. Package nerds care because a small build-option difference can change which media workflows users can actually perform.

### 时间线

- 2003: HandBrake started by titer.
- 2006-04: Last official Subversion revision of the early titer-led era.
- 2006-08: Informal development resumed around optimized and experimental builds.
- 2006-09: Contributors collaborated on support for Apple's 640x480 H.264 iPod firmware 1.2 format.
- 2007-01-26: The revived fork was officially known as MediaFork.
- 2007-02-13: titer expressed support for the revived work.
- 2007-03-02: Developer and user services returned under the HandBrake banner.

### Related projects

- HandBrake relies on media projects including FFmpeg/libavcodec/libavformat, x264, x265, and SVT-AV1. Its history also includes the temporary MediaFork name used during the 2006-2007 revival.
- The docs mention tools such as AnyDVD HD and MakeMKV only as separate applications that can create readable copies of damaged or protected discs; HandBrake itself documents that it does not defeat copy protection.

### 来源

- <https://formulae.brew.sh/formula/handbrake>
- <https://github.com/HandBrake/HandBrake>
- <https://handbrake.fr/>
- <https://handbrake.fr/docs/en/latest>
- <https://handbrake.fr/docs/en/latest/about/history.html>
- <https://handbrake.fr/docs/en/latest/cli/command-line-reference.html>
- <https://handbrake.fr/docs/en/latest/introduction/about.html>
- <https://handbrake.fr/docs/en/latest/technical/official-presets.html>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** handbrake
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Debian apt - handbrake - 1.9.2+ds1-1: normalized package name match | Debian stable package indexes: handbrake from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | versatile DVD ripper and video transcoder (GTK+ GUI) | https://handbrake.fr/
- Debian apt - handbrake-cli - 1.9.2+ds1-1: normalized package name match | Debian stable package indexes: handbrake-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | versatile DVD ripper and video transcoder (command line) | https://handbrake.fr/
- Nix - handbrake: normalized package name match | nixpkgs package indexes: pkgs/by-name/ha/handbrake/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - handbrake - 1.7.2+ds1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: handbrake from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | versatile DVD ripper and video transcoder (GTK+ GUI) | https://handbrake.fr/
- Ubuntu apt - handbrake-cli - 1.7.2+ds1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: handbrake-cli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | versatile DVD ripper and video transcoder (command line) | https://handbrake.fr/
- apk - handbrake - 1.10.2-r4: normalized package name match | Alpine Linux edge package indexes: handbrake from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Handbrake video transcoder | https://handbrake.fr
- apk - handbrake-gtk - 1.10.2-r4: normalized package name match | Alpine Linux edge package indexes: handbrake-gtk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | HandBrake Video Transcoder - GUI | https://handbrake.fr
- apk - handbrake-lang - 1.10.2-r4: normalized package name match | Alpine Linux edge package indexes: handbrake-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Languages for package handbrake | https://handbrake.fr
- pacman - handbrake - 1.11.2-1: normalized package name match | Arch Linux sync databases: handbrake from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Multithreaded video transcoder | https://handbrake.fr/
- MacPorts - HandBrake: normalized package name match | MacPorts ports tree: multimedia/HandBrake/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - handbrake: normalized package name match | Chocolatey community package catalog: handbrake from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','google-workspace-sync'
- Scoop - extras/handbrake: normalized package name match | Scoop official bucket manifest trees: bucket/handbrake.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - HandBrake.HandBrake: normalized package name match | Windows Package Manager source index: HandBrake.HandBrake from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [xz](https://pkg.so/zh-hans/brew/xz/) - Runtime dependency declared by Homebrew.
- [harfbuzz](https://pkg.so/zh-hans/brew/harfbuzz/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [freetype](https://pkg.so/zh-hans/brew/freetype/) - Runtime dependency declared by Homebrew.
- [dav1d](https://pkg.so/zh-hans/brew/dav1d/) - Runtime dependency declared by Homebrew.
- [svt-av1](https://pkg.so/zh-hans/brew/svt-av1/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/zh-hans/brew/ninja/) - Build dependency declared by Homebrew.
- [aom](https://pkg.so/zh-hans/brew/aom/) - Shares pkgdb curated category or tags: cli, encoding, media, video.
- [yt-dlp](https://pkg.so/zh-hans/brew/yt-dlp/) - Shares pkgdb curated category or tags: cli, media, video.
- [media-info](https://pkg.so/zh-hans/brew/media-info/) - Shares pkgdb curated category or tags: cli, media, video.
- [ab-av1](https://pkg.so/zh-hans/brew/ab-av1/) - Shares pkgdb curated category or tags: cli, encoding, media, video.
- [ccextractor](https://pkg.so/zh-hans/brew/ccextractor/) - Shares pkgdb curated category or tags: cli, media, video.
- [av1an](https://pkg.so/zh-hans/brew/av1an/) - Shares pkgdb curated category or tags: cli, encoding, media, video.
- [mjpegtools](https://pkg.so/zh-hans/brew/mjpegtools/) - Shares pkgdb curated category or tags: cli, encoding, media, video.
- [ogmtools](https://pkg.so/zh-hans/brew/ogmtools/) - Shares pkgdb curated category or tags: cli, media, video.
- [ffmpeg-full](https://pkg.so/zh-hans/brew/ffmpeg-full/) - Local package facts share a topical domain. Shared terms: cli, dav1d, encoding, freetype, harfbuzz.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Both packages work with overlapping file formats or content types. Shared terms: av1, cli, dav1d, encoding, lame.
- [gpac](https://pkg.so/zh-hans/brew/gpac/) - Local package facts share a topical domain. Shared terms: cli, freetype, jpeg, jpeg-turbo, libogg.

## Combined YAML source

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


## 来源

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