/xml-to-srt-cli

Convert XML subtitles (EBU-TT format) from online broadcasting platforms like MediathekView (Germany) or the BBC (UK) into SRT (SubRip) subtitles.

Primary LanguageJavaScript

xml-to-srt-cli


Convert XML subtitles (EBU-TT format) from online broadcasting platforms like MediathekView (Germany) or the BBC (UK) into SRT (SubRip) subtitles.

Available for macOS, Windows and Linux.


Contents

  1. Installation
  2. Usage
  3. Example
  4. Platform Support
  5. Contribute
  6. Author

Installation

Installation as global CLI module

$ npm install --global xml-to-srt-cli

Usage

$ xml-to-srt <subtitle-file>
  • Parameter
    • (String) - Full path to XML subtitle file

Example

$ xml-to-srt Tatort_2323.xml
>> [xml-to-srt] XML Subtitle successfully converted to SRT (SubRip) format: Tatort_2323.srt

Show Help

$ xml-to-srt --help

Show Version

$ xml-to-srt --version

Platform Support

Tested on:

  • macOS High Sierra 10.13.4
  • Windows 10 Spring Creators Update
  • Ubuntu 18.04

Contribute Contribute

Read the contribution documentation first.

  • Dev Chat: Talk about features and suggestions.
  • Issues File bugs and document issues.

Author

sidneys.github.io 2018