Transmission log in FAB Subtitler BCAST

FAB Subtitler BCAST/XCD can store all transmitted subtitles for every program into a subtitle file. It is possible to configure:

  • One or more subtitle file formats in which the subtitle file shall be stored
  • The local or network file folder where the subtitle file shall be stored

Configuration of transmission log

Transmission log can be activated in Options / Special / Transmission log:

If subtitles will be stored in a network folder then make sure to connect the network folder by activating “Map network drive” as in above picture.

It is possible to add multiple transmission logs so that the transmission log file can be stored in multiple subtitle formats and also in different folders as seen in above picture.

Additional log files for statistics

Besides the subtitle files, FAB Subtitler BCAST writes one text log file per day with one line for every transmitted program. This file is meant for statistics: it tells you how many subtitles were actually transmitted, when, and from which sources.

How the file is created

  • The file is written when the option “Store all transmitted subtitles into the following formats and folders” is active. It is stored in the XmtLog folder of FAB Subtitler (normally C:\ProgramData\FAB\FAB Subtitler\XmtLog) and a copy is also kept in the EditLog folder of FAB Subtitler.
  • The file name is <computer name>-<yyyy-mm-dd>-Transmission.log. When a configuration profile is in use, the profile name is added: <computer name>-<yyyy-mm-dd>-Transmission-<profile>.log. The date is the date on which the line started, so there is one file for every day.
  • One line is added every time a transmission section ends:
    • If FAB Subtitler is connected to an automation system (playout system), the section is one program. A line is written when the program ID changes, and it describes the program that has just ended. The ID is the ID received from the automation system.
    • If FAB Subtitler is not connected to an automation system, the section is the time between “on air” and “off air”. A line is written when FAB Subtitler goes off air, and the ID field is empty.
  • The file is a Unicode (UTF-16) text file with one line per section. The lines are appended, so a running file can be read at any time.

What the file contains

The content will be similar to this:

STARTTIME=2026-10-01 10:32:03|ENDTIME=2026-10-01 10:35:09|DURATION=00:03:06|SUBTITLES=000005|ID=|SOURCES=NETWORK(192.168.211.14)|FIRSTXMTSUBTINTC=10:32:04:19|LASTXMTSUBTINTC=10:35:07:06|STARTTC=00:00:00:00
STARTTIME=2026-10-01 21:35:58|ENDTIME=2026-10-01 21:36:04|DURATION=00:00:06|SUBTITLES=000006|ID=392936314|SOURCES=FILE(392936314.stl)|FIRSTXMTSUBTINTC=10:00:05:08|LASTXMTSUBTINTC=10:00:09:12|STARTTC=10:00:00:00
STARTTIME=2026-10-02 05:11:57|ENDTIME=2026-10-02 05:30:06|DURATION=00:18:09|SUBTITLES=000421|ID=LINE20|SOURCES=TRANSCRIPTION|FIRSTXMTSUBTINTC=00:00:00:00|LASTXMTSUBTINTC=00:00:00:00|STARTTC=00:00:00:10
STARTTIME=2026-10-02 06:00:00|ENDTIME=2026-10-02 06:10:00|DURATION=00:10:00|SUBTITLES=000087|ID=NEWS1|SOURCES=DECODER(888);FILE(NEWS1.stl)|FIRSTXMTSUBTINTC=06:00:03:02|LASTXMTSUBTINTC=06:09:55:11|STARTTC=06:00:00:00

Every line consists of fields separated by |. Each field is NAME=value:

Field Meaning
STARTTIME Date and time (computer clock) when the section started.
ENDTIME Date and time when the section ended (when the line was written).
DURATION ENDTIME minus STARTTIME as hh:mm:ss.
SUBTITLES Number of subtitles that were transmitted in this section, always 6 digits. If the transmission uses several languages, there is one number per language: LanguageName:000012,OtherLanguage:000010.
ID ID of the program received from the automation system. Empty if there was no ID (for example before the first ID was received, or without automation system).
SOURCES Where the transmitted subtitles came from, see below. Empty if no subtitle was transmitted.
FIRSTXMTSUBTINTC Timecode (hh:mm:ss:ff) of the first subtitle that was transmitted. 00:00:00:00 if it is not known, for example for live subtitles.
LASTXMTSUBTINTC Timecode of the last subtitle that was transmitted.
STARTTC Timecode when the section (program) started.

Sources

SOURCES lists every source from which at least one subtitle was transmitted in the section. Several sources are separated by ;.

Source Meaning
FILE(name.stl) Subtitles of a subtitle file that was loaded and played in FAB Subtitler. Between the brackets is the file name; several files are separated by ,.
NETWORK(172.16.30.11) Subtitles that were created by another computer which was connected over the network (for example FAB Subtitler LIVE or a newsroom system). Between the brackets is the IP address or name of that computer.
DECODER(888) Subtitles that were received by the teletext decoder of FAB Subtitler and then retransmitted. Between the brackets is the teletext page number. If the decoder has no teletext page, as with the decoder type “ESUB-XF TCP connection” (relay of another FAB Subtitler BCAST), only DECODER is written.
TRANSCRIPTION Subtitles that were created by the live transcription (speech recognition) of FAB Subtitler.

If FAB Subtitler uses several languages, the names between the brackets are prefixed with the name of the language: NETWORK(English:172.16.30.11).

Reading the file for statistics

You can read this file for every day to create statistics how many subtitles were actually transmitted from which sources:

  1. Open the file as UTF-16 text and read it line by line.
  2. Split every line at | and every part at the first = into name and value.
  3. SUBTITLES is the number of subtitles of the line (convert the 6-digit number to an integer; for several languages add up the numbers after the : or evaluate every language on its own).
  4. Split SOURCES at ; to get the sources of the line. The part before the first ( is the type of the source (FILE, NETWORK, DECODER, TRANSCRIPTION), the text between the brackets (if any) is the file name, IP address or teletext page.
  5. Add the number of subtitles to the type, the file, the computer or the page, as needed. Use DURATION to add up the time per source.

The count of a line is the total for the whole section. If a line has more than one source, the file does not tell how many subtitles came from each of them; count such a line as “mixed” or, if you need an exact number, make sure that sections do not mix sources (for example by using a different program ID per source).

Example in Python, which counts subtitles per source type for one day:

import collections, sys

counts = collections.Counter()
with open(sys.argv[1], encoding="utf-16") as f:
    for line in f:
        line = line.strip()
        if not line:
            continue
        fields = dict(part.split("=", 1) for part in line.split("|") if "=" in part)
        # a single language: "000005"; several languages: "English:000012,French:000010"
        subtitles = sum(int(x.split(":")[-1]) for x in fields["SUBTITLES"].split(","))
        sources = [s.split("(")[0] for s in fields["SOURCES"].split(";") if s]
        key = "+".join(sorted(set(sources))) or "(none)"
        counts[key] += subtitles

for source, n in counts.most_common():
    print(f"{source}: {n}")

Example output:

NETWORK: 1520
FILE: 874
TRANSCRIPTION: 421
DECODER+FILE: 87

This page was last updated on 2026-11-12