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 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:
[24.09.2019]
- import all series/vod database from xtream
- fixed paiement system now by default prepaid.
[22.09.2019]
- fixed vod in mag, portal must be entred like that in mag: http://hostnameort/c/ (dont forget forward slash "/" after c)
[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
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
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
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
All Information:
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 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:
[24.09.2019]
- import all series/vod database from xtream
- fixed paiement system now by default prepaid.
[22.09.2019]
- fixed vod in mag, portal must be entred like that in mag: http://hostnameort/c/ (dont forget forward slash "/" after c)
[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
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
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
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
All Information:
Last edited by a moderator: