MpegTV Server r38
Download


What is mpegtv?
MpegTV is a standalone mpegts restreamer for amd64 (64 bits) 
History log
r38:
 * Added Option: Stream replay detection
 if replay is detected, the stream will be temporary suspended but not disconected.

r37:
 * Changed langage to english

r36:
 * Fixed database installation error
 * Added delete option for client and stream
GENERAL OPTIONS (mpegtv.cfg)
HOSTNAME: <your ip/hostname>
Server hostname
HTTP PORT: <port value>
Listening port for HTTP server
MPEGTS PORT: <value>
Mpegts Server listening port
MPEGTS APP: <string>
Application name for streaming 
MPEGTS APP: live ( url=> http://yourhost:xx/live/...ts )
MYSQL SERVER: <mysqlserver ip/host>
Mysql hosatname
MYSQL USERNAME: <username>
Mysql connection
MYSQL PASSWORD: <passsword>
Mysql connection
MYSQL DATABASE: <database>
Mysql database name
INSTALLATION ON UBUNTU 14.04 (x86_64)
Install Mysql Server & Client
Ubuntu 14.04 (x86_64)
sudo apt-get update
sudo apt-get install mysql-server mysql-client
sudo service mysql start
Download and Extract files
cd /
wget http://www.infosat.org/mpegtv/mpegtv.tar
tar -xf mpegtv.tar
Edit Config (/usr/local/mpegtv/mpegtv.cfg)
Setup your MYSQL server parameters: server, databse, username and password
Installation will fail if you dont put the right password for mysql server knowing that most of users do
MYSQL SERVER: localhost
MYSQL USERNAME: root
MYSQL PASSWORD: *** MYSQL PASSWORD ***
Create database
Mpegtv will install database and tables just execute the next command (please be sure that the database doesnt exist)
mpegtv -i
Execute
for background execution
mpegtv -b
Open now your browser and enter the server url with the http port
user: admin
pass: admin