Better Converter

SRT to JSON (TED.com) Subtitle Online Converter 

Your SRT File


File max size 10MB

Subtitle JSON

Subtitles are an under-rated part of movie data, but a source of enormous inefficiency. The most interesting part is a literary transcription of audio information provides a way to make movies searchable.

 

Overlay Object

Screen events are an array of overlay objects, ordered ASC by their starting timecode (in milliseconds).

A timecoded subtitle overlay is represented as a common JSON object:

  • trigger: The time in milliseconds the screen event cue occurs.
  • lang: The ISO language code of the content to be displayed.
  • atyles: Which style classes the playback device should apply to the content.
  • templates: Which display templates the playback device should apply to the content (queued).
  • start: A mathematical breakdown of the time the screen event should be triggered.
  • end: A mathematical breakdown of the time the screen event should finish and no longer display.
  • duration: A mathematical breakdown of the screen event's lifetime.
  • content: The LTR/RTL string that should be displayed.
  • meta: Any custom data that can be added to the overlay event for the bbenefit of the playback device,
        {
            "trigger": 4736088,
            "lang": "en",
            "styles": [
                "default"
            ],
            "templates": [
                "default"
            ],
            "start": {
                "time": 4736088,
                "hour": 1,
                "mins": 18,
                "secs": 56,
                "ms": 88
            },
            "end": {
                "time": 4739256,
                "hour": 1,
                "mins": 18,
                "secs": 59,
                "ms": 256
            },
            "duration": {
                "secs": 3.168,
                "ms": 3168
            },
            "content": "There are a hundred different ways to skim off the top.",
            "meta": {
                "original": {
                    "start": "01:18:56,088",
                    "end": "01:18:59,256"
                }
            }
        }