Created
February 10, 2019 06:13
-
-
Save RANUX/07c8a2815687e7f5c542f1566d5d7f8b to your computer and use it in GitHub Desktop.
Convert *.vtt to *.srt with ffmpeg and bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for filename in *.vtt; do | |
fname="${filename%.*}" | |
ffmpeg -i "$filename" "$fname.srt" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dito :-)