Are there any apps which can transform from .vtt
to .srt
format? I tried subtitleeditor which doesn't have support for .vtt
. If anybody does know of any specific app which can be used to do the same, please share.
Asked
Active
Viewed 1,202 times
7

Iulian Onofrei
- 9,188
- 10
- 67
- 113

shirish
- 477
- 1
- 4
- 12
2 Answers
3
You can use FFmpeg for this:
ffmpeg -i file.vtt file.srt

Iulian Onofrei
- 9,188
- 10
- 67
- 113
-
Doesn't work for me. I checked my VTT file against a validator and it's valid -- this command just spits out an empty SRT file. "Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)". ffmpeg version n6.0. – Victor Zamanian Jul 17 '23 at 19:10
1
With subconv you can do it. To install it, execute the following commands in a command prompt or terminal window:
git clone https://github.com/Smile4ever/subconv
cd subconv
npm update
npm install
To use:
node index.js -f srt file.vtt > file.srt
You will need to install Node.js. The installation steps for Node.js are different for every platform, but the general rule is:
- Windows: download the installer from https://nodejs.org/en/download/
- Mac: download the installer from https://nodejs.org/en/download/
- Linux: download and install the package from the repositories.
Disclaimer: I'm the author of this software.

Smile4ever
- 3,491
- 2
- 26
- 34
-
I will have to check it, currently having issues with nodejs (there is a transition thing happening in Debian to make it current with nodejs upstream), unless that is not done, wouldn't be able to use nodejs. I have ancient nodejs 10 :( – shirish Jan 06 '20 at 12:27
-