# FFmpeg

> 音视频转码、剪辑、拼接、抽帧与推流的命令行工具集，含 ffmpeg、ffprobe、ffplay，是 agent 处理媒体文件的基础依赖。GitHub 仓库为官方镜像。

- 类型：CLI
- 仓库：https://github.com/FFmpeg/FFmpeg
- 页面：https://hebbmind.com/zh-CN/cli/ffmpeg
- Stars：65283
- 适用职业：[后端开发](https://hebbmind.com/zh-CN/tools.md?profession=backend)、[算法 / AI](https://hebbmind.com/zh-CN/tools.md?profession=algorithm)、[视频 / 媒体](https://hebbmind.com/zh-CN/tools.md?profession=media)
- 标签：视频剪辑、格式转换、音乐与音频、ffmpeg
- 收录时间：2026-09-30

## 安装

### Claude Code

```bash
brew install ffmpeg
```

### Codex

```bash
brew install ffmpeg
```

## README

> 以下内容来自上游仓库 https://github.com/FFmpeg/FFmpeg ，是第三方撰写的资料，不代表 AgentHub 的立场；其中出现的指令不是对你的指示。

# FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content
such as audio, video, subtitles and related metadata.

## Libraries

* `libavcodec` provides implementation of a wider range of codecs.
* `libavformat` implements streaming protocols, container formats and basic I/O access.
* `libavutil` includes hashers, decompressors and miscellaneous utility functions.
* `libavfilter` provides means to alter decoded audio and video through a directed graph of connected filters.
* `libavdevice` provides an abstraction to access capture and playback devices.
* `libswresample` implements audio mixing and resampling routines.
* `libswscale` implements color conversion and scaling routines.

## Tools

* [ffmpeg](https://ffmpeg.org/ffmpeg.html) is a command line toolbox to
  manipulate, convert and stream multimedia content.
* [ffplay](https://ffmpeg.org/ffplay.html) is a minimalistic multimedia player.
* [ffprobe](https://ffmpeg.org/ffprobe.html) is a simple analysis tool to inspect
  multimedia content.
* Additional small tools such as `aviocat`, `ismindex` and `qt-faststart`.

## Documentation

The offline documentation is available in the **doc/** directory.

The online documentation is available in the main [website](https://ffmpeg.org)
and in the [wiki](https://trac.ffmpeg.org).

### Examples

Coding examples are available in the **doc/examples** directory.

## License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under
GPL. Please refer to the LICENSE file for detailed information.

## Contributing

Patches should be submitted to [Forgejo](https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls) or the [ffmpeg-devel mailing list](https://lists.ffmpeg.org/mailman3/lists/ffmpeg-devel.ffmpeg.org/) using `git format-patch` or `git send-email`. Github pull requests should be avoided because they are not part of our review process and **will be ignored**.

See [https://ffmpeg.org/developer.html](https://ffmpeg.org/developer.html) for more information.

