Skip to content

Instantly share code, notes, and snippets.

@sbeckeriv
Last active April 12, 2020 05:49
Show Gist options
  • Save sbeckeriv/8b07d83096a66e8e65fa910f9900b0b0 to your computer and use it in GitHub Desktop.
Save sbeckeriv/8b07d83096a66e8e65fa910f9900b0b0 to your computer and use it in GitHub Desktop.
find . -iname *.srt -type f | while read i;
do
vtt=${i/.srt/.vtt}; [[ -f "$vtt" ]] || echo $vtt && ffmpeg -hide_banner -loglevel panic -i "$i" "$vtt"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment