MpegTV Server

What is mpegtv?
MpegTV is an mpegts streamer/restreamer (for ubuntu 18.04 64bits) 
features:
 - Written in C (Amd64 direct machine code no scripting/emulation/virtualisation)
 - Built-in h262,h264 and h265 analyser (no need to ffmpeg for restreaming)
 - Mysql database storage.
 - Very fast clients connection and channel zapping (works smoothly even with ddos attack)
 - Easy clients,streams.. manipulation (add/edit/disable/enable/delete).
 - On-demand channels option.
 - picon, epg and series support.
 - MAG devices support, classic (c) and minimalist (n) portals.
 - full xtream-codes panel compatibility (get/panel_api/player_api)
 - unlimited loadbalancers, clients, stream, channels...
 - optimized search into database (treats 30000 clients as they are only 300)
 - very low cpu usage (can be installed on VPS).
 - multi level subreseller system.
 - built-in activecode and anti-bruteforce attack.
GENERAL OPTIONS (/var/mpegtv/mpegtv.cfg)
HTTP PORT: <port value>
Listening port for HTTP server
MYSQL SERVER: <mysqlserver ip/host>
Mysql hostname
MYSQL USERNAME: <username>
Mysql connection
MYSQL PASSWORD: <passsword>
Mysql connection
MYSQL DATABASE: <database>
Mysql database name
FILE IP2COUNTRY: <path>
load ipcountry data from csv file
TRIAL INSTALLATION ON UBUNTU 18.04 (x86_64)
Install Mysql Server & ffmpeg libraries
Ubuntu 18.04 (x86_64)
apt-get update
apt install ffmpeg libavcodec57 libavutil55 libavfilter6 libavformat57 mysql-server libmysqlclient20
Download and Extract files
wget -O /usr/local/bin/mpegtv http://infosat.org/mpegtv/files/mpegtv
chmod 755 /usr/local/bin/mpegtv
wget -O /usr/local/bin/slave http://infosat.org/mpegtv/files/slave
chmod 755 /usr/local/bin/slave
mkdir /var/mpegtv
cd /var/mpegtv
wget http://infosat.org/mpegtv/files/mpegtv-data.tgz
tar -xzf mpegtv-data.tgz
Edit Config (/var/mpegtv/mpegtv.cfg)
Setup your MYSQL server parameters: server, database, username and password
Installation will fail if you dont put the right password for mysql server knowing that most of users do
HTTP PORT: 8080
MYSQL SERVER: localhost
MYSQL USERNAME: *** MYSQL USERNAME ***
MYSQL PASSWORD: *** MYSQL PASSWORD ***
MYSQL DATABASE: mpegtv
Execution
Execute Main
mpegtv
Open now your browser and enter the server url with the http port
default login user: admin
default login pass: admin
Execute Slave Server
slave <port>
slave 9999
Preview
Screenshots