11 lines
169 B
Bash
11 lines
169 B
Bash
#!/bin/bash
|
|
|
|
# it converts subs from .vtt to .srt
|
|
|
|
for filename in ../subs/*; do
|
|
file="${filename%.*}";
|
|
in="${file}.vtt"
|
|
out="${file}.srt"
|
|
ffmpeg -i $in $out
|
|
done
|