# 使用 Homebrew, MacPorts, Nix, apt 安装 libwebm

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

## 安装

```sh
sudo av install brew:libwebm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libwebm
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libwebm
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#libwebm
```

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

- Debian apt (92%):

```sh
sudo apt install libwebm-dev
```

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

## 软件包事实

- **软件包键:** brew:libwebm
- **软件包管理器:** Homebrew
- **版本:** 1.0.0.32
- **来源摘要:** WebM container
- **主页:** <https://www.webmproject.org/code/>
- **仓库:** <https://github.com/webmproject/libwebm>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mkvmuxer_sample (别名)
- mkvparser_sample (别名)
- vttdemux (别名)
- webm2pes (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.0.32
## 项目历史与用法

libwebm is the WebM Project's C++ parser and muxer library for the WebM container, which is based on Matroska and designed for open web video. It sits next to libvpx in the WebM ecosystem: libvpx handles VP8/VP9 codec work, while libwebm handles the container-level reading and writing that tools need.

### 项目历史

Google and browser partners announced WebM on 2010-05-19 as an open, freely implementable web-optimized video format centered on VP8. The WebM Project FAQ defines WebM files as VP8 or VP9 video, Vorbis or Opus audio, and WebVTT text tracks in a Matroska-based structure.

The WebM developer overview lists libwebm as the WebM file parser, with the canonical browse repository at chromium.googlesource.com/webm/libwebm and a GitHub mirror. The README focuses on building libwebm with CMake or Makefile.unix and running parser/muxer tests, reflecting its role as a library component rather than an end-user player.

### 采用历史

WebM gained early browser and tooling momentum because Chromium added initial WebM and VP8 support on the announcement day, and Google framed the format as part of the open HTML5 video stack. Chromium's 2020 retrospective describes WebM and WebRTC as foundational web media projects and cites adoption by major video platforms and technology companies across VP8, VP9, and AV1-era work.

libwebm's adoption is quieter than the WebM format itself: it is the container library that package managers expose for encoders, muxers, parsers, media-inspection tools, and test programs that need a native WebM implementation.

### 使用方式

The package ships sample and utility programs such as mkvmuxer_sample, mkvparser_sample, vttdemux, and webm2pes. Developers use the library to parse WebM files, mux WebM output, inspect tracks and cues, and build media tooling around the WebM container.

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

libwebm is one of those small libraries that makes an open media format real in build graphs. Installing it gives media packages a maintained WebM parser and muxer without pulling in a whole browser, and its canonical Git-on-Google plus GitHub mirror layout is typical of Chromium-adjacent infrastructure.

### 时间线

- 2010-05-19: WebM and VP8 are announced, and Chromium adds initial support.
- 2011-01-11: Chromium describes broad WebM adoption by browsers, tools, and hardware vendors after launch.
- 2013: The WebM Project delivers VP9-era bitrate improvements, according to Chromium's 2020 retrospective.
- 2018: AV1-era open media work is described as adding further bitrate savings in the Chromium retrospective.
- 2020-05-27: Chromium publishes a ten-year WebM and WebRTC retrospective.
- 2025: The libwebm repository continues as a Chromium Gitiles project with a GitHub mirror and version tags such as libwebm-1.0.0.32.

### Related projects

- Related projects include libvpx, webm-tools, WebM DirectShow filters, Matroska, WebVTT, Vorbis, Opus, VP8, VP9, AV1, Chromium, YouTube, and the Alliance for Open Media.

### 来源

- <https://blog.chromium.org/2010/05/>
- <https://blog.chromium.org/2020/05/celebrating-10-years-of-webm-and-webrtc.html>
- <https://chromium.googlesource.com/webm/libwebm/>
- <https://github.com/webmproject/libwebm/>
- <https://www.webmproject.org/>
- <https://www.webmproject.org/about/faq/>
- <https://www.webmproject.org/code/>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

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

- Debian apt - libwebm-dev - 1.0.0.31-1+b2: normalized package name match | Debian stable package indexes: libwebm-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | WebM parser library (development files) | https://chromium.googlesource.com/webm/libwebm
- Debian apt - libwebm-tools - 1.0.0.31-1+b2: normalized package name match | Debian stable package indexes: libwebm-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | WebM parser library (binary tools) | https://chromium.googlesource.com/webm/libwebm
- Debian apt - libwebm1 - 1.0.0.31-1+b2: normalized package name match | Debian stable package indexes: libwebm1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | WebM parser library | https://chromium.googlesource.com/webm/libwebm
- Nix - libwebm: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libwebm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libwebm-dev - 1.0.0.31-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libwebm-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | WebM parser library (development files) | https://chromium.googlesource.com/webm/libwebm
- Ubuntu apt - libwebm-tools - 1.0.0.31-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libwebm-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | WebM parser library (binary tools) | https://chromium.googlesource.com/webm/libwebm
- Ubuntu apt - libwebm1 - 1.0.0.31-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libwebm1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | WebM parser library | https://chromium.googlesource.com/webm/libwebm
- MacPorts - libwebm: normalized package name match | MacPorts ports tree: multimedia/libwebm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- 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
