mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-17 12:02:55 +02:00
A new "Resources" column between Stream Info and Actions: which process is producing the channel (the fanout daemon's native remuxer, ffmpeg, or PHP for the LLOD segmenter / loopback relay), the CPU it is burning and the memory it holds. With the native remuxer now an option per stream, "what does this channel actually cost" and "which backend is it on" are the two questions the list could not answer. ProcessManager reads both from /proc/PID/stat (fields 14/15 and 24, with the page size derived rather than assumed — 64K pages are normal on arm64). CPU there is cumulative, so a percentage needs two readings: cron:streams samples each producer once a pass and folds cpu/mem/producer into the stream's progress_info, carrying the previous reading in the same JSON to subtract from. cpuPercent() returns null rather than a wild figure when the pair says nothing — no previous sample, same instant, or a counter that went backwards because the producer restarted. Only the node running a stream can read its own /proc, so the sampling happens there and reaches the panel in the row the cron already writes; MAIN just renders it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UZP7fc2Hz36wbPmuLd9F9o
XC_VM IPTV Panel
A modern, open-source IPTV panel inspired by Xtream Codes. Lightweight, fast, and community-driven.
What Is It?
XC_VM is a modern IPTV panel built on PHP, Nginx, FFmpeg, and MariaDB.
XC_VM helps you deploy a full IPTV infrastructure:
- Management of Live TV, Movies, and Series
- Reseller and user management
- Load Balancing
- EPG and VOD system
- Monitoring tools and API
💡 Completely free. No licenses. No server locks.
Features
- 🚀 Modern IPTV panel architecture
- 🔀 Built-in load balancer support
- 🎥 Management of VOD and live streams
- 🧩 API compatible with Xtream Codes
- 🔐 Enhanced security fixes
- 📦 Fast FFmpeg-based transcoding
- 🌍 Multi-language documentation
- 🧭 Simple and intuitive interface
- 🛠 Modular extension system
Technologies
- Nginx — reverse proxy & web server
- PHP 8.1 — core backend
- MariaDB — database
- KeyDB — cache/session engine
- FFmpeg 8.0 — transcoding
- yt-dlp — media acquiring
XC_VM officially supports Ubuntu 22.04 and is tested on 24.04.
Community
XC_VM is a fully community-driven project.
- 💬 Issues
- ⭐ GitHub Stars: support the project by giving it a star
- 🔧 Pull Requests: welcome
If you want to contribute, read the:
Contributing Guide
Installation
Installation on Ubuntu 22.04+:
sudo apt update && sudo apt full-upgrade -y
sudo apt install -y python3-pip unzip
latest_version=$(curl -s https://api.github.com/repos/Vateron-Media/XC_VM/releases/latest | grep '"tag_name":' | cut -d '"' -f 4)
wget "https://github.com/Vateron-Media/XC_VM/releases/download/${latest_version}/XC_VM.zip"
unzip XC_VM.zip
sudo python3 install
Disclaimer
You are fully responsible for your own use of this software.