Skip to content

Overlaying dynamic text

To augment the frame with some unremovable dynamic text that will be displayed on any device both in live and archive, use Flussonic Media Server's transcoder. For example, the text may be:

  • Name of a film or TV show.
  • Weather forecast.
  • Football match score.
  • News feed or emergency notification.

Note

An alternative to the transcoder is adding text on a player side. This method does not additionally load the server, but the text added in this way is: displayed differently or not displayed at all on TVs, mobile devices, set-top boxes, etc.; easily removed from the video; not available in the archive.

How to add the text

Let's proceed with a test example:

  1. Add a test stream with fake://fake input to the Media Server configuration.

    Test stream creation

  2. Enable transcoding on the Transcoder tab in the profile of the created stream.

    Flussonic transcoder

  3. Send the transcoder.global.burn option to the Media Server via API:

curl -u LOGIN:PASSWORD -X PUT "http://FLUSSONIC-IP/streamer/api/v3/streams/demo" \
-H "Content-Type: application/json" \
--data '{"transcoder": {"global":{"burn":{"text":{"position": "tr","text": "Your\nText","y": 10,"x": 10,"box": {"color": "green"}}}}}}'

Below is the result.

Burn example

The procedure for changing text must be implemented in an external application or script.

Please refer to Burning text, time, and subtitles for details on the burn option configuration.