[Home]History of Tutorials/Authoring PC Media To DVD


Revision 51 . . June 14, 2007 4:43 am by Rick
Revision 50 . . April 17, 2007 2:40 am by Rick
Revision 48 . . March 13, 2007 11:36 pm by tarazed.ligo.caltech.edu
  

Difference (from prior major revision) (author diff)

Changed: 159c159
There are many different subtitle file formats (.sub, .srt, .ssa, .smi, .rt, .txt, .aqt, .jss, .js, .ass), for this exercise we're using the .srt format.
There are many different subtitle file formats (.sub (MicroDVD), .srt, .ssa, .smi, .rt, .txt, .aqt, .jss, .js, .ass), for this exercise we're using the .srt format.

Changed: 206c206,225
* Or if you want the best of both worlds, create two subtitle streams, one for PC and one for television.


* Or if you want the best of both worlds, create two subtitle streams, one for PC and one for television.

* The subtitle formats listed above are of a text format only, another commonly used alternative is the graphical based Vobsub (.sub/.idx) format.


DVDAuthor supports both textual and graphical forms of subtitles, but if using a graphical format, the process becomes more involved.

The user must first extract and prepare the subtitle images for each dialog using a tool such as 'vobsub2pgm' that is contained in the 'subtitleripper' suite of tools, located here -> http://subtitleripper.sf.net


Then create an spumux.xml file that looks something like this:

In this example, 'Matrix0001.png' is an image of the dialog "The weather is nice today", and 'Matrix0002.png' is an image of the dialog "Yes it is, but not as nice as yesterday", the xoffset/yoffset tags are used to position where the image will be placed on the 720x576/480 TV canvas.


File:
<subpicture>
<stream>
<spu image="Matrix0001.png" start="00:00:4.7" end="00:00:6.7" xoffset="178" yoffset="480" />
<spu image="Matrix0002.png" start="00:00:6.9" end="00:00:9.5" xoffset="178" yoffset="480" />
</stream>
</subpicture>

To make things easier, here is a script that automates the extraction of the subtitle images (using 'vobsub2pgm') and creates an spumux.xml file with the images, timestamps and offsets -> http://mightylegends.zapto.org/dvd/vobsub2spumux.sh



Transcode Wiki | Recent Changes | Preferences
Search: