MediaMTX

MediaMTX is a ready-to-use and zero-dependency real-time media server and media proxy that allows to publish, read, proxy, record and playback video and audio…

  • Home Automation
  • Media Applications
  • Media Servers
  • Other
  • Productivity
  • Tools & Utilities
MediaMTX is a ready-to-use and zero-dependency real-time media server and media proxy that allows to publish, read, proxy, record and playback video and audio streams. It has been conceived as a "media router" that routes media streams from one end to the other.

Platform availability

Available on 3 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

82/100 Excellent

Maintained
100last commit 20 days ago
Popular
8620,573 GitHub stars
Easy to install
553 install platforms, install notes, Docker image
Light to run
602 GB minimum RAM, runs on ARM
Security check
82no serious findings, 3 minor, CI, tests

Availability: platform listings confirmed today, links checked 7 days ago

GitHub stars
20,573
Open issues
218
Last commit
2026-11-01
Latest release
v1.21.3
License
MIT
Activity
steady

Checked 20 days ago - source: GitHub (bluenviron/mediamtx)

Resources & Compatibility

Minimum requirements: 2 GB RAM, 2 CPU core(s), 10 GB disk. ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Start the standalone binary first After downloading and extracting MediaMTX, open a terminal (the command-line window) in the same folder and run ./mediamtx. This is the quickest way to see if it works; if it does not start, check that you are in the folder that contains the program file. source
  • Keep the settings safe in one place If you install it as a Linux service (a background program that starts automatically), put the program in /usr/local/bin and the mediamtx.yml settings file in /usr/local/etc, then let the service use that settings file. This keeps your setup safe in one place and lets MediaMTX start after a reboot instead of staying off. source
  • Use port 9996 for playback URLs If you use playback URLs (web links for watching recorded video) like /get, the example points to port 9996, for example http://localhost:9996/get. That port carries the streamed video, so open it in your firewall (the gate that controls network access) only if another device needs to play back from your server. source

Fetched 54 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

Why isn't my Dockerized MediaMTX container proxying an RTSP feed?

Using --network=host and -p 8554:8554 at the same time can be redundant. Run the container without host networking and verify the port mapping is correct.

Which port should I use for playback URLs for recorded streams?

Playback URLs such as /get use port 9996. Open that firewall port only if another device needs to play back from your server.

How can I authenticate MediaMTX users?

MediaMTX supports internal, HTTP, or JWT authentication.

Can I reload MediaMTX settings while clients remain connected?

Yes, it can reload the configuration without disconnecting existing clients.

Can one MediaMTX server handle multiple streams at once?

Yes, it can serve several streams at once in separate paths.

Answers sourced from github.com, github.com, stackoverflow.com

Community

Collected 48 days ago - public community threads