User Tools

Site Tools


simple_linux_ts_streamer

This is an old revision of the document!


Simple Linux TS Streamer

Sep 2017


This Simple Linux TS Streamer allows the streaming of SPTS or MPTS files using just a simple CentOS/Redhat OS.

TS_Streamer_file

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 239.1.1.1 1234 0 ~/temp/F3720p.ts &

Where: 10.132.0.7 → is the IP address of the interface you want to stream from 239.1.1.1 → 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

  test
      access_key = "JLJBK63HMPBC7DC150PA"
      secret_key = "K7H2g33xPj6F7zBNcFGTeL5SlbjTsDNA/9nA2caa"
      region = "eu-west-2"
simple_linux_ts_streamer.1602575367.txt.gz · Last modified: 2023/03/09 22:35 (external edit)