This page describes how FAB Subtitler BCAST/XCD can be configured to send data to and receive data from a MQTT server using the MQTT protocol.
The following funcionality is supported:
- Sending all new log entries which are writting into main application log to a MQTT server
- Sending status to MQTT server
- Sending all received automation commands to a MQTT server
- Receive automation commands from a MQTT server
The connection to a MQTT server always required username and password and it is specified in this form:
mqtt://user:pass@ip:port/topic/subtopic
Sending new log entries to MQTT server
The configuration is available in Options / Specials / Webserver:

Sending status to MQTT server
The configuration is available in Options / Specials / Webserver:

Sending all received automation commands to a MQTT server
The configuration is available in Options / Specials / Automation:

Receive automation commands from a MQTT server
The configuration is available in Options / Specials / Automation:

FAB Subtitler receives the ID and the timecode that are published by the playout interface of FAB Subtitler Server (see “Additional Function: Playout
interface”) or by another FAB Subtitler on the topic <topic>/state, and the IDs that will be played on <topic>/cue. The topic is the end of the
connection string. The messages are retained messages: when FAB Subtitler is started (or restarted) it gets the last message and starts the ID that is playing
at the timecode of the message plus its age, as long as the message is not older than 20 hours.
Two MQTT servers and two playout interfaces. For a redundant system write the connection strings of both MQTT servers, separated by a comma (the first one is the primary server). Every playout interface publishes to its own MQTT server. A playout interface can be wrong in one value and right in the other: for example its input from the playout system stopped and it keeps its last ID, or it has no timecode any more. FAB Subtitler therefore does not use the first message that arrives, it decides the ID and the timecode separately:
- The ID is the ID with the newest
IDUTCin the messages, the time at which the playout system’s command that started the ID was received. A playout interface that is stuck at its last ID has an oldIDUTC, so FAB Subtitler does not go back to its ID, also not when it only sends a message about the timecode. When both have the same ID the primary server is used. ASTARTFILEof the ID that plays again starts it again. - The timecode is the timecode of a playout interface whose timecode runs, the primary one first. The playout interface that FAB Subtitler follows stays as long as its timecode runs. When it stops its timecode (TCStop) and the other one has a timecode that runs, FAB Subtitler continues with that one.
The timer is only held when no playout interface has a timecode that runs. The timecode of one playout interface is only used for the ID of the other one when it is the timecode of the video (or the clock of the computer); the timecode of the commands of the playout system (
Protocol) andZeroBasedbelong to the ID of their own playout interface. - The timecode of the messages is not used when the timecode comes from the timecode reader of FAB Subtitler (the timecode option of the automation system): only the ID is decided.
- A message older than 20 hours, or with a time that is more than 0.5 seconds in the future (the clocks of the computers must be synchronized), is ignored.
The messages are described on the page “Additional Function: Playout interface”, section “Handling of MQTT payload by 3rd party receivers”. FAB Subtitler also publishes the state messages (/state) of its own ID, with the same fields (IDUTC, TCUTC).
This page was last updated on 2026-10-22