# Install mediamtx with Homebrew, Nix, scoop, winget

Zero-dependency real-time media server and media proxy. Version 1.19.2 via Homebrew; verified 2026-06-28.

## Install

```sh
sudo av install brew:mediamtx
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mediamtx
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mediamtx
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/mediamtx
```

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

- winget (92%):

```sh
winget install --id bluenviron.mediamtx -e
```

  Evidence: Windows Package Manager source index: bluenviron.mediamtx from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:mediamtx
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mediamtx>
- **Version:** 1.19.2
- **Source summary:** Zero-dependency real-time media server and media proxy
- **Homepage:** <https://mediamtx.org>
- **Repository:** <https://github.com/bluenviron/mediamtx>
- **Upstream docs:** <https://mediamtx.org/docs>
- **License:** MIT
- **Source archive:** <https://github.com/bluenviron/mediamtx.git>
- **Last updated:** 2026-06-28T12:20:45Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- mediamtx (cli)
- mediamtx (alias)

## Build dependencies

- go

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.19.2
- Package-manager updated: 2026-06-28
- Local data: ok
- Upstream repository: https://github.com/bluenviron/mediamtx
- info: No cached GitHub release or tag data was available.
## Project history and usage

MediaMTX is a zero-dependency live media server and proxy for publishing, reading, proxying, recording, and playing back real-time audio and video streams. The official README describes it as a media router focused on efficiency and portability.

### Project history

The official GitHub repository was created in December 2019 and its earliest GitHub releases are v0.1.x from December 2019. The project evolved from RTSP-focused roots into a broader real-time media router covering RTSP, RTMP, HLS, WebRTC, SRT, RTP, MPEG-TS, and Media-over-QUIC.

The project is intentionally operational rather than framework-heavy: the README emphasizes a single executable with no external dependencies on Linux, Windows, and macOS, while the documentation exposes configuration, authentication, recording, metrics, hooks, control API, proxying, and protocol-specific behavior.

### Adoption history

MediaMTX became popular with self-hosters, camera users, home automation stacks, streaming experiments, and infrastructure teams that need a small relay between cameras, browsers, FFmpeg, GStreamer, OBS, VLC, and custom clients. Its official repository shows substantial public adoption, and the package input lists Homebrew, Nix, Scoop, and Winget packages.

The project's adoption is helped by protocol bridging: streams can be published with one protocol and read with another. That makes it useful as glue in environments where cameras, browsers, media tools, and monitoring systems do not all speak the same media protocol.

### How it is used

Users typically run the `mediamtx` binary with a `mediamtx.yml` file, edit configuration directly, override parameters with `MTX_` environment variables, or use the control API. The official configuration documentation says the release bundle includes the configuration file and that changes can be hot-reloaded when possible.

### Why package nerds care

For package nerds, MediaMTX is a compact alternative to assembling a larger streaming stack. A single packaged binary gives users RTSP, RTMP, WebRTC, SRT, HLS, recording, metrics, authentication, and proxying without installing a pile of media daemons.

### Timeline

- 2019: Repository created and v0.1.0 released.
- 2021: The project is widely used under the earlier rtsp-simple-server name in Docker and streaming workflows.
- 2023: Executable and configuration migration to MediaMTX-era names is reflected in maintainer support discussions and user issues.
- 2026: Active releases continue, with the repository showing thousands of commits and broad protocol support.

### Related projects

- MediaMTX integrates with FFmpeg, GStreamer, OBS Studio, VLC, WebRTC clients, SRT clients, RTSP cameras, RTMP clients, HLS readers, and Prometheus-compatible monitoring.

### Sources

- <https://api.github.com/repos/bluenviron/mediamtx>
- <https://api.github.com/repos/bluenviron/mediamtx/releases>
- <https://github.com/bluenviron/mediamtx>
- <https://mediamtx.org/docs/features/configuration>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: mediamtx.yml
## Source Database Details

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

## Other Package-Manager Records

- Nix - mediamtx: normalized package name match | nixpkgs package indexes: pkgs/by-name/me/mediamtx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/mediamtx: normalized package name match | Scoop official bucket manifest trees: bucket/mediamtx.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - bluenviron.mediamtx: normalized package name match | Windows Package Manager source index: bluenviron.mediamtx from https://cdn.winget.microsoft.com/cache/source.msix


## 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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [srt](https://www.automicvault.com/pkg/brew/srt/) - Shares av.db curated category or tags: cli, media-streaming, networking, srt, streaming.
- [livekit](https://www.automicvault.com/pkg/brew/livekit/) - Shares av.db curated category or tags: cli, media-server, networking, webrtc.
- [snowflake](https://www.automicvault.com/pkg/brew/snowflake/) - Shares av.db curated category or tags: cli, networking, proxy, webrtc.
- [blocky](https://www.automicvault.com/pkg/brew/blocky/) - Shares av.db curated category or tags: cli, networking, proxy.
- [brook](https://www.automicvault.com/pkg/brew/brook/) - Shares av.db curated category or tags: cli, networking, proxy.
- [cloudflared](https://www.automicvault.com/pkg/brew/cloudflared/) - Shares av.db curated category or tags: cli, networking, proxy.
- [cntlm](https://www.automicvault.com/pkg/brew/cntlm/) - Shares av.db curated category or tags: cli, networking, proxy.
- [connect](https://www.automicvault.com/pkg/brew/connect/) - Shares av.db curated category or tags: cli, networking, proxy.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
