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.
History log:
[21.09.2019]
- fixed mag portal
- xconv: added conversion of forced_country,reseller_notes,admin_notes from table users
- xconv: identify channel server_id from database
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
Hidden text, you need have 15 likes, now you have 241 likes.
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
Xtream to Mpegtv Converter
Hidden text, you need have 15 likes, now you have 241 likes.
xconv ouputs sql requests for mpegtv database
Usage: xcon -u <mysql_username> -p <mysql_password> -d <xtream_database>
1. Download xconv
wget -O /usr/local/bin/xconv
http://infosat.org/mpegtv/files/xconv
chmod 755 /usr/local/bin/xconv
2. Get the converted database
xconv -u user_name -p user_password -d xtream_iptvpro > database.sql
3. Update mpegtv database
mysql -u user_name -p user_password mpegtv < database.sql