diff --git a/convert.sh b/convert.sh new file mode 100644 index 0000000..9b4e444 --- /dev/null +++ b/convert.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# it converts the subs from .vtt to .srt + +for filename in subs/*; do + file="${filename%.*}"; + in="${file}.vtt" + out="${file}.srt" + ffmpeg -i $in $out + done