A simple Go script to convert VTT (WebVTT) subtitles into SRT (SubRip Text) format.
Build the application
make build
Run the application
make run
Clean up binary from the last build:
make clean
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