KRZN.live
Send feeds (publish)

MPEG-TS

supported codecs
video H265, H264, MPEG-4 Video (H263, Xvid), MPEG-1/2 Video
audio Opus, MPEG-4 Audio (AAC), MPEG-1/2 Audio (MP3), AC-3
other KLV

The server supports ingesting MPEG-TS streams, shipped in two different ways (UDP packets or Unix sockets).

In order to read a UDP MPEG-TS stream, edit krznlive.yml and replace everything inside section paths with the following content:

paths:
  mypath:
    source: udp+mpegts://ip:port

The IP is usually a multicast IP, for instance:

paths:
  mypath:
    source: udp+mpegts://238.0.0.1:1234

If the listening IP is a multicast IP, KRZN Live will listen for incoming packets on the default multicast interface, picked by the operating system. It is possible to specify the interface manually by using the interface parameter:

paths:
  mypath:
    source: udp+mpegts://238.0.0.1:1234?interface=eth0

It is possible to restrict who can send packets by using the source parameter:

paths:
  mypath:
    source: udp+mpegts://0.0.0.0:1234?source=192.168.3.5

Some clients that can publish with UDP and MPEG-TS are FFmpeg and GStreamer.

Unix sockets are more efficient than UDP packets and can be used as transport by specifying the unix+mpegts scheme:

paths:
  mypath:
    source: unix+mpegts:///tmp/socket.sock
Message us