ffmpeg -i a.vtt a.srt
now reverse it from srt to vtt
ffmpeg -i a.mkv -c copy srt a.srtffmpeg -i a.srt a.vtt
This might be better than pysubs2 a.vtt -t srt
due to the fact that it won’t put an index number. This alone would enable Substitcher to run on mac and most likely Windows as I wouldn’t need those two sed commands I’m thinking.for f in *.vtt ; do ffmpeg -i "$f" "${f%.*}.srt" ; done
is equivalent of pysubs2 *.vtt -t srt
>>Click here to continue<<