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

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.8.tar.gz (446.2 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.8-py3-none-any.whl (499.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mediaflow_proxy-2.4.8.tar.gz
  • Upload date:
  • Size: 446.2 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.8.tar.gz
Algorithm Hash digest
SHA256 a61c491f27b500e45c78ab84c8f01fb8b112cd4ee2d5f55cfd4eee3ddeaf992f
MD5 75294f852ec9147d9d6a985a6d8f41f3
BLAKE2b-256 63a4aa0a61fe56dc5619df05a43f1ecd3e4370d0a8a72142f9ca4801b37c7c0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mediaflow_proxy-2.4.8-py3-none-any.whl
  • Upload date:
  • Size: 499.1 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 955e132d8350b2dcc8126efe274170b2a15bc58ff71d893b3f8fdffcb0eab59c
MD5 f3c80884fd6fd265011e7b966ae8e048
BLAKE2b-256 9478545dc1bda400d3ec9cc7501a513562d3fef0a56f406f4e10b29149122d93

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