MediaFlow Proxy
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
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.
Metadata
Release files for mediaflow-proxy 2.4.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mediaflow_proxy-2.4.9.tar.gz | 458.8 kB | Without provenance | Details for mediaflow_proxy-2.4.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mediaflow_proxy-2.4.9-py3-none-any.whl | Python 3 | none | any | Details for mediaflow_proxy-2.4.9-py3-none-any.whl |
Total release size: 970.0 kB
Release files / mediaflow_proxy-2.4.9.tar.gz
| Download URL | mediaflow_proxy-2.4.9.tar.gz |
|---|---|
| Size | 458.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b189f76cc694f5d3f034437d2320cae85560c7a657c2b4e2b34f836bbac9da96
|
|
BLAKE2b-256 checksum How to use checksums |
b4b02f280a705755134dfb17776ae0d86e064dae04d5ce51e0bce03f716d8c54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / mediaflow_proxy-2.4.9-py3-none-any.whl
| Download URL | mediaflow_proxy-2.4.9-py3-none-any.whl |
|---|---|
| Size | 511.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2036b852ade5932a0676fbfd8ab62e8b78f7fc8b1351691a708f70b19e6b3f45
|
|
BLAKE2b-256 checksum How to use checksums |
8c7530744ffdb5b9fa3a22292d518fc9e0204699f77a75d3bad2ce5d4a9d0511
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for mediaflow-proxy 2.4.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.