Simple Linux TS Streamer
This Simple Linux TS Streamer allows the streaming of SPTS or MPTS files using just a simple CentOS/Redhat OS.
Copy the above file to your CentOS VM – extract it and navigate to openstack……./mpeg2tsbroacaster/ folder. (/opt/streamer/bin by default)
In there run the following command:
nohup sudo ./mpeg2ts_broadcaster 10.132.0.7 184.108.40.206 1234 0 ~/temp/F3720p.ts &
10.132.0.7 → is the IP address of the interface you want to stream from
220.127.116.11 → multicast you want it come out on
1234 → Port
0 → To loop forever
~/temp/F3720p.ts → Path to your ts file to use
If you wrap the nohup and & around it, you can then disconnect and leave it running.
To kill it:
Sudo ps aux | grep mpeg2
You will see it running as a process – just need to kill it: sudo kill -9 processid