# Install mediamtx with Homebrew, Nix, scoop, winget

Zero-dependency real-time media server and media proxy. Version 1.19.3 via Homebrew; verified 2026-07-29. Also installable with nix: nix profile install nixpkgs#mediamtx.

## 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
- **Version:** 1.19.3
- **Source summary:** Zero-dependency real-time media server and media proxy
- **Homepage:** <https://mediamtx.org>
- **Repository:** <https://github.com/bluenviron/mediamtx>
- **Last updated:** 2026-07-29T17:04:52+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mediamtx (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.19.3
## 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
## 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


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
