Skip to content

Subtitles

Robert Brisita edited this page Apr 20, 2022 · 3 revisions

Format

Subtitles are in SRT format.

Process

After recording a Codio, extract the audio.mp3 file and use a service to process the audio into an SRT format file called subtitles.srt. Insert that file into the Codio file at its root level.

Currently, IBM's Watson Speech-To-Text API service is being used and then converted into SRT format with some custom scripts.

Usage

./curl_watson.sh <audio_file> [output_file.stt]
./convert.js <stt_file> [extension] > <output_file.extension>

convert.js wraps Watson_Closed_Captioning.

Clone this wiki locally