Convert SUB to VTT
Turn SUB files into VTT. Frame numbers become times at the frame rate in the file's first line, or 23.976 fps without one.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop SUB files on the dialor turn it to pick what to do
MicroDVD subtitles as WebVTT.Frame numbers become times, and italics and bold stay.
What you get
One VTT file in the WebVTT format, which is used for HTML5 video captions. Each subtitle keeps its text and gets start and end times in place of frame numbers.
Italics, bold and the | line breaks are kept, so a two-line subtitle still has two lines.
How timing is worked out
A SUB file counts time in frames, so the conversion needs a frame rate. It reads the rate from the first line of the file. If the first line has none, it uses 23.976 fps.
Each frame number is turned into a time at that rate. If your video runs at a different rate and the file does not state it, the times follow 23.976 fps.
What is dropped
Colors are dropped. The text stays, but the color codes in the SUB file are not carried into the VTT.
When it fails
If the file cannot be parsed, the conversion stops with
input_corrupted. To go the other way, use VTT to SUB.
SUB and VTT.What each format is.
The formats
MicroDVD Subtitles
MicroDVD subtitles with frame-based timing.
- Extensions
- .sub
- MIME type
- text
/x -microdvd - Kind
- Text and data
WebVTT Subtitle
WebVTT subtitles, the format of HTML5 video captions.
- Extensions
- .vtt
- MIME type
- text
/vtt - Kind
- Text and data
In your code.The same SUB to VTT conversion through the API, for your app or your agent.
$ cv convert report.sub report.vtt$ cv convert report.sub report.vttQuestions.What people ask about SUB to VTT.
It uses the rate in the first line of the SUB file. Without one, it uses 23.976 fps.
Yes. Italics, bold and | line breaks are kept.
No. Colors are dropped during conversion.
The file could not be parsed. The conversion stops there and produces no VTT file.