Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A python command-line utility to convert EBU STL and TT (W3C, SMPTE and EBU variants) subtitles files into the simpler SRT format
Tree: 0abd60953d

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

A command line utility written in Python to convert some variants of subtitles in to the much simpler SRT file format with optional formatting. SRT also has the benefit of being trivial to convert to WebVTT, the W3C sanctioned subtitle format. Supported input file formats are:

  • STL subtitles files stored using the EBU (European Broadcasting Union) file format
  • TT (W3C Timed Text) files and their variants from the SMPTE and the EBU

This conversions can be optionally done while preserving as much formatting as possible. The output formatting is done using inline html tags and the following attributes are supported:

  • bold
  • italic
  • underlined
  • color

Usage [-h] [--help] [-d] [--debug] [-r] [--rich] [-s] [--stl] [-t] [--tt] input_file

--help Display this usage notice

--debug Display raw frames as they’re read

--rich Keep the rich formatting contained in the STL file

--stl Source format is STL, this is actually the default value and isn’t really useful

--tt Source format is Time Text



This software is release under the GNU GPL v2 terms and conditions. See the GPL.txt file for the complete license text

Something went wrong with that request. Please try again.