# 使用 Homebrew, apk, chocolatey, apt, MacPorts, pacman, dnf, scoop, winget, zypper 安装 ffmpeg@2.8

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

## 安装

```sh
sudo av install brew:ffmpeg@2.8
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ffmpeg@2.8
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ffmpeg
```

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

### Linux

- apk (92%):

```sh
sudo apk add ffmpeg
```

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

- Debian apt (92%):

```sh
sudo apt install ffmpeg
```

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

- pacman (92%):

```sh
sudo pacman -S ffmpeg
```

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

- dnf (92%):

```sh
sudo dnf install ffmpeg-free
```

  证据: Fedora Rawhide package metadata: ffmpeg-free from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install ffmpeg-4
```

  证据: openSUSE Tumbleweed package metadata: ffmpeg-4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install ffmpeg
```

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

- Scoop (92%):

```sh
scoop install main/ffmpeg
```

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

- winget (92%):

```sh
winget install --id Gyan.FFmpeg -e
```

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

## 软件包事实

- **软件包键:** brew:ffmpeg@2.8
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ffmpeg@2.8>
- **版本:** 2.8.22
- **来源摘要:** Play, record, convert, and stream audio and video
- **主页:** <https://ffmpeg.org/>
- **仓库:** <https://git.ffmpeg.org/ffmpeg.git>
- **上游文档:** <https://ffmpeg.org/documentation.html>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://ffmpeg.org/releases/ffmpeg-2.8.22.tar.xz>
- **最后更新:** 2026-05-16T16:39:39-04:00
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

- ffserver (cli)
- ffserver (别名)

## 依赖

- fontconfig
- freetype
- frei0r
- lame
- libass
- libogg
- libvo-aacenc
- libvorbis
- libvpx
- opencore-amr
- openssl@3
- opus
- rtmpdump
- sdl12-compat
- snappy
- speex
- theora
- x264
- x265
- xvid
- xz

## 构建依赖

- pkgconf
- texi2html
- yasm

## macOS 提供的库

- bzip2

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-10
- 管理器版本: 2.8.22
- 管理器更新时间: 2026-05-16
- 本地数据: OK
- 上游仓库: https://ffmpeg.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

ffmpeg@2.8 is a pinned Homebrew formula for FFmpeg's 2.8 `Feynman` release branch, useful when older software needs the FFmpeg 2.x library/CLI behavior rather than unpinned FFmpeg.

### 项目历史

FFmpeg 2.8 `Feynman` was presented by the upstream project about three months after FFmpeg 2.7. The official old download page identifies 2.8.22 as the final stable release from the 2.8 branch, cut from master on 2015-09-05 and released as 2.8.22 on 2023-10-29.

The branch is significant because upstream notes it includes changes from ffmpeg-mt and Libav snapshots from August 2015. That places it in the long post-fork reconciliation period when distribution packages and application build scripts often cared about exact FFmpeg/Libav API and ABI behavior.

### 采用历史

As a formula, ffmpeg@2.8 serves compatibility rather than new-feature adoption. Homebrew's formula API marks it deprecated but not disabled and builds from the official 2.8.22 tarball, showing it survives as an older release-line package for consumers that still need it.

The official 2.8 changelog is dominated by maintenance and security-style fixes in later point releases, including bounds checks, overflow fixes, parser hardening, and demuxer/decoder corrections. That is typical of an old multimedia branch kept alive for downstream stability.

### 使用方式

Users install a versioned FFmpeg formula when an application, script, or build dependency expects 2.8-era command behavior or library versions. The package still provides the familiar FFmpeg tools such as `ffmpeg`, `ffprobe`, `ffplay`, and, in this line, `ffserver`.

For direct media conversion, the command-line model is the same as FFmpeg generally: read inputs, choose streams and options, then write outputs. The difference is the release line and linked dependency set, not a separate interface.

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

Versioned FFmpeg formulas matter because multimedia stacks are sensitive to codec availability, library ABI versions, and behavior changes. `ffmpeg@2.8` is a compatibility anchor for the Feynman branch rather than the recommended path for new users.

The branch tells package historians where old consumers froze: FFmpeg 2.x libraries, 2015 branch point, long-tail point releases, and a Homebrew package kept available even after deprecation.

### 时间线

- 2015: FFmpeg 2.8 branch cut from master on 2015-09-05.
- 2015: FFmpeg 2.8 `Feynman` announced about three months after 2.7.
- 2023: FFmpeg 2.8.22 released on 2023-10-29 as the final stable 2.8 branch release listed by upstream.
- 2026: Homebrew formula API lists ffmpeg@2.8 as deprecated but not disabled, sourced from ffmpeg-2.8.22.tar.xz.

### Related projects

- FFmpeg is the upstream project.
- ffmpeg-full and ffmpeg are related Homebrew FFmpeg packaging variants.
- Libav and ffmpeg-mt are historically relevant because upstream 2.8 release notes mention imported changes from both.

### 来源

- <https://ffmpeg.org/olddownload.html>
- <https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/refs/heads/release/2.8:/RELEASE_NOTES>
- <https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/refs/heads/release/2.8:/Changelog>
- <https://formulae.brew.sh/api/formula/ffmpeg@2.8.json>
- <https://ffmpeg.org/about.html>
- <https://ffmpeg.org/ffmpeg.html>


## 安全说明

没有找到 ffmpeg@2.8 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ffmpeg@2.8
- **Version Scheme:** 0
- **Revision:** 8
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

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

- Debian apt - ffmpeg - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: ffmpeg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tools for transcoding, streaming and playing of multimedia files | https://ffmpeg.org/
- Debian apt - ffmpeg-doc - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: ffmpeg-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Documentation of the FFmpeg multimedia framework | https://ffmpeg.org/
- Debian apt - libavcodec-dev - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavcodec-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library with de/encoders for audio/video codecs - development files | https://ffmpeg.org/
- Debian apt - libavcodec-extra - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavcodec-extra from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library with extra codecs (metapackage) | https://ffmpeg.org/
- Debian apt - libavcodec-extra61 - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavcodec-extra61 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library with additional de/encoders for audio/video codecs | https://ffmpeg.org/
- Debian apt - libavcodec61 - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavcodec61 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library with de/encoders for audio/video codecs - runtime files | https://ffmpeg.org/
- Debian apt - libavdevice-dev - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavdevice-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library for handling input and output devices - development files | https://ffmpeg.org/
- Debian apt - libavdevice61 - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavdevice61 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library for handling input and output devices - runtime files | https://ffmpeg.org/
- Debian apt - libavfilter-dev - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavfilter-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library containing media filters - development files | https://ffmpeg.org/
- Debian apt - libavfilter-extra - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavfilter-extra from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library with extra filters (metapackage) | https://ffmpeg.org/
- Debian apt - libavfilter-extra10 - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavfilter-extra10 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library with extra media filters - runtime files | https://ffmpeg.org/
- Debian apt - libavfilter10 - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavfilter10 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library containing media filters - runtime files | https://ffmpeg.org/
- Debian apt - libavformat-dev - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavformat-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library with (de)muxers for multimedia containers - development files | https://ffmpeg.org/
- Debian apt - libavformat-extra - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavformat-extra from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library with extra (de)muxers (metapackage) | https://ffmpeg.org/
- Debian apt - libavformat-extra61 - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavformat-extra61 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library with additional (de)muxers for multimedia containers | https://ffmpeg.org/
- Debian apt - libavformat61 - 7:7.1.3-0+deb13u1: versioned package alias match | Debian stable package indexes: libavformat61 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FFmpeg library with (de)muxers for multimedia containers - runtime files | https://ffmpeg.org/


## 相关链接

- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [fontconfig](https://www.automicvault.com/zh-hans/pkg/brew/fontconfig/) - Runtime dependency declared by Homebrew.
- [freetype](https://www.automicvault.com/zh-hans/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [lame](https://www.automicvault.com/zh-hans/pkg/brew/lame/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [texi2html](https://www.automicvault.com/zh-hans/pkg/brew/texi2html/) - Build dependency declared by Homebrew.
- [yasm](https://www.automicvault.com/zh-hans/pkg/brew/yasm/) - Build dependency declared by Homebrew.
- [ffmpeg](https://www.automicvault.com/zh-hans/pkg/brew/ffmpeg/) - Package name indicates the same formula family.
- [ffmpeg@4](https://www.automicvault.com/zh-hans/pkg/brew/ffmpeg-4/) - Package name indicates the same formula family.
- [ffmpeg-full](https://www.automicvault.com/zh-hans/pkg/brew/ffmpeg-full/) - Shares the same upstream homepage.

## Combined YAML source

View the package source record on GitHub. [combined/ffmpeg@2.8.yml](https://github.com/automic-vault/db/blob/main/combined/ffmpeg@2.8.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
