Skip to content

edtsz/srt2vtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

srt2vtt

Script to convert .srt subtitles to .vtt

Usage

$ ./srt2vtt.sh subtitle.srt

Also support bash wildcards:

$ ./srt2vtt.sh *.srt

The output will be the same filename with .vtt extension instead .srt.

Dependencies

You will need dos2unix, uchardet, iconv and sed installed in your system.

I've tested just on:

  • dos2unix 7.3.4 (2016-05-24)
  • uchardet Version 0.0.6
  • iconv (GNU libc) 2.25
  • sed (GNU sed) 4.4

About

Script to convert srt subtitles to vtt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages