MICRODVD to TTML
Or paste subtitle text
Options
Which frame rate the timings are counted in. On the format pages this is what MicroDVD needs, because it stores timing as frame numbers. On the frame rate pages it is the rate the file was timed against — the version the subtitles were made for — and the page's second box takes the rate of the video you are going to use them with. 23.976, 24, 25, 29.97, 30, 50, 59.94 and 60 are the common ones. Getting it wrong shifts the whole timeline, and on the frame rate pages it shifts it by a ratio rather than by a fixed amount.
What this conversion changes
1 thing is dropped or needs a decision
- Frame rate
the source stores times as frame numbers — every timestamp depends on the frame rate you supply
This list comes from the capability matrix for these two formats, not from the particular file you loaded. A specific file may lose more if it uses features the format allows but the matrix does not model.
This page converts MICRODVD to TTML. Drop a file in — or paste the text — and you get the TTML version back. The conversion runs entirely in your browser, so nothing is uploaded and no account is needed.
These two formats do not store the same things, and the difference is not cosmetic: frame rate has nowhere to go in TTML. The list above comes from what the two formats can each express rather than from your file, so it is the same answer before you load anything.
One file is fine, and so is a whole season: the queue works through them in order and the results come down together as a single ZIP.
Examples
A typical MICRODVD file, converted to TTML
Input
{1}{1}25
{100}{150}The quick brown fox jumps over the lazy dog.
{200}{260}Faster than|the last one.
Output
<?xml version="1.0" encoding="UTF-8"?>
<tt xmlns="http://www.w3.org/ns/ttml" xmlns:tts="http://www.w3.org/ns/ttml#styling">
<body>
<p begin="00:00:04.000" end="00:00:06.000">The quick brown fox jumps over the lazy dog.</p>
<p begin="00:00:08.000" end="00:00:10.400">Faster than<br/>the last one.</p> </body>
</tt>
Dropped in this output: frame rate. Everything else matches line for line.
The same conversion on an awkward input
Input
{1}{1}23.976
{0100}{0150}Leading zeros in the frame numbers.
[INFORMATION]
{300}{340}An unrecognized line above was kept in place.
{400}{450}Trailing spaces are kept.
Output
<?xml version="1.0" encoding="UTF-8"?>
<tt xmlns="http://www.w3.org/ns/ttml" xmlns:tts="http://www.w3.org/ns/ttml#styling">
<body>
<p begin="00:00:04.000" end="00:00:06.000">Leading zeros in the frame numbers.</p>
<p begin="00:00:12.000" end="00:00:13.600">An unrecognized line above was kept in place.</p>
<p begin="00:00:16.000" end="00:00:18.000">Trailing spaces are kept. </p> </body>
</tt>
This is the kind of damage real files have — mixed line endings, stray whitespace, fields left empty. Compare it with the tidy example above to see what the parser forgives.
Frequently asked questions
Which frame rate is used to read MICRODVD before writing TTML?
The frame rate field on this page comes first — whatever is in it wins when the frames are turned back into clock times for the TTML output. Leave it blank and the rate the MICRODVD file declares in its first line is used instead, falling back to 25 if it declares nothing. Worth checking either way: `.sub` files in circulation were often written by tools that assumed PAL video, so a declared 25 is not proof that the video ran at 25.
What does the output look like when MICRODVD becomes TTML?
Like TTML: no cue numbers: every subtitle is a `<p>` element with `begin` and `end` attributes, nested in a `<body>` (and usually a `<div>`), with an XML declaration above the whole document. Every MICRODVD cue becomes one TTML cue, in the same order, with the same text.
How does a two-line MICRODVD cue come out in TTML?
As two lines with a `<br/>` between them, which is how TTML writes a hard line break. The pairing survives — the two MICRODVD lines still belong to one subtitle in the TTML output, and a player shows them together.
Do MICRODVD cues keep their order in the TTML output?
Yes, and they are sorted by start time on the way — earliest first, which is how every format here expects them and how players read them. If your MICRODVD file listed its cues out of sequence, the TTML output puts them back in order; that is a change to the file's structure rather than its content, and it is deliberate.
Can I convert the TTML back to MICRODVD?
Yes, and it has its own list: converting TTML to MICRODVD drops styling, positioning, frame rate and format-specific content. That list is different from the one above because the two formats keep different things.
Does the TTML output keep the MICRODVD file's encoding?
No — the output is UTF-8, with Unix line endings and no byte-order mark, whatever the MICRODVD file used. A file that arrives in UTF-16, or in a Windows single-byte encoding, is decoded on the way in (the result panel says so when that happens); what comes out is always the same UTF-8 TTML.