Skip to content

Instantly share code, notes, and snippets.

@vdvm
Created April 15, 2014 14:31
Show Gist options
  • Save vdvm/10737312 to your computer and use it in GitHub Desktop.
Save vdvm/10737312 to your computer and use it in GitHub Desktop.
Convert .srt to .vtt
#!/bin/bash
echo "WEBVTT"
echo ""
sed '/[0-9][0-9]:[0-9][0-9]:[0-9][0-9],[0-9][0-9][0-9] --> [0-9][0-9]:[0-9][0-9]:[0-9][0-9],[0-9][0-9][0-9]/s/,/./g' $1
@meehow
Copy link

meehow commented Jan 8, 2019

thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment