All Projects → martinlindhe → subtitles

martinlindhe / subtitles

Licence: MIT license
Go library and command-line tools for manipulating .srt, .vtt and .ssa subtitles

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to subtitles

vtt-creator
Very basic Node.js/JavaScript library to generate VTT open subtitles files
Stars: ✭ 22 (-18.52%)
Mutual labels:  vtt, subtitles-parsing
Elgindy-VTT-to-SRT-Subtitle-Converter
A tool for converting Web Video Text Tracks Format (WebVTT) subtitle to srt one. As most of video players support srt subtitles and can't open vtt subtitles, We should convert vtt to srt or sub subtitles but it's not easy to do that.
Stars: ✭ 68 (+151.85%)
Mutual labels:  vtt, srt-subtitles
Hulusubs dl
Command line script that downloads subtitles from hulu.com
Stars: ✭ 42 (+55.56%)
Mutual labels:  vtt, srt-subtitles
ttml2srt
Convert TTML subtitles used by Netflix, HBO, CMore and others to SRT format
Stars: ✭ 51 (+88.89%)
Mutual labels:  srt-subtitles
ccaptioner
An extension to assign a text track to a video element in a web page
Stars: ✭ 45 (+66.67%)
Mutual labels:  vtt
Mp4SubtitleParser
从 mp4 中提取 wvtt/ttml 字幕. Extract embed wvtt/ttml subtitle in mp4.
Stars: ✭ 29 (+7.41%)
Mutual labels:  vtt
JB2A DnD5e
Templates of spells from the DnD5e ruleset (SRD and PHB), to use on FoundryVTT
Stars: ✭ 28 (+3.7%)
Mutual labels:  vtt
pysubs2
A Python library for editing subtitle files
Stars: ✭ 174 (+544.44%)
Mutual labels:  subtitles-parsing
Ffsubsync
Automagically synchronize subtitles with video.
Stars: ✭ 5,167 (+19037.04%)
Mutual labels:  srt-subtitles
ttml2srt
convert TTML subtitles to SRT subtitles
Stars: ✭ 46 (+70.37%)
Mutual labels:  subtitles-parsing
sausage
Learn Foreign Languages via Movies Subtitle
Stars: ✭ 12 (-55.56%)
Mutual labels:  srt-subtitles
togetherness
A virtual and 🕊liberated🕊 tabletop. Make, play, and share your tabletop games with dice, cards, tokens, and more.
Stars: ✭ 32 (+18.52%)
Mutual labels:  vtt
youtube-vtt
▶️ Extract and save WebVTT closed caption tracks from YouTube videos
Stars: ✭ 32 (+18.52%)
Mutual labels:  vtt
xavc rtmd2srt
Extract real time meta-data and GPS tracks from Sony XAVC video
Stars: ✭ 29 (+7.41%)
Mutual labels:  srt-subtitles
BDMatch
An automatic subtitle shifter from a video to another. 将字幕由一个视频匹配到另一个的自动时间轴平移工具。
Stars: ✭ 44 (+62.96%)
Mutual labels:  srt-subtitles
Video Srt Windows
这是一个可以识别视频语音自动生成字幕SRT文件的开源 Windows-GUI 软件工具。
Stars: ✭ 2,497 (+9148.15%)
Mutual labels:  srt-subtitles
forbidden-lands-foundry-vtt
This is a Forbidden Lands game System for the Foundry Virtual Table Top. Made by @Perfectro, @patrys and @aMediocreDad. Maintained by @aMediocreDad, @narukaioh
Stars: ✭ 28 (+3.7%)
Mutual labels:  vtt
Dungeoneer
A game master helper tool, includes a virtual tabletop, initiative tracker, combat tracker and homebrew management for Dungeons and Dragons 5e.
Stars: ✭ 106 (+292.59%)
Mutual labels:  vtt
srt-to-vtt-converter
A simple application for quickly converting subtitle files from SubRib (.srt) format to WebVTT (.vtt) format.
Stars: ✭ 56 (+107.41%)
Mutual labels:  vtt
Nephos
Project Nephos [GSoC '18]: Automated recording, processing, and uploading of TV streams for Universities.
Stars: ✭ 20 (-25.93%)
Mutual labels:  subtitles-parsing

About

Travis-CI GoDoc

This is a go library and command-line tools for handling .srt, .vtt and .ssa subtitles

Installation

Windows and macOS binaries are available under Releases

Or install them directly from git:

go get -u github.com/martinlindhe/subtitles/...

Sub-projects

  • subber command line tool for subtitles

Library example - convert srt to vtt

import "github.com/martinlindhe/subtitles"

in := "1\n" +
    "00:00:04,630 --> 00:00:06,018\n" +
    "Go ninja!\n" +
    "\n" +
    "1\n" +
    "00:01:09,630 --> 00:01:11,005\n" +
    "No ninja!\n"
res, _ := subtitles.NewFromSRT(in)

// Output: WEBVTT
//
// 00:04.630 --> 00:06.018
// Go ninja!
//
// 01:09.630 --> 01:11.005
// No ninja!
fmt.Println(res.AsVTT())

Library example - download subtitles

f, _ := os.Open(fileName)
defer f.Close()

finder := subtitles.NewSubFinder(f, fileName, "en")
text, err := finder.TheSubDb()

License

Under MIT

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].