Micro DVD Player
Version 1.0 - Documentation

Written by Locutus.

Seven Steps to a Micro DVD

Step 5: Subtitles

Micro DVD Player can display subtitles. It reads them from a text file that has a very simple structure. For each subtitle put one line in the file that looks the following way:

{First Frame}{Last Frame}Text

The subtitle can consist of five lines max., use the character | (pipe) as line separator. Last Frame can be empty if the subtitle is to be displayed until the next one is due.

IMPORTANT: Currently Micro DVD Player only displays the subtitles when you watch the video in Fullscreen Mode ! This might change in a future version.

The subtitles are - depending on the settings the user makes in the configuration dialog - displayed in the space between the top or bottom border of the video and the edge of the screen. If the available space is not sufficient, or the user forces it, the subtitles are displayed transparently over the movie.

A real-life example:

{6027}{6101}Can I have five tickets to Terrance|and Phillip's Asses of Fire, please?
{6125}{}No.
{6175}{}What do you mean, "no"?
{6211}{}Asses of Fire|has been rated "R"...
{6263}{}by the Motion Picture|Association of America.
{6314}{}You have to be accompanied|by a parent or guardian.
{6361}{}- But why?|- Because this movie|has naughty language!
{6420}{}- Next, please.|- [ Cash Register Rings ]

MDVDP supports control codes in the text part of subtitles. Control codes may appear anywhere in the subtitle line. Most of the codes are available in two forms: with a lower-case letter (then the code only applies to a single line of the subtitle) or with an upper-case letter (then all lines are affected, no matter in which line the codes occurs).

Currently the following control codes are available:

Important: You can set default values for a subtitle file (overriding the settings made by the user in the configuration dialog) by adding the following line somewhere to your subtitle file:

{DEFAULT}{}<Control Codes>

Replace the <Control Codes> with any number of control codes that are valid in individual subtitle entries. The control codes have to be the upper-case versions here! E.g. to make the subtitle file by default display in Arial, 18pt, bold+italic and below the movie, use this line:

{DEFAULT}{}{F:Arial}{S:18}{Y:b,i}{P:1}

The user can override all those default and sub/line-individual settings by activating the option "Ignore subtitle styles" in the configuration screen.

Besides its own format, MDVDP also supports other subtitle formats. See here for details. If you want further subtitle file formats besides the currently known ones to be supported, contact me.


Contacting the author

You can contact the programmer of MDVDP for questions, suggestions and bug reports via:

WWWmdvdp.awclan.de (Homepage)
E-Maillocutus_dve@gmx.net
ICQUIN 15325926 (get ICQ here.)
IRCChannel #pcdvd on EFNet, nick |Locutus| or _Locutus_ (get MIRC here.)

Credits

Thanks to Careyer for graphics, hints and support.

Thanks for many bug reports, suggestions and hints go to:

CareyerAGrabberByteFakerDVDRickTrent_RFreezy3k
P.T.BinhBosmanMakkerenNowheremanG.KaneC.Vilar
DataP.LutyR.DerksenM.GeblowskiDepecheNorthman
B.SandorD.GilmourFachmanMIVP.QuantinSafair Ma
S.Heyenrath

Special thanks to S.Virth for the French and to Mornstar for the Dutch translation of the documentation!

Also thanks to the Official Beta Tester crew:

A.AustinA.AuA.BurleyA.TomeAntalA.Rueda
A.ChandranBidocheBlack PhantomB.SandorC.VardooneD.Hansen
DepecheDigital CrowExxonFachmanFishHander Clander
J.KaprzykJ.SanchezJ.DavulJ.AlejosJMcGuayJ.Saez
JP v.MelisJ.SilvestriKKKKlaatouK.J.CorderoL.Lauryn
M.KalofoliasM.GeblowskiMikeMornstarMSON.Pouerie
N.KlaasP.Tran BinhPatr.QuantinPasc.QuantinQuoVadisRonin
Safai MaS.EstevaS.HeyenrathT.LevakoviaeU.D.C.Vedran
C.VilarVoltrr1J.K.MjorudB.Mathieu