Skip to content

About

HLS/DASH/VOD stream sniffer, live watchdog & intelligent downloader studio powered by yt-dlp. Features Desktop GUI, Web Studio, Cyberpunk CLI & native yt-dlp plugin.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

⚡ StreamVortex: Intelligent Stream Sniffer & Downloader Engine for yt-dlp

Version yt-dlp Python License Platform Tests

Universal Stream Intelligence Studio, PyWebView Desktop Studio, Live Watchdog, Container Repair & Native yt-dlp Plugin Engine

   _____ _                              _    _            _            
  / ____| |                            | |  | |          | |           
 | (___ | |_ _ __ ___  __ _ _ __ ___   | |  | | ___  _ __| |_ _____  __
  \___ \| __| '__/ _ \/ _` | '_ ` _ \  | |  | |/ _ \| '__| __/ _ \ \/ /
  ____) | |_| | |  __/ (_| | | | | | | \ \_/ / (_) | |  | ||  __/>  < 
 |_____/ \__|_|  \___|\__,_|_| |_| |_|  \___/ \___/|_|   \__\___/_/\_\ 

StreamVortex bridges the gap when media downloaders fail on live broadcasts, VODs, or protected HLS/DASH streams due to Akamai WAF challenges, dynamic Webcast parameters, obfuscated player tokens, or strict anti-bot firewalls.

It operates seamlessly in 3 core modes:

  1. 🖥️ PyWebView Desktop Studio (v2.0) — Broadcast-grade native desktop studio (Chromium WebView2) with embedded HLS.js & local Range video monitor, live throughput oscilloscope, interactive clip trimmer, playlist picker, background multi-platform watchdog, ffprobe container inspector, live engine console, and built-in yt-dlp.conf editor.
  2. ⚡ Executive Pro CLI & Control Center — Interactive guided menu and high-speed command-line tooling for power users.
  3. 🔌 Transparent yt-dlp Plugin — Drop-in multi-tier extractors that enhance your standard yt-dlp command automatically with instant direct .m3u8 bypass.

🌟 Key Features

  • 📦 Standalone Executable (StreamVortex.exe):
    • Zero technical knowledge required! Users without Python or command-line experience can download StreamVortex.exe from GitHub Releases and run it right away.
  • 🚀 1-Click Zero-Setup Media Engine (streamvortex --onboard):
    • Automatically detects system prerequisites and downloads official yt-dlp.exe, ffmpeg.exe, and ffprobe.exe.
    • Deploys your global yt-dlp.conf preset directly adjacent to yt-dlp.exe, establishing full global CLI usability across your entire PC.
    • Detects or installs official Python 3.11 runtime and VLC Media Player.
    • Safely registers tools in Windows User PATH without requiring Administrator privileges.
  • 🖥️ PyWebView Desktop Studio (streamvortex --gui):
    • Broadcast Monitor & Inline Playback: Embedded HLS.js & HTTP 206 Range local video player with Mark-In / Mark-Out clip trimming and live format matrix.
    • Live Telemetry & Engine Console: Real-time throughput oscilloscope (MB/s current & peak), concurrent batch queue (1–4 workers) with 1-click Retry, and live yt-dlp/FFmpeg console logs.
    • Direct .m3u8/HLS Bypass & Playlist Picker: Instant manifest parsing without slow headless browser overhead, plus flat-playlist item selection.
    • Deep ffprobe Container Inspector & Batch Folder Repair: Inspect codecs, resolution, FPS, bitrate, and duration; scan entire folders for broken .part/.flv/MPEG-TS files and remux to faststart MP4/MKV or extract MP3/M4A audio.
    • Auto-Clipboard Watch, Drag-Drop & Ctrl+K Command Palette: Automatic URL detection from clipboard, drag-drop media/URLs anywhere, and keyboard-first navigation.
    • Background Multi-Platform Creator Watchdog: Background daemon monitoring TikTok, Twitch, Kick, YouTube, and direct URLs with per-creator auto-record and desktop notifications.
    • Built-In yt-dlp.conf Editor & Browser Cookie Auth: Edit yt-dlp.conf directly inside Settings, enable Chrome/Edge/Firefox/Brave cookies, set bandwidth caps/proxies, view inline diagnostics, and update yt-dlp in 1 click.
  • 🔌 Native yt-dlp Terminal Integration:
    • Uses standard yt-dlp <URL> seamlessly in your terminal.
    • Overrides broken built-in extractors with resilient multi-tier scrapers.
    • Direct stream bypass: instant .m3u8/.mpd/.flv processing without browser launching.
    • Universal sniffer protocol support: yt-dlp "smart:<URL>".
  • 📡 Live Watchdog & Lossless Auto-Record (--wait / -w):
    • Monitors offline creators and starts lossless recording the exact second they go live.
  • 📋 One-Click Clipboard & Toast Notifications (--copy / -c):
    • Copies direct .m3u8 master playlist URLs to the Windows clipboard with native desktop toast notifications.
  • 🩺 System Health Doctor (streamvortex --doctor):
    • Verifies and diagnoses Python, FFmpeg, Playwright/Chromium, media players, and plugin status in 1 command.

🚀 Quick Start

Option 1: Standalone Windows Executable (No Python Required)

  1. Download StreamVortex.exe from the Releases tab.
  2. Double-click StreamVortex.exe.
  3. If it is your first time, the Zero-Setup Wizard will offer to auto-configure yt-dlp and ffmpeg into C:\Tools in under 60 seconds.

Option 2: Run via One-Click Launcher (Launch StreamVortex.bat)

Double-click Launch StreamVortex.bat (or drag & drop any URL or media file onto it). The launcher includes automatic Python discovery (3.9–3.13), UTF-8 encoding support, drag-and-drop repair, and launches the exact same interactive CLI with Up/Down arrow navigation as StreamVortex.exe.


Option 3: Python Pip Installation (Cross-Platform)

# Clone the repository
git clone https://github.com/BMQ-1/StreamVortex.git
cd StreamVortex

# Install StreamVortex in editable mode with dependencies
pip install -e .

# Launch Desktop GUI Studio
streamvortex --gui

# Or run interactive terminal wizard
streamvortex

💻 CLI Usage & Commands

1. Seamless Native yt-dlp Plugin

Standard yt-dlp commands work out of the box with StreamVortex's extractor enhancements:

# Download or record TikTok Live broadcasts
yt-dlp "https://www.tiktok.com/@username/live"

# Universal Sniffer for any arbitrary streaming website:
yt-dlp "smart:https://some-stream-site.com/live/channel"

2. StreamVortex CLI

# Inspect stream and view multi-bitrate resolution table
streamvortex "https://www.tiktok.com/@username/live"

# Copy direct .m3u8 URL to clipboard (with Windows toast notification)
streamvortex -c "https://www.tiktok.com/@username/live"

# Extract audio only as high-quality MP3
streamvortex -a "https://www.tiktok.com/@username/live"

# Play stream directly in MPV or VLC without downloading
streamvortex -p "https://www.tiktok.com/@username/live"

# Record live broadcast with automatic reconnect
streamvortex -r "https://www.tiktok.com/@username/live"

# Watchdog mode: wait until creator goes live, then auto-record
streamvortex -w -r "https://www.tiktok.com/@username/live"

# Launch Modern Desktop GUI Studio
streamvortex --gui

# Run system health diagnostics
streamvortex --doctor

# 1-Click Zero-Setup media environment installer
streamvortex --onboard

📂 Project Structure

StreamVortex/
├── Launch StreamVortex.bat       # 1-Click beginner launcher
├── StreamVortex.spec             # PyInstaller standalone build configuration
├── build_exe.py                  # Automated binary packaging script
├── pyproject.toml                # Standard Python package configuration
├── setup.py                      # Setuptools configuration
│
├── ytdlp_smartstream/            # Core Application Package
│   ├── desktop.py                # Desktop GUI Studio Host (pywebview + multi-threaded server + watchdog)
│   ├── studio_ui.py              # Broadcast Control-Room Studio Frontend & HLS/Local Monitor
│   ├── onboarding.py             # 1-Click zero-setup binary installer GUI
│   ├── setup_binaries.py         # Automated yt-dlp & FFmpeg downloader
│   ├── engine.py                 # Core media detection, ffprobe, telemetry & execution engine
│   ├── cli.py                    # Rich terminal interface
│   ├── wizard.py                 # Interactive terminal wizard
│   ├── doctor.py                 # System health and diagnostic auditor
│   ├── config.py                 # Configuration, history, and creator watchlist
│   ├── sniffer.py                # Universal Playwright CDP network interceptor
│   ├── tiktok_resolver.py        # Multi-tier resilient TikTok Live/VOD resolver
│   └── recorder.py               # Lossless live recording & notifications
│
└── yt_dlp_plugins/               # Native yt-dlp Plugin Package
    ├── extractor/
    │   ├── tiktok_smart.py       # Enhanced TikTok Live & VOD extractor
    │   └── universal_smart.py    # Universal 'smart:' stream sniffer extractor
    └── postprocessor/
        └── smartstream_fixup.py  # Lossless container fixup postprocessor

🛠️ Architecture & How It Works

  1. Multi-Tier Resolution: When given a live URL, StreamVortex tries lightweight static room metadata first. If challenges (Akamai/WAF/Bot-detection) are encountered, it automatically escalates to a Playwright headless Chromium browser session to sniff real .m3u8 master playlists directly from CDP network traffic.
  2. Lossless Capture: StreamVortex pipes validated master playlists directly to yt-dlp or ffmpeg -c copy, ensuring byte-for-byte stream capture without quality loss or re-encoding overhead.
  3. Smart Watchdog: Periodically polls creator status across platforms in the background, alerting via desktop notifications and triggering lossless recording the second an offline creator goes live.
  4. Zero-Setup Environment: If yt-dlp or ffmpeg are missing from your PATH, StreamVortex downloads the official portable builds into a local directory and configures everything automatically.

🤝 Contributing

Contributions, bug reports, and feature requests are welcome!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

Distributed under the MIT License. See LICENSE for more details.


StreamVortex — Built with ❤️ for the media preservation and open-source community.

About

HLS/DASH/VOD stream sniffer, live watchdog & intelligent downloader studio powered by yt-dlp. Features Desktop GUI, Web Studio, Cyberpunk CLI & native yt-dlp plugin.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages