Converting vtt to srt subtitles with a simple Perl script

I tried to use ffmpeg to convert an vtt file to srt, but that didn’t work at all: $ ffmpeg -i in.vtt out.srt Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used) I tried a whole lot of suggestions from the Internet, and eventually I gave up. So [...]