Flussonic Media Server documentation

Contents

MPTS

MPTS

MPTS is Multi Program Transport Stream (MPEG-TS). It is widely used in DVB-networks (sattelite, cable, or terrestrial broadcasting).

As a rule, Internet works with single-program (SPTS) streams, therefore you can use the Flussonic Media Server to "parse" MPTS into separate streams and distribute them to a local network via UDP, or broadcast to the Internet via HLS, DASH, RTMP, and other protocols.

As a rule, MPTS is received via UDP from multicast groups, but getting it over HTTP is also possible.

Important Do not capture MPTS stream via HTTP. It consumes a lot of server resources. Most probably, your source can provide SPTS streams.

MPTS ingest

To configure ingest over MPTS, you will need to know in advance the ID (Program ID) of each channel within the MPTS stream. For this you can use, for example, the utility ffprobe.

For each channel that you want to ingest, do the following steps:

  1. Create a stream and specify the source, for example, udp://239.0.0.1:1234 (Media > Streams > add).
  2. Go to source options (Input > Options) and enter the channel ID in the MPEG-TS program field.
  3. Save the settings.

Repeat the steps for each program in MPTS stream.

Example of configuration for ingesting three programs, as it appears in the file /etc/flussonic/flussonic.conf:

stream 1 {
  url udp://239.0.0.1:1234 program=2001;
}

stream 2 {
  url udp://239.0.0.1:1234 program=2002;
}

stream 3 {
  url udp://239.0.0.1:1234 program=2003;
}