Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, scoop, winget 安装 mediamtx

查看 mediamtx 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mediamtx

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#mediamtx

nixpkgs package indexes · pkgs/by-name/me/mediamtx/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/mediamtx

Scoop official bucket manifest trees · bucket/mediamtx.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id bluenviron.mediamtx -e

Windows Package Manager source index · bluenviron.mediamtx · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Zero-dependency real-time media server and media proxy

命令和别名

  • mediamtx

历史

项目历史与用法

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.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
mediamtx.yml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mediamtxcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本1.19.3
管理器更新时间2026-07-24
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/bluenviron/mediamtx

安装元数据

软件包元数据

软件包键brew:mediamtx
版本1.19.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mediamtx
主页https://mediamtx.org
仓库https://github.com/bluenviron/mediamtx
上游文档https://mediamtx.org/docs
许可证MIT
源码归档https://github.com/bluenviron/mediamtx.git
最后更新2026-07-24T00:05:16Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemediamtx
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

mediamtx

nix profile install nixpkgs#mediamtx
  • normalized package name match
  • 匹配方式:Mediamtx
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/me/mediamtx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Scoop95%

main/mediamtx

scoop install main/mediamtx
  • normalized package name match
  • 匹配方式:Mediamtx
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/mediamtx.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

bluenviron.mediamtx

winget install --id bluenviron.mediamtx -e
  • normalized package name match
  • 匹配方式:Mediamtx
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: bluenviron.mediamtx from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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