# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mediamtx>
- **バージョン:** 1.19.3
- **ソース概要:** Zero-dependency real-time media server and media proxy
- **ホームページ:** <https://mediamtx.org>
- **リポジトリ:** <https://github.com/bluenviron/mediamtx>
- **上流ドキュメント:** <https://mediamtx.org>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/bluenviron/mediamtx.git>
- **最終更新:** 2026-07-29T17:04:52+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- mediamtx (cli)
- mediamtx (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- サービス: declared
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.19.3
- マネージャ更新日: 2026-07-29
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/bluenviron/mediamtx
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/ja/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [srt](https://pkg.so/ja/brew/srt/) - Shares pkgdb curated category or tags: cli, networking, srt, streaming.
- [livekit](https://pkg.so/ja/brew/livekit/) - Shares pkgdb curated category or tags: cli, media-server, networking, webrtc.
- [snowflake](https://pkg.so/ja/brew/snowflake/) - Shares pkgdb curated category or tags: cli, networking, proxy, webrtc.
- [librist](https://pkg.so/ja/brew/librist/) - Shares pkgdb curated category or tags: cli, networking, streaming.
- [cloudflared](https://pkg.so/ja/brew/cloudflared/) - Shares pkgdb curated category or tags: cli, networking, proxy.
- [sshuttle](https://pkg.so/ja/brew/sshuttle/) - Shares pkgdb curated category or tags: cli, networking, proxy.
- [rabbitmq](https://pkg.so/ja/brew/rabbitmq/) - Shares pkgdb curated category or tags: cli, networking, streaming.
- [sing-box](https://pkg.so/ja/brew/sing-box/) - Shares pkgdb curated category or tags: cli, networking, proxy.
- [brook](https://pkg.so/ja/brew/brook/) - Local package facts share a topical domain. Shared terms: cli, networking, proxy, zero.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
