MicroDVD

MicroDVD is a subtitle file format for digital video.

Its name is derived from the MicroDVD Player, a media player application designed to play DVD videos along with subtitles, originally developed by Tiamat Software.

Media players that support the format are able to interpret MicroDVD subtitles and mix their contents with their corresponding video files.

MicroDVD subtitle files have the .sub filename extension.

MicroDVD subtitle files consist of multiple lines, each defining a portion of the subtitle text that must be displayed between certain given video frames.

The line syntax is: {start-frame}{stop-frame}Text For example, if "Hello!"

is to be displayed during the first 25 frames of a digital video, clip or movie, the corresponding .sub file must contain the line:[1] {0}{25}Hello!

The duration of the text being displayed depends on the frame rate of the corresponding video file.

The software the MicroDVD Player expects the subtitle file to begin with the tag [BEGIN], and end with the tag [END].

The control code P defines subtitle position relative to video.

If the control code is in upper case, it affects the whole subtitle line.

If the control code is in lower case, it affects only the line it is contained in.

Note that if no more code is used after a pipe character, the following lines will retain the same formatting.

Note that the subtitle positioning code P must be logically always used in uppercase.

will be displayed underlined and in bold, in red and in the DeJaVuSans font at 12 points.

For example, the following code may be used to display all subtitle line using DeJaVuSans at 10 points and in blue: {DEFAULT}{C:$FF0000}{F:DeJaVuSans}{S:10} This line of code may be placed anywhere in the subtitle file.