Releases: mhdzumair/mediaflow-proxy
2.4.5
🚀 MediaFlow 2.4.5 Released
✨ New Features & Enhancements
- 📱 Enhanced Telegram Handling: Major upgrade to Telegram media processing. You can now resolve media using
chat_idanddocument_iddirectly. - ⚡ Performance Caching: Introduced Redis caching for
document_idtomessage_idmappings, significantly speeding up media retrieval. - 🏗️ Expanded Architecture Support: Added official support for
linux/arm/v7platforms in Docker builds, improving compatibility with older hardware and specific IoT devices. - ⚙️ Advanced Configuration: New settings for Telegram document scanning limits and cache TTL (Time To Live) are now available for better fine-tuning.
🐛 Bug Fixes
- 🔤 Unicode Filename Support: Fixed a critical issue to ensure Cyrillic and other Unicode characters are correctly handled within Telegram routes.
- 📺 Vavoo Integration: Updated the Vavoo provider to resolve recent connectivity issues.
- 🛠️ Build Stability: Fixed specific errors occurring during the ARMv7 Docker build process.
🤝 Contributors
A big thank you to the contributors who made this release possible:
@IuraHD, @CKGrafico, @qwertyuiop8899, and @mhdzumair.
📄 Full Changelog:
2.4.4
🚀 MediaFlow 2.4.4 Released
This update focuses on significant performance optimizations, streaming stability for DASH protocols, and critical fixes for HLS authentication.
🚀 New Features & Enhancements
- ⚡ DASH Prebuffering & Live Stability: Major enhancements to DASH streaming, including new configuration options for player lock timeouts and concurrent prefetch downloads. Improved MPD live playlist logic to ensure stable media sequences and better performance during live streams (#87).
- 📉 Optimized Startup & Resource Usage: Implemented lazy loading for optional integrations like Acestream and Telegram. This refactor prevents unnecessary CPU spikes on startup and ensures resources are only used when features are enabled.
- ⚙️ Advanced Streaming Control: Added configurable timeouts and concurrency limits for prebuffering to give users finer control over their streaming experience.
🛠️ Bug Fixes
- 🔒 HLS Authentication Propagation: Fixed a critical issue where authentication headers were not being passed to HLS initialization segments (
EXT-X-MAP), ensuring encrypted or protected streams load correctly (#241). - 🧹 Code Maintenance: Applied formatting improvements and refactored router initialization for better long-term stability.
🤝 Contributors
Special thanks to @mhdzumair and @tiagomatrixd for their contributions to this release!
📄 Full Changelog
For a detailed list of all changes, visit the official comparison link.
2.4.3
🚀 MediaFlow 2.4.3 Released
This update significantly enhances media processing capabilities, introducing real-time transcoding for better browser compatibility and a new high-performance remuxer for seamless streaming.
✨ New Features & Enhancements
- 🎥 On-the-Fly Transcoding: Added support for real-time transcoding to browser-compatible fMP4. Includes GPU acceleration support and a new settings toggle to enable/disable transcoding as needed. (Requires
av>=14.0.0). - 🔄 Pure Python fMP4-to-MPEG-TS Remuxer: New remuxer with ExoPlayer compatibility. It preserves original timestamps for seamless transitions and adds a new
/mpd/segment.tsendpoint for TS segment delivery. - ⚡ Redis Integration: Introduced Redis support for more efficient rate limiting and caching, improving performance for high-traffic environments.
- 🛠️ Enhanced Extractor Logic: Improved handling for Filelions, Streamwish, and Videoza. Videoza now includes exclusive stream handling and better cache logic to prevent 509 errors.
- ⚙️ Optimized DLHD Extractor: Significant performance boost by moving CPU-bound tasks to thread executors and adding fingerprint support.
- 📊 Timeline Refactoring: Updated timeline processing for more accurate time calculations and better MPD duration handling.
🐛 Bug Fixes
- 🔐 DRM Improvements: Fixed multi-key handling issues and resolved
EXT-X-MAP:URIparser errors. Added extracted KID support. - 🌐 Upstream Handling: Fixed a bug related to checking
206 Partial Contentupstream status codes. - 💾 Cache Protection: Fixed potential cache corruption within the DLHD stream extraction process.
- 🚿 Code Cleanup: Resolved linter errors using Ruff and removed redundant code blocks in
dlhd.py.
📄 Documentation & Maintenance
- 📝 README Updates: Added detailed documentation on transcoding capabilities, hardware acceleration, and new configuration options.
- 🌍 Localization: Translated various non-English code comments to improve contributor accessibility.
- 🤖 Automation: Implemented an auto-generator for future release notes.
🤝 Contributors
@GLlgGL, @mhdzumair, @spawntty, @stremio-manager, and Cursor.
📄 Full Changelog
2.4.2
🚀 MediaFlow Proxy 2.4.2 Released
✨ New Features & Enhancements
- 📡 Telegram MTProto Proxy Support — Stream media directly from Telegram channels, groups, and DMs via MTProto proxy. Includes support for
t.melinks, file IDs, and session management. (#223) by @mhdzumair - 👤 Username Rewriting & XC v1 API — Added support for username rewriting in API responses and the XC v1 API endpoint. (#211)
- 📥 GUpload Extractor — New extractor for GUpload-hosted content. (#222) by @GLlgGL
- 📝 Improved Logging & HTTP Method Handling — Enhanced logging across streaming requests for better debugging and diagnostics. (#210)
🐛 Bug Fixes
- 🔧 Fix VidozaExtractor and update HTTP header handling (#215) by @GLlgGL
- 🔧 Fix regex in VidMoly extractor (#217) by @GLlgGL
- 🔧 Fix setting stream offset in VOD m3u8 streams
- 🔧 Fix URL rewriting when
LIVESTREAM_START_OFFSETis enabled (#212) - 🔧 Remove invalid token in Vavoo (#216) by @qwertyuiop8899
- 🔧 Fix various failing extractors with added integration tests
🆕 New Contributors
- @qwertyuiop8899 made their first contribution in #216
🤝 Contributors
@GLlgGL · @mhdzumair · @qwertyuiop8899
📄 Full Changelog: 2.4.1...2.4.2
2.4.1
🚀 MediaFlow 2.4.1 Released
✨ New Features & Enhancements
- 📺 Live Stream Start Offset – New
LIVESTREAM_START_OFFSETsetting to start live streams behind the live edge with#EXT-X-STARTtag injection for better playback control (#209) - 👤 XtreamCode Username Handling – Enhanced username handling for better compatibility
🐛 Bug Fixes
- ⏱️ Stream Timeout – Fixed stream timeout in aiohttp streamer and improved client disconnect handling
- 📺 Acestream HLS – Fixed HLS stream playback with auto cleanup error
- 🔧 Turbovidplay – Fixed extractor 429 rate limit error
🤝 Contributors
📄 Full Changelog
2.4.0
🚀 MediaFlow 2.4.0 Released
✨ New Features & Enhancements
- 📺 Acestream Proxy Support – Proxy P2P Acestream content through MediaFlow with HLS and MPEG-TS output formats, automatic session management, and cross-process coordination.
- 📡 Xtream Codes (XC) API Proxy – Stateless XC API proxy for IPTV players with support for live streams, VOD, series, and catch-up/timeshift functionality.
- ⚡ Migrated to aiohttp – Replaced httpx with aiohttp for HTTP requests, delivering better performance and lower CPU usage.
- 🔄 Stream Transformer – New transformer system for host-specific content manipulation, including automatic stripping of fake PNG wrapper bytes from TS segments.
- ⏭️ Segment Skipping – Skip intros, outros, and unwanted content in HLS/DASH streams using
&skip=start-end,start-end,...parameter. - ⚡ Smart Pre-buffering – Enhanced pre-buffering for HLS and DASH streams with continuous prefetching for live streams.
- 🔐 Multi-Key DRM Support – Handle streams with different decryption keys for video and audio tracks.
- 🎬 Enhanced MP4 Decryption – Added CBC1 and CBCS encryption schemes with pattern handling and multi-track segment support.
- 🎨 New URL Generator UI – Fresh URL generator page with dark mode support and improved Tailwind CSS styling across all pages.
- 📦 SegmentBase MPD Support – Improved handling of SegmentBase profiles with proper byte range initialization (#166).
- 📋 Header Propagation – New
propagate_response_headersoption and enhanced header management across all proxy endpoints. - 🧹 Cache Control – Added
CLEAR_CACHE_ON_STARTUPenvironment variable.
🛠️ Infrastructure
- 📦 Migrated from Poetry to uv – Faster dependency management.
- 🐳 Multi-stage Dockerfile – Smaller image size and improved build process.
- ☁️ Heroku Deployment – Added
heroku.ymlfor container deployment (#205). - 🔍 GitHub Actions + Ruff – Automated linting workflow.
🐛 Bug Fixes
- 🔧 FileMoon – Fixed extraction failures with relative iframe URLs (#188)
- 🔧 Vidoza – Fixed extractor (#207)
- 🔧 Doodstream – Fixed extractor (#206)
- 🔧 Okru – Fixed extractor (#204)
- 🔧 Vidmoly – Fixed headers (#195)
- 🔧 F16Px – Removed hostname verifier (#194)
- 🔧 Sportsonline – Fixed warning message (#202)
- 🔧 Torrentio – Set default user-agent in request headers (#193)
- 🔧 MPD Parsing – Fixed absolute path URL resolution (#115)
- 🔧 Streaming – Enhanced error handling with graceful network error recovery
🗑️ Removed
- Vidguard extractor – Removed dead host (#196)
🤝 Contributors
@mhdzumair, @GLlgGL, @spawntty, @UrloMythus, @vskrch
🆕 New Contributors
📄 Full Changelog
2.3.5
🚀 MediaFlow 2.3.5 Released
✨ New Features & Enhancements
- ⏭️ Segment Skipping – Skip intros, outros, and unwanted content in HLS/DASH streams using the new
&skip=start-end,start-end,...parameter. - 🔄 Stream Transformer – New transformer system to handle host-specific content manipulation, including automatic stripping of fake PNG wrapper bytes from TS segments.
- ⚡ Smart Pre-buffering – Enhanced pre-buffering for HLS and DASH streams with continuous prefetching for live streams, significantly reducing buffering.
- 🔐 Multi-Key DRM Support – Handle streams with different decryption keys for video and audio tracks.
- 🎬 Enhanced MP4 Decryption – Added support for CBC1 and CBCS encryption schemes with pattern handling and multi-track segment decryption.
- 📦 SegmentBase MPD Support – Improved handling of SegmentBase profiles with proper byte range initialization segments (#166).
- 📋 Header Propagation – New
propagate_response_headersoption to forward specific headers to segment requests. - 🧹 Cache Control – Added
CLEAR_CACHE_ON_STARTUPenvironment variable for clearing caches on server start.
🐛 Bug Fixes
⚠️ SportsOnline Warning – Fixed warning message in sportsonline.py (#202)
🤝 Contributors
📄 Full Changelog
2.3.4
🚀 MediaFlow 2.3.4 Released
✨ New Features & Enhancements
- 🔗 URL Generator Page – New tool for generating proxy URLs, extractor links, and encoded URLs directly from the UI.
- 🎬 Resolution Selection – Enhanced MPD & M3U8 processing with resolution filtering support.
- 📋 Header Management – Improved header handling across all proxy endpoints with support for removing specific headers.
- 🌙 Dark Mode – Theme toggle support added across all pages (speed test, playlist builder, URL generator).
- 🌐 Public IP Detection – Reliable IP retrieval using multiple lookup services for better accuracy.
- 📦 Migrate to uv – Switched from Poetry to uv for faster dependency management.
🐛 Bug Fixes
- 🔧 Torrentio Fix – Set default user-agent in request headers when not present (#193)
- 🎥 Vidmoly Headers – Fixed header handling for vidmoly extractor (#195)
- 🔒 F16Px Fix – Removed hostname verifier causing issues (#194)
- 🎥 TurboVidPlay Headers – Fixed by removing content-length header in stream
🧹 Maintenance
- 🗑️ Removed Dead Extractor – Deleted non-functional vidguard.py (#196)
🤝 Contributors
@mhdzumair, @spawntty, @GLlgGL
🆕 New Contributors
@spawntty made their first contribution!
📄 Full Changelog
2.3.3
🚀 MediaFlow 2.3.3 Released
🐛 Bug Fixes
- 📺 Stream Resume Fix – Fixed an issue where streams would restart from the beginning instead of resuming after a connection drop. Players now receive proper Content-Length headers, enabling automatic resume from the last position.
🤝 Contributors
📄 Full Changelog:
2.3.2
🚀 MediaFlow 2.3.2 Released
🐛 Bug Fixes
- 🌙 FileMoon Extraction Fix – Resolved extraction failures caused by relative iframe URLs. Now properly normalizes URLs using the actual response URL and prefers
/e/embed URLs over/d/decision pages, making extraction resilient to redirects and various URL formats.