Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 505 Bytes

README.md

File metadata and controls

50 lines (32 loc) · 505 Bytes

VTT2SRT

A simple Go script to convert VTT (WebVTT) subtitles into SRT (SubRip Text) format.

MakeFile

Build the application

make build

Run the application

make run

Clean up binary from the last build:

make clean

Usage

convert single vtt file:

go run main.go --path subtitle.vtt

or

binaryname --path subtitle.vtt

convert whole diretory:

go run main.go --dir /dir/to/vttfiles

or

binaryname --dir /dir/to/vttfiles