Spaces:
Running
Running
Update docs
Browse files
README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
# MediaFlow Proxy
|
2 |
|
3 |
-
<
|
|
|
|
|
4 |
|
5 |
MediaFlow Proxy is a powerful and flexible solution for proxifying various types of media streams. It supports HTTP(S) links, HLS (M3U8) streams, and MPEG-DASH streams, including DRM-protected content. This proxy can convert MPEG-DASH DRM-protected streams to decrypted HLS live streams in real-time, making it one of the fastest live decrypter servers available.
|
6 |
|
@@ -18,15 +20,16 @@ MediaFlow Proxy is a powerful and flexible solution for proxifying various types
|
|
18 |
## Installation
|
19 |
|
20 |
|
21 |
-
###
|
|
|
|
|
22 |
|
23 |
1. Pull & Run the Docker image:
|
24 |
```
|
25 |
docker run -p 8888:8888 -e API_PASSWORD=your_password mhdzumair/mediaflow-proxy
|
26 |
```
|
27 |
|
28 |
-
|
29 |
-
### Using Poetry
|
30 |
|
31 |
1. Clone the repository:
|
32 |
```
|
@@ -50,7 +53,7 @@ MediaFlow Proxy is a powerful and flexible solution for proxifying various types
|
|
50 |
```
|
51 |
|
52 |
|
53 |
-
|
54 |
|
55 |
1. Build the Docker image:
|
56 |
```
|
@@ -62,7 +65,7 @@ MediaFlow Proxy is a powerful and flexible solution for proxifying various types
|
|
62 |
docker run -p 8888:8888 -e API_PASSWORD=your_password mediaflow-proxy
|
63 |
```
|
64 |
|
65 |
-
|
66 |
|
67 |
Set the following environment variables:
|
68 |
|
@@ -70,6 +73,24 @@ Set the following environment variables:
|
|
70 |
- `PROXY_URL`: Optional. HTTP/HTTPS/SOCKS5 proxy URL for forwarding network requests.
|
71 |
- `MPD_LIVE_STREAM_DELAY`: Optional. Delay in seconds for live DASH streams. This is useful to prevent buffering issues with live streams. Default is `30` seconds.
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
## Usage
|
74 |
|
75 |
### Endpoints
|
@@ -127,13 +148,15 @@ encoded_url = encode_mediaflow_proxy_url(
|
|
127 |
"key": "FmY0xnWCPCNaSpRG-tUuTQ",
|
128 |
"api_password": "your_password"
|
129 |
},
|
130 |
-
|
131 |
"referer": "https://media.axprod.net/",
|
132 |
"origin": "https://media.axprod.net",
|
133 |
}
|
134 |
)
|
135 |
|
136 |
print(encoded_url)
|
|
|
|
|
137 |
```
|
138 |
|
139 |
This will output a properly encoded URL that can be used with players like VLC.
|
|
|
1 |
# MediaFlow Proxy
|
2 |
|
3 |
+
<div style="text-align: center;">
|
4 |
+
<img src="https://cdn.githubraw.com/mhdzumair/mediaflow-proxy/main/logo.png" alt="MediaFlow Proxy Logo" width="200" style="border-radius: 15px;">
|
5 |
+
</div>
|
6 |
|
7 |
MediaFlow Proxy is a powerful and flexible solution for proxifying various types of media streams. It supports HTTP(S) links, HLS (M3U8) streams, and MPEG-DASH streams, including DRM-protected content. This proxy can convert MPEG-DASH DRM-protected streams to decrypted HLS live streams in real-time, making it one of the fastest live decrypter servers available.
|
8 |
|
|
|
20 |
## Installation
|
21 |
|
22 |
|
23 |
+
### Option 1: Self-Hosted Deployment
|
24 |
+
|
25 |
+
#### Using Docker from Docker Hub
|
26 |
|
27 |
1. Pull & Run the Docker image:
|
28 |
```
|
29 |
docker run -p 8888:8888 -e API_PASSWORD=your_password mhdzumair/mediaflow-proxy
|
30 |
```
|
31 |
|
32 |
+
#### Using Poetry
|
|
|
33 |
|
34 |
1. Clone the repository:
|
35 |
```
|
|
|
53 |
```
|
54 |
|
55 |
|
56 |
+
#### Build and Run Docker Image Locally
|
57 |
|
58 |
1. Build the Docker image:
|
59 |
```
|
|
|
65 |
docker run -p 8888:8888 -e API_PASSWORD=your_password mediaflow-proxy
|
66 |
```
|
67 |
|
68 |
+
#### Configuration
|
69 |
|
70 |
Set the following environment variables:
|
71 |
|
|
|
73 |
- `PROXY_URL`: Optional. HTTP/HTTPS/SOCKS5 proxy URL for forwarding network requests.
|
74 |
- `MPD_LIVE_STREAM_DELAY`: Optional. Delay in seconds for live DASH streams. This is useful to prevent buffering issues with live streams. Default is `30` seconds.
|
75 |
|
76 |
+
|
77 |
+
### Option 2: Premium Hosted Service (ElfHosted)
|
78 |
+
<div style="text-align: center;">
|
79 |
+
<img src="https://store.elfhosted.com/wp-content/uploads/2024/08/mediaflow-proxy.jpg" alt="ElfHosted Logo" width="200" style="border-radius: 15px;">
|
80 |
+
</div>
|
81 |
+
For a hassle-free, high-performance deployment of MediaFlow Proxy, consider the premium hosted service through ElfHosted.
|
82 |
+
|
83 |
+
To purchase:
|
84 |
+
1. Visit [https://store.elfhosted.com/product/mediaflow-proxy](https://store.elfhosted.com/product/mediaflow-proxy)
|
85 |
+
2. Follow ElfHosted's setup instructions
|
86 |
+
|
87 |
+
Benefits:
|
88 |
+
- Instant setup and automatic updates
|
89 |
+
- High performance and 24/7 availability
|
90 |
+
- No server maintenance required
|
91 |
+
|
92 |
+
Ideal for users who want a reliable, plug-and-play solution without the technical overhead of self-hosting.
|
93 |
+
|
94 |
## Usage
|
95 |
|
96 |
### Endpoints
|
|
|
148 |
"key": "FmY0xnWCPCNaSpRG-tUuTQ",
|
149 |
"api_password": "your_password"
|
150 |
},
|
151 |
+
request_headers={
|
152 |
"referer": "https://media.axprod.net/",
|
153 |
"origin": "https://media.axprod.net",
|
154 |
}
|
155 |
)
|
156 |
|
157 |
print(encoded_url)
|
158 |
+
|
159 |
+
# http://127.0.0.1:8888/proxy/mpd/manifest?key_id=nrQFDeRLSAKTLifXUIPiZg&key=FmY0xnWCPCNaSpRG-tUuTQ&api_password=your_password&d=https%3A%2F%2Fmedia.axprod.net%2FTestVectors%2Fv7-MultiDRM-SingleKey%2FManifest_1080p_ClearKey.mpd&h_referer=https%3A%2F%2Fmedia.axprod.net%2F&h_origin=https%3A%2F%2Fmedia.axprod.net
|
160 |
```
|
161 |
|
162 |
This will output a properly encoded URL that can be used with players like VLC.
|