# Install libwebm with Homebrew, apt, MacPorts, Nix

WebM container. Version 1.0.0.32 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libwebm
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libwebm
```

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

### Linux

- Debian apt (92%):

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

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

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:libwebm
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libwebm>
- **Version:** 1.0.0.32
- **Source summary:** WebM container
- **Homepage:** <https://www.webmproject.org/code/>
- **Repository:** <https://github.com/webmproject/libwebm>
- **Upstream docs:** <https://github.com/webmproject/libwebm>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/webmproject/libwebm/archive/refs/tags/libwebm-1.0.0.32.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mkvmuxer_sample (cli)
- mkvparser_sample (cli)
- vttdemux (cli)
- webm2pes (cli)
- mkvmuxer_sample (alias)
- mkvparser_sample (alias)
- vttdemux (alias)
- webm2pes (alias)

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.0.0.32
- Local data: ok
- Upstream repository: https://github.com/webmproject/libwebm
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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/>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal

## Source Database Details

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

## Other Package-Manager Records

- 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


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [mkclean](https://www.automicvault.com/pkg/brew/mkclean/) - Shares av.db curated category or tags: cli, matroska, media, video, webm.
- [ffms2](https://www.automicvault.com/pkg/brew/ffms2/) - Shares av.db curated category or tags: cli, library, media, video.
- [libvmaf](https://www.automicvault.com/pkg/brew/libvmaf/) - Shares av.db curated category or tags: cli, library, media, video.
- [smpeg](https://www.automicvault.com/pkg/brew/smpeg/) - Shares av.db curated category or tags: cli, library, media, video.
- [zvbi](https://www.automicvault.com/pkg/brew/zvbi/) - Shares av.db curated category or tags: cli, library, media, video.
- [bento4](https://www.automicvault.com/pkg/brew/bento4/) - Shares av.db curated category or tags: cli, media, video.
- [ccextractor](https://www.automicvault.com/pkg/brew/ccextractor/) - Shares av.db curated category or tags: cli, media, video.
- [dvanalyzer](https://www.automicvault.com/pkg/brew/dvanalyzer/) - Shares av.db curated category or tags: cli, media, video.

## Combined YAML source

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


## Sources

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