All Projects → wargarblgarbl → libgosubs

wargarblgarbl / libgosubs

Licence: MIT license
golang library to read and write various subtitle formats

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to libgosubs

pysubs2
A Python library for editing subtitle files
Stars: ✭ 174 (+770%)
Mutual labels:  subtitles, srt
subed
Subtitle editor for Emacs
Stars: ✭ 143 (+615%)
Mutual labels:  subtitles, srt
Parsing With Haskell Parser Combinators
🔍 A step-by-step guide to parsing using Haskell parser combinators.
Stars: ✭ 72 (+260%)
Mutual labels:  subtitles, srt
Ffsubsync
Automagically synchronize subtitles with video.
Stars: ✭ 5,167 (+25735%)
Mutual labels:  subtitles, srt
pysub-parser
Library for extracting text and timestamps from multiple subtitle files (.ass, .ssa, .srt, .sub, .txt).
Stars: ✭ 40 (+100%)
Mutual labels:  subtitles, srt
Pgstosrt
PGS to Srt converter
Stars: ✭ 21 (+5%)
Mutual labels:  subtitles, srt
Submerger
SRT Subtitles Merger
Stars: ✭ 92 (+360%)
Mutual labels:  subtitles, srt
Subed
Subtitle editor for Emacs
Stars: ✭ 77 (+285%)
Mutual labels:  subtitles, srt
SABRE.js
Substation Alpha suBtitles REnderer -- A Gpu Accelerated Javascript Advanced SubStation (ASS) Alpha Subtitles Renderer. Renders .ass and .ssa files.
Stars: ✭ 58 (+190%)
Mutual labels:  ass, subtitles
Subtitle.js
Stream-based library for parsing and manipulating subtitle files
Stars: ✭ 234 (+1070%)
Mutual labels:  subtitles, srt
Netflix To Srt
Rip, extract and convert subtitles to .srt closed captions from .xml/dfxp/ttml and .vtt/WebVTT (e.g. Netflix, YouTube)
Stars: ✭ 387 (+1835%)
Mutual labels:  subtitles, srt
ttconv
Subtitle conversion. Converts STL, SRT, TTML and SCC into TTML, WebVTT and SRT.
Stars: ✭ 88 (+340%)
Mutual labels:  srt, ttml
ccaptioner
An extension to assign a text track to a video element in a web page
Stars: ✭ 45 (+125%)
Mutual labels:  subtitles, srt
video-subtitle-extractor
视频硬字幕提取,生成srt文件。无需申请第三方API,本地实现文本识别。基于深度学习的视频字幕提取框架,包含字幕区域检测、字幕内容提取。A GUI tool for extracting hard-coded subtitle (hardsub) from videos and generating srt files.
Stars: ✭ 1,763 (+8715%)
Mutual labels:  subtitles, srt
Srt
A simple library for parsing, modifying, and composing SRT files.
Stars: ✭ 210 (+950%)
Mutual labels:  subtitles, srt
ttml2srt
convert TTML subtitles to SRT subtitles
Stars: ✭ 46 (+130%)
Mutual labels:  subtitles, srt
ttml2srt
Convert TTML subtitles used by Netflix, HBO, CMore and others to SRT format
Stars: ✭ 51 (+155%)
Mutual labels:  subtitles, srt
service.addic7ed
Subtitles addon for Kodi Mediacenter
Stars: ✭ 20 (+0%)
Mutual labels:  subtitles
ebu-tt-live-toolkit
Toolkit for supporting the EBU-TT Live specification
Stars: ✭ 23 (+15%)
Mutual labels:  subtitles
mpv-sub-scripts
Two mpv scripts for automatically pausing after each subtitle line and skipping intervals between subtitles.
Stars: ✭ 46 (+130%)
Mutual labels:  subtitles

libgosubs

Golang library to read and write subtitles in the following formats

  • Advanced SubStation Alpha v4
  • SRT
  • TTML v1.0 - This is based on the spec provided by Netflix in their documentation
  • WebVTT experimental support
  • MicroDVD experimental support

notes

TTML is somewhat complex to implement in Go due to the way that Go handles XML namespaces. Until this issue is fixed, two different structs for reading and writing, as well as a lengthy conversion function will probably be necessary. See the test file for a sample (and probably poor) implementation.

todo

  • Clean up the ASSv4 format, specifically do something about the way headers are handled

updates

  • Experimental MicroDVD format support added

libgosubs project garbage

Documentation

Available via Godoc

Godoc Format
GoDoc ASS
GoDoc SRT
GoDoc TTML
GoDoc WVTT
GoDoc MicroDVD

Test Coverage

Coverage Format
gocover.io go ASS
gocover.io go SRT
gocover.io go TTML
gocover.io go WVTT
gocover.io go MDVD

Other

Go Report Card

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].