Skip to content

Instantly share code, notes, and snippets.

@RANUX
Created February 10, 2019 06:13
Show Gist options
  • Save RANUX/07c8a2815687e7f5c542f1566d5d7f8b to your computer and use it in GitHub Desktop.
Save RANUX/07c8a2815687e7f5c542f1566d5d7f8b to your computer and use it in GitHub Desktop.
Convert *.vtt to *.srt with ffmpeg and bash
#!/bin/bash
for filename in *.vtt; do
fname="${filename%.*}"
ffmpeg -i "$filename" "$fname.srt"
done
@inarighas
Copy link

Thank you 👍

@LochanLoch
Copy link

dito :-)

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