{"repo":"asticode/go-astisub","free":true,"listed":false,"github":"https://github.com/asticode/go-astisub","clone":"git clone https://github.com/asticode/go-astisub.git","description":"Manipulate subtitles in GO (.srt, .ssa/.ass, .stl, .ttml, .vtt (webvtt), teletext, etc.)","language":"Go","stars":702,"topics":["golang-library","subtitle","golang","go","srt","stl","ttml","webvtt"],"license":"MIT","category":"cli-tools","readme_excerpt":"This is a Golang library to manipulate subtitles. It allows you to manipulate srt , stl , ttml , ssa/ass , webvtt and teletext files for now. Available operations are parsing , writing , applying linear correction , syncing , fragmenting , unfragmenting , merging and optimizing . Installation To install the library: go get github.com/asticode/go-astisub To install the CLI: go install github.com/asticode/go-astisub/cmd/astisub Using the library in your code WARNING: the code below doesn't handle errors for readibility purposes. However you SHOULD! Using the CLI If astisub has been installed properly you can: - convert any type of subtitle to any other type of subtitle: astisub convert -i example.srt -o example.ttml - apply linear correction to any type of subtitle: astisub apply-linear-correction -i example.srt -a1 1s -d1 2s -a2 5s -d2 7s -o example.out.srt - fragment any type of subtitle: astisub fragment -i example.srt -f 2s -o example.out.srt - merge any type of subtitle into any other type of subtitle: astisub merge -i example.srt -i example.ttml -o example.out.srt - optimize any type of subtitle: astisub optimize -i example.srt -o example.out.srt - unfragment any type of subtitle: astisub unfragment -i example.srt -o example.out.srt - sync any type of subtitle: astisub sync -i example.srt -s \"-2s\" -o example.out.srt Features and roadmap - [x] parsing - [x] writing - [x] syncing - [x] fragmenting/unfragmenting - [x] merging - [x] ordering - [x] optimizing - [x] linear corr","default_branch":null,"files":null,"tree":[],"storefront":"/r/asticode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/asticode/go-astisub/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}