Skip to main content

A high-performance proxy server for streaming media, supporting HTTP(S), HLS, and MPEG-DASH with real-time DRM decryption.

Project description

MediaFlow Proxy

MediaFlow Proxy Logo

MediaFlow Proxy is a streaming proxy for HTTP(S), HLS (M3U8), and MPEG-DASH—including ClearKey DRM and real-time DASH-to-HLS conversion. It also supports IPTV (Xtream Codes), Acestream, Telegram media, transcoding, and advanced routing.

Full documentation: mhdzumair.github.io/mediaflow-proxy (built from the docs/ folder with MkDocs Material).

Quick start

docker run -p 8888:8888 -e API_PASSWORD=your_password mhdzumair/mediaflow-proxy

Prefer not to self-host? A managed MediaFlow Proxy instance is available via ElfHosted, bundled with debrid and Stremio addons in their streaming personal-stacks (7-day trial).

Highlights

  • DASH (ClearKey) to HLS, HLS manipulation, generic HTTP(S) proxy with custom headers
  • Xtream Codes API proxy, Acestream, Telegram (MTProto) streaming
  • Optional GPU transcoding (fMP4 H.264/AAC), pre-buffering, segment skip, stream transformers
  • Redis-backed rate limiting, encrypted URL generation, reverse-proxy–friendly forwarded headers

Docs and source

Resource Link
User & operator manual Documentation site
Markdown sources docs/ in this repository
Build docs locally uv sync --group docs then uv run mkdocs serve

High-throughput alternative ⚡

For lower memory usage and higher throughput — especially on constrained hardware (small VPS, NAS, Raspberry Pi) — see MediaFlow Proxy Light, a Rust reimplementation that is fully API-compatible with this proxy. Benchmarks show 7–8× less memory, 1.7–3.4× less CPU per request, and up to 4× higher throughput. Existing tokens, encrypted URLs, and client integrations work without changes.

Contributing

Contributions are welcome! see Contributing in the docs and open a Pull Request on GitHub.

License

MIT License

Disclaimer

This project is for educational purposes only. The developers of MediaFlow Proxy are not responsible for any misuse of this software. Please ensure that you have the necessary permissions to access and use the media streams you are proxying.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mediaflow_proxy-2.4.9.tar.gz (458.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mediaflow_proxy-2.4.9-py3-none-any.whl (511.2 kB view details)

Uploaded Python 3

File details

Details for the file mediaflow_proxy-2.4.9.tar.gz.

File metadata

  • Download URL: mediaflow_proxy-2.4.9.tar.gz
  • Upload date:
  • Size: 458.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mediaflow_proxy-2.4.9.tar.gz
Algorithm Hash digest
SHA256 b189f76cc694f5d3f034437d2320cae85560c7a657c2b4e2b34f836bbac9da96
MD5 73ec6f687353e9d25a782efde127bb48
BLAKE2b-256 b4b02f280a705755134dfb17776ae0d86e064dae04d5ce51e0bce03f716d8c54

See more details on using hashes here.

File details

Details for the file mediaflow_proxy-2.4.9-py3-none-any.whl.

File metadata

  • Download URL: mediaflow_proxy-2.4.9-py3-none-any.whl
  • Upload date:
  • Size: 511.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mediaflow_proxy-2.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 2036b852ade5932a0676fbfd8ab62e8b78f7fc8b1351691a708f70b19e6b3f45
MD5 12dd1ff7eb28f59d2be61cfed2b61d52
BLAKE2b-256 8c7530744ffdb5b9fa3a22292d518fc9e0204699f77a75d3bad2ce5d4a9d0511

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page