Your First Workflows

File input

Building live workflows with Norsk Studio is simple. Just drag and drop components onto the canvas, connect them, and hit play.

Clicking on the drop-down labelled Blank Workflow should give you several prebuilt workflows. A simple example is 00-File-to-CMAF.yaml. Click on it and you should see a workflow that takes a file input and delivers it as CMAF for playback on HLS/DASH players:

00 file cmaf

Hit the play button to see the workflow go live and the media file begin to play:

file input live

SRT Input and ABR

For this second example, we’ll use an SRT source instead of a file input. Since we’re delivering to HLS/DASH, we can also make use of ABR. All you need to do is drag the Encode Ladder component between your input and output, and it will do all of the encoding into different renditions for you. The 01-SRT-to-HLS-Ladder.yaml does exactly that:

01 SRT HLS

Sending a Source to the Listener

If you hit play on the above workflow, you’ll notice that the connector lines turn orange but no data flows through. That’s because we have yet to send a data source to the listening SRT port. To send a test media file as input, you can run:

./sample-srt-source.sh camera1 start

The above script will download two sources from an S3 bucket and stream them to the SRT listener depending on which one you specify, i.e., camera1 or camera2. You should now see your workflow go live:

SRT ABR