# mediamtx を Homebrew, Nix, scoop, winget でインストール

mediamtx のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install mediamtx
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:mediamtx
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.19.3
- **ソース概要:** Zero-dependency real-time media server and media proxy
- **ホームページ:** <https://mediamtx.org>
- **リポジトリ:** <https://github.com/bluenviron/mediamtx>
- **最終更新:** 2026-07-29T17:04:52+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- mediamtx (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.19.3
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- 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
## 他のパッケージマネージャ記録

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


## ソース

- 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
