Simple tt to srt converter, in (
g
)awk.
Converts subtitles in ttml (TimedText Markup Language) into subrip (srt) files. Requires gawk.
$ git clone https://github.com/odinuge/tt-to-subrip/
Use it like any other awk file.
$ curl -s "$URL" | gawk -f tt-to-subrip.awk > sub.srt
Feel free to submit an issue or send a pull request.
MIT © Odin Ugedal