444Video The Full Picture

Blog ·

Stream SRT using a Raspberry Pi

A Raspberry Pi 4 Model B, labelled: processor, choice of RAM, USB-C power, two micro HDMI ports, USB 2, USB 3 and gigabit Ethernet.

Intro

Faced with the challenge of conducting tests in a mobile environment, I needed a portable and efficient solution. Then, inspiration struck! I realised I could leverage the SRT Cookbook and TSDuck to create a compact playout system. Here’s how I brought this idea to life.

Equipment

Prerequisites

Before you start, make sure you have:

Install TSDuck

I’ve often had trouble installing TSDuck on a Raspberry Pi 4 running Raspberry Pi OS, mostly dependency conflicts and compilation errors. Then I found a comprehensive guide with clear, step-by-step instructions, which led to a successful installation: srtlab.github.io/srt-cookbook/apps/tsduck.html

Syntax

Once you’ve confirmed TSDuck is installed, here is the command used in this example:

tsp -v -I file -i 60ibars.ts -P regulate -p 7 -O srt --caller 192.168.1.198:2000 --transtype live --enforce-burst

Result

Terminal output: tsp regulating the stream at about 9.92 Mb/s over SRT.

All posts