forked from wix-incubator/codio
-
Notifications
You must be signed in to change notification settings - Fork 3
Subtitles
Robert Brisita edited this page Apr 20, 2022
·
3 revisions
Subtitles are in SRT format.
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.
./curl_watson.sh <audio_file> [output_file.stt]
./convert.js <stt_file> [extension] > <output_file.extension>
convert.js
wraps Watson_Closed_Captioning.