2071 lines
151 KiB
HTML
2071 lines
151 KiB
HTML
<html><head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
|
||
<meta name="Generator" content="Microsoft Word 14 (filtered)">
|
||
<title>ASS File Format Specification</title>
|
||
<style>
|
||
<!--
|
||
/* Font Definitions */
|
||
@font-face
|
||
{font-family:宋体;
|
||
panose-1:2 1 6 0 3 1 1 1 1 1;}
|
||
@font-face
|
||
{font-family:宋体;
|
||
panose-1:2 1 6 0 3 1 1 1 1 1;}
|
||
@font-face
|
||
{font-family:"\@宋体";
|
||
panose-1:2 1 6 0 3 1 1 1 1 1;}
|
||
/* Style Definitions */
|
||
p.MsoNormal, li.MsoNormal, div.MsoNormal
|
||
{margin:0in;
|
||
margin-bottom:.0001pt;
|
||
text-autospace:none;
|
||
font-size:10.0pt;
|
||
font-family:"Times New Roman","serif";}
|
||
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
|
||
{margin:0in;
|
||
margin-bottom:.0001pt;
|
||
font-size:10.0pt;
|
||
font-family:"Courier New";}
|
||
/* Page Definitions */
|
||
@page WordSection1
|
||
{size:595.45pt 841.7pt;
|
||
margin:.75in .75in .75in .75in;}
|
||
div.WordSection1
|
||
{page:WordSection1;}
|
||
/* List Definitions */
|
||
ol
|
||
{margin-bottom:0in;}
|
||
ul
|
||
{margin-bottom:0in;}
|
||
-->
|
||
</style>
|
||
|
||
</head>
|
||
|
||
<body lang="EN-US" style="text-justify-trim:punctuation">
|
||
|
||
<div class="WordSection1">
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-size:16.0pt;font-family:"Arial","sans-serif"">Sub Station Alpha
|
||
v4.00<span style="color:red">+</span> Script Format</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:77.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">1. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">General
|
||
information</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:77.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">2. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">The
|
||
[sections] of a Sub Station Alpha script</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:77.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">3. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">The line
|
||
types in a Sub Station Alpha script</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:77.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">4. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">Header
|
||
lines, [Script Info] section</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:77.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">5. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">Style
|
||
lines, [v4 Styles] section</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:77.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">6. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">Dialogue
|
||
event lines, [Events] section</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:77.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">7. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">Comment
|
||
lines, [Events] section</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:77.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">8. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">Picture
|
||
event lines, [Events] section</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:77.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">9. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">Movie event
|
||
line, [Events] section</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:77.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">10. </span></b><b><span style="font-family:"Arial","sans-serif"">Sound event lines, [Events] section</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:77.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">11. </span></b><b><span style="font-family:"Arial","sans-serif"">Command event lines, [Events] section</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> <b>Appendix
|
||
A: Style override codes</b></span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">
|
||
Appendix
|
||
B: Embedded font/picture encoding</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:63.8pt"><b><span style="font-family:"Arial","sans-serif";
|
||
color:red">This document was SSA’s format specification originally (can be
|
||
found at http://www.eswat.demon.co.uk). Updates and differences are marked red.</span></b><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
1. General Information</span></u></b></p>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The
|
||
information in this document assumes that you are familiar with the terms and
|
||
concepts used by Sub Station Alpha (SSA). These are documented in SSA's help
|
||
file, ssa.hlp which is distributed with the program, or can be downloaded
|
||
separatelyfrom http://www.eswat.demon.co.uk.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:14.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">1. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">The SSA
|
||
v4.00 script format is different to previous versions of SSA<br>
|
||
</span></b><span style="font-family:"Arial","sans-serif"">SSA v4.00 will read
|
||
scripts from older versions, but v4.00 scripts will not load into older
|
||
versions of SSA correctly.<br>
|
||
<br>
|
||
Some of the changes in the script format are intended to allow all versions of
|
||
SSA from v4.00 onwards to read any present or future SSA scripts. In
|
||
particular, the new "Format" lines allow SSA to read only the
|
||
information it recognises and discard any new information that is added in
|
||
future scripts.<br>
|
||
<br>
|
||
</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:14.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">2. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">Scripts are
|
||
plain (DOS) text files.<br>
|
||
</span></b><span style="font-family:"Arial","sans-serif"">This means they can
|
||
be "manually" editied using any text editor, but caution must be
|
||
exercised when doing this - SSA assumes that scripts will adhere to the
|
||
"rules" set out in this document, and any errors may lead to
|
||
unpredictable results when the script is loaded into SSA.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:14.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">2. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">The script
|
||
is divided into “ini file” style sections<br>
|
||
</span></b><span style="font-family:"Arial","sans-serif"">However, SSA scripts
|
||
are not true Windows .ini files and you cannot do certain things you might
|
||
expect!<br>
|
||
<br>
|
||
</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:14.15pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif"">3. <span style="font:7.0pt "Times New Roman"">
|
||
</span></span></b><b><span style="font-family:"Arial","sans-serif"">Most lines
|
||
in each section begin with some sort of code - a "line descriptor"</span></b><span style="font-family:"Arial","sans-serif"">, to say what information is held in it.
|
||
The descriptor is terminated by a colon.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><b><span style="font-family:"Arial","sans-serif"">3. The information fields in
|
||
each line are separated by a commas.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><span style="font-family:"Arial","sans-serif""> This makes it
|
||
illegal to use commas in character names and style names (SSA prevents you
|
||
putting commas in these). It also makes it quite easy to load chunks of an SSA
|
||
script into a spreadsheet as a CSV file, and chop out columns of information
|
||
you need for another subtitling program.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><b><span style="font-family:"Arial","sans-serif"">4. SSA does not care what order
|
||
events are entered in.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><span style="font-family:"Arial","sans-serif""> They could be
|
||
entered in complete reverse order, and SSA would still play everything
|
||
correctly in the right order ie. you cannot assume that each dialogue line is
|
||
in chronological order in the script file.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><b><span style="font-family:"Arial","sans-serif"">5. Incorrectly formatted lines
|
||
are ignored.<br>
|
||
</span></b><span style="font-family:"Arial","sans-serif"">SSA will discard any
|
||
lines it doesn't understand, and give a warning after the script has loaded
|
||
giving the number of lines it discarded.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><b><span style="font-family:"Arial","sans-serif"">6. Lines cannot be split</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><span style="font-family:"Arial","sans-serif""> Each entry in
|
||
a script contains all its information in a single line.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><b><span style="font-family:"Arial","sans-serif"">7. If unknown styles are used in
|
||
the script, the *Default style will be used.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><span style="font-family:"Arial","sans-serif""> For example,
|
||
if lines have been pasted in from another script, without the corresponding
|
||
Style information then when SSA plays the script, the Default style settings
|
||
will be used.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">8. If
|
||
a Style specifies a font which is not installed, then Arial will be used
|
||
instead.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><span style="font-family:"Arial","sans-serif""> This can
|
||
happen with scripts which you did not create yourself - the original authors
|
||
may have fonts installed which you don't have.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:13.5pt;text-indent:-13.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span></u></b>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">2. The sections in a
|
||
Sub Station Alpha script</span></u></b></p>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><span style="text-decoration:none"> </span></span></u></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">[Script
|
||
Info]</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">This section
|
||
contains headers and general information about the script.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The line that
|
||
says “[Script Info]” <b>must</b> be the first line in a v4 script.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">[v4
|
||
Styles]</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">This section
|
||
contains all Style definitions required by the script. Each “Style” used by
|
||
subtitles in the script should be defined here.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">ASS
|
||
uses [v4 Styles+]</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">[Events]</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">This section
|
||
contains all the events for the script - all the subtitles, comments, pictures,
|
||
sounds, movies and commands. Basically, everything that you see in Sub Station
|
||
Alpha’s main-screen “grid” is in this section.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">[Fonts]</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">This section
|
||
contains text-encoded font files, if the user opted to embed non-standard fonts
|
||
in the script. Only truetype fonts can be embedded in SSA scripts. Each font
|
||
file is started with a single line in the format:<br>
|
||
<br>
|
||
</span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">fontname:
|
||
<name of file></span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The word “<b>fontname</b>”
|
||
must be in lower case (upper case will be interpretted as part of a
|
||
text-encoded file). </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""><name
|
||
of file></span></b><span style="font-family:"Arial","sans-serif""> is the
|
||
file name that SSA will use when saving the font file. It is:</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">the name of
|
||
the original truetype font,</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">plus an
|
||
underscore,</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">plus an
|
||
optional “B” if Bold,</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">plus an
|
||
optional “I” if Italic,</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">plus a number
|
||
specifying the font encoding (character set),</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">plus “.ttf”</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Eg.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">fontname:
|
||
chaucer_B0.ttf</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">fontname:
|
||
comic_0.ttf</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The fontname
|
||
line is followed by lines of printable characters, representing the binary
|
||
values which make up the font file. Each line is 80 characters long, except the
|
||
last one which may be less.<br>
|
||
<br>
|
||
The conversion from binary to printable characters is a form of Uuencoding, the
|
||
details of this encoding is contained in "Appendix B", below.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">[Graphics]</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">This sections
|
||
contains text-encoded graphic files, if the user opted to embed any pictures
|
||
they used in the script. The binary picture files are text-encoded, which is
|
||
inefficient, but ensures that SSA scripts can still be handled by any text editor,
|
||
if required.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Each graphic
|
||
file is started with a single line in the format:</span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">filename:
|
||
<name of file></span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The word “<b>filename</b>”
|
||
must be in lower case (upper case will be interpreted as part of a text-encoded
|
||
file). <br>
|
||
</span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""><name
|
||
of file></span></b><span style="font-family:"Arial","sans-serif""> is the
|
||
file name that SSA will use when saving the picture file. It will match the
|
||
filename of a picture used in the script.<br>
|
||
<br>
|
||
SSA saves any files found in the script in a subdirectory off SSA's program
|
||
directory, "Pictures"</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">eg.
|
||
c:\program files\Sub Station Alpha v4.00\Pictures. SSA will attempt to load
|
||
files using the paths specified in the script, but if they are not found, it
|
||
will look in the "Pictures" subdirectory for them.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The fontname
|
||
line is followed by lines of printable characters, fontrepresenting the binary
|
||
values which make up the picture font file - format is as per embedded font
|
||
files.</span></p>
|
||
|
||
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">3. The line types in
|
||
a Sub Station Alpha script</span></u></b></p>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">This briefly
|
||
describes each of the line types that can appear in a Sub Station Alpha Script.
|
||
Full details of the information held in each line type is in the next chapter.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">!:</span></b><span style="font-family:
|
||
"Arial","sans-serif"">
|
||
This
|
||
is a comment used in the script file only. It is not visible when you
|
||
load the
|
||
script into SSA.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:63.0pt;text-indent:-63.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">Title:</span></b><span style="font-family:"Arial","sans-serif"">
|
||
This
|
||
is a description of the script</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">Original
|
||
Script:</span></b><span style="font-family:"Arial","sans-serif""> The
|
||
original author(s) of the script</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">Original
|
||
Translation: </span></b><span style="font-family:"Arial","sans-serif"">(optional)
|
||
The original translator of the dialogue</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Original Editing: </span></b><span style="font-family:"Arial","sans-serif"">(optional) The original script
|
||
editor(s), typically whoever took the raw translation and turned it into
|
||
idiomatic english and reworded for readability.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">Original
|
||
Timing:</span></b><span style="font-family:"Arial","sans-serif""> (optional)
|
||
Whoever timed the original script</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Synch Point:</span></b><span style="font-family:"Arial","sans-serif""> (optional)
|
||
Description of where in the video the script should begin playback.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Script Updated By:</span></b><span style="font-family:"Arial","sans-serif""> (optional) Names of
|
||
any other subtitling groups who edited the original script.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Update Details:</span></b><span style="font-family:"Arial","sans-serif""> The
|
||
details of any updates to the original script made by other subtilting groups.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">ScriptType:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
is the SSA script format version eg. "V3.00".</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Collisions:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
determines how subtitles are moved, when preventing onscreen collisions</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">PlayResY:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
is the height of the screen used by the authors when playing the script.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">PlayResX:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
is the width of the screen used by the authors when playing the script.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">PlayDepth: </span></b><span style="font-family:"Arial","sans-serif"">This is the colour depth used by the
|
||
authors when playing the script.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Timer:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
is the Timer Speed for the script, as a percentage.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
eg.
|
||
"100.0000" is exactly 100%.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
The
|
||
timer speed is a time multiplier applied to SSA's clock to provide a
|
||
ramp time.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:63.0pt;text-indent:-63.0pt"><b><span style="font-family:"Arial","sans-serif"">Style:</span></b><span style="font-family:"Arial","sans-serif"">
|
||
This
|
||
is a Style definition, used to format text displayed by the script.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">Dialogue:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
is a Dialogue event, ie. Some text to display.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Comment:</span></b><span style="font-family:"Arial","sans-serif""> This is a
|
||
"comment" event.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
This
|
||
contains the same information as a Dialogue, Picture, Sound, Movie, or
|
||
Command
|
||
event, but it is ignored during script playback.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Picture:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
is a "picture" event, which means SSA will display the specified
|
||
.bmp, .jpg, .gif, .ico or .wmf graphic.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:63.0pt;text-indent:-63.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:63.0pt;text-indent:-63.0pt"><b><span style="font-family:"Arial","sans-serif"">Sound:</span></b><span style="font-family:"Arial","sans-serif"">
|
||
This
|
||
is a "sound" event, which means SSA will play the specified .wav
|
||
file.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:63.0pt;text-indent:-63.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:63.0pt;text-indent:-63.0pt"><b><span style="font-family:"Arial","sans-serif"">Movie:</span></b><span style="font-family:"Arial","sans-serif"">
|
||
This
|
||
is a "movie" event, which means SSA will play the specified .avi
|
||
file.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Command:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
is a "command" event, which means SSA will execute the specified
|
||
program as a background task.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span></u></b>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">4. Header lines,
|
||
[Script Info] section</span></u></b></p>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><span style="text-decoration:none"> </span></span></u></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">;</span></b><span style="font-family:
|
||
"Arial","sans-serif"">
|
||
Semicolon.
|
||
Any text can follow the semicolon</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
This
|
||
is a comment used in the script file only. It is not visible when you
|
||
load the
|
||
script into SSA. The semicolon <b>must</b> be the first character in the line.
|
||
This replaces the <b>!:</b> line type used in previous script versions.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:63.0pt;text-indent:-63.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Title:</span></b><span style="font-family:"Arial","sans-serif"">
|
||
This
|
||
is a description of the script. If the original author(s) did not
|
||
provide this
|
||
information then <untitled> is automatically substituted.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Original Script:</span></b><span style="font-family:"Arial","sans-serif""> The
|
||
original author(s) of the script. If the original author(s) did not provide
|
||
this information then <unknown> is automatically substituted.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Original Translation: </span></b><span style="font-family:"Arial","sans-serif"">(optional) The original translator of
|
||
the dialogue. This entry does not appear if no information was entered by the
|
||
author.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Original Editing: </span></b><span style="font-family:"Arial","sans-serif"">(optional) The original script
|
||
editor(s), typically whoever took the raw translation and turned it into
|
||
idiomatic english and reworded for readability. This entry does not appear if
|
||
no information was entered by the author.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Original Timing:</span></b><span style="font-family:"Arial","sans-serif""> (optional)
|
||
Whoever timed the original script. This entry does not appear if no information
|
||
was entered by the author.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Synch Point:</span></b><span style="font-family:"Arial","sans-serif""> (optional)
|
||
Description of where in the video the script should begin playback. This entry
|
||
does not appear if no information was entered by the author.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Script Updated By:</span></b><span style="font-family:"Arial","sans-serif""> (optional) Names of
|
||
any other subtitling groups who edited the original script. This entry does not
|
||
appear if subsequent editors did not enter the information.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Update Details:</span></b><span style="font-family:"Arial","sans-serif""> The
|
||
details of any updates to the original script - made by other subtitling
|
||
groups. This entry does not appear if subsequent editors did not enter any
|
||
information.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Script Type:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
is the SSA script format version eg. "V4.00". It is used by SSA to
|
||
give a warning if you are using a version of SSA older than the version that
|
||
created the script.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
<b><span style="color:red">ASS version is “V4.00+”.</span></b></span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Collisions:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
determines how subtitles are moved, when automatically preventing onscreen
|
||
collisions.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
If
|
||
the entry says "<b>Normal</b>" then SSA will attempt to position
|
||
subtitles in the position specified by the "margins". However,
|
||
subtitles can be shifted vertically to prevent onscreen collisions. With
|
||
"normal" collision prevention, the subtitles will "stack
|
||
up" one above the other - but they will always be positioned as close the
|
||
vertical (bottom) margin as possible - filling in "gaps" in other subtitles
|
||
if one large enough is available.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
If
|
||
the entry says "<b>Reverse</b>" then subtitles will be shifted
|
||
upwards to make room for subsequent overlapping subtitles. This means the
|
||
subtitles can nearly always be read top-down - but it also means that the first
|
||
subtitle can appear half way up the screen before the subsequent overlapping
|
||
subtitles appear. It can use a lot of screen area.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">PlayResY:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
is the height of the screen used by the script's author(s) when playing the
|
||
script. SSA v4 will automatically select the nearest enabled setting, if you
|
||
are using Directdraw playback.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">PlayResX:</span></b><span style="font-family:"Arial","sans-serif""> This
|
||
is the width of the screen used by the script's author(s) when playing the
|
||
script. SSA will automatically select the nearest enabled, setting if you are
|
||
using Directdraw playback.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">PlayDepth: </span></b><span style="font-family:"Arial","sans-serif"">This is the colour depth used by the
|
||
script's author(s) when playing the script. SSA will automatically select the
|
||
nearest enabled setting if you are using Directdraw playback.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">Timer:</span></b><span style="font-family:"Arial","sans-serif"">
|
||
This
|
||
is the Timer Speed for the script, as a percentage.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
eg.
|
||
"100.0000" is exactly 100%. It has four digits following the decimal
|
||
point.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
The
|
||
timer speed is a time multiplier applied to SSA's clock to stretch or
|
||
compress
|
||
the duration of a script. A speed greater than 100% will reduce the
|
||
overall
|
||
duration, and means that subtitles will progressively appear sooner and
|
||
sooner.
|
||
A speed less than 100% will increase the overall duration of the script
|
||
means
|
||
subtitles will progressively appear later and later (like a positive
|
||
ramp
|
||
time).<br>
|
||
<br>
|
||
The stretching or compressing only occurs during script playback - this value
|
||
does not change the actual timings for each event listed in the script.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
Check
|
||
the SSA user guide if you want to know why "Timer Speed" is more
|
||
powerful than "Ramp Time", even though they both achieve the same
|
||
result.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">WrapStyle: Defines
|
||
the default wrapping style. </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.25pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red">0: smart wrapping, lines are evenly broken</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.25pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red">1: end-of-line word wrapping, only \N breaks</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.25pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red">2: no word wrapping, \n \N both breaks</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.25pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red">3: same as 0, but lower line gets wider.</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span></u></b>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">5. Style Lines, [v4<span style="color:red">+</span> Styles] section</span></u></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Styles define
|
||
the appearance and position of subtitles. All styles used by the script are are
|
||
defined by a Style line in the script.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Any of the
|
||
the settings in the Style, (except shadow/outline type and depth) can
|
||
overridden by control codes in the subtitle text.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The fields
|
||
which appear in each Style definition line are named in a special line with the
|
||
line type “Format:”. The Format line must appear before any Styles - because it
|
||
defines how SSA will interpret the Style definition lines. The field names
|
||
listed in the format line must be correctly spelled! The fields are as follows:</span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">Name,
|
||
Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour,
|
||
Bold, Italic, <span style="color:red">Underline, StrikeOut, ScaleX, ScaleY,
|
||
Spacing, Angle,</span> BorderStyle, Outline, Shadow, Alignment, MarginL,
|
||
MarginR, MarginV, AlphaLevel, Encoding</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The format
|
||
line allows new fields to be added to the script format in future, and yet
|
||
allow old versions of the software to read the fields it recognises - even if
|
||
the field order is changed.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Field 1: <b>Name</b>.
|
||
The name of the Style. Case sensitive. Cannot include commas.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Field 2: <b>Fontname</b>.
|
||
The fontname as used by Windows. Case-sensitive.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Field 3: <b>Fontsize</b>.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 4: <b>PrimaryColour.</b>
|
||
A long integer BGR (blue-green-red) value. ie. the byte order in the
|
||
hexadecimal equivelent of this number is BBGGRR</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> This
|
||
is the colour that a subtitle will normally appear in.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 5: <b>SecondaryColour.</b>
|
||
A long integer BGR (blue-green-red) value. ie. the byte order in the
|
||
hexadecimal equivelent of this number is BBGGRR</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> This
|
||
colour may be used instead of the Primary colour when a subtitle is
|
||
automatically shifted to prevent an onscreen collsion, to distinguish the
|
||
different subtitles.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 6: <b><span style="color:red">OutlineColor</span> (<s>TertiaryColour</s></b>). A long
|
||
integer BGR (blue-green-red) value. ie. the byte order in the hexadecimal
|
||
equivelent of this number is BBGGRR</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> This
|
||
colour may be used instead of the Primary or Secondary colour when a subtitle
|
||
is automatically shifted to prevent an onscreen collsion, to distinguish the
|
||
different subtitles.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 7: <b>BackColour</b>.
|
||
This is the colour of the subtitle outline or shadow, if these are used. A long
|
||
integer BGR (blue-green-red) value. ie. the byte order in the hexadecimal
|
||
equivelent of this number is BBGGRR.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red">Field 4-7: The color
|
||
format contains the alpha channel, too. (AABBGGRR)</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 8: <b>Bold</b>.
|
||
This defines whether text is bold (true) or not (false). -1 is True, 0 is
|
||
False. This is independant of the Italic attribute - you can have have text
|
||
which is both bold and italic.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 9: <b>Italic</b>.
|
||
This defines whether text is italic (true) or not (false). -1 is True, 0 is
|
||
False. This is independant of the bold attribute - you can have have text which
|
||
is both bold and italic.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red">Field 9.1: Underline. [-1
|
||
or 0]</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red">Field 9.2: Strikeout. [-1
|
||
or 0]</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red">Field 9.3: ScaleX.
|
||
Modifies the width of the font. [percent]</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red">Field 9.4: ScaleY.
|
||
Modifies the height of the font. [percent]</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red">Field 9.5: Spacing.
|
||
Extra space between characters. [pixels]</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red">Field 9.6: Angle.
|
||
The origin of the rotation is defined by the alignment. Can be a floating point
|
||
number. [degrees]</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Field 10: <b>BorderStyle</b>.
|
||
1=Outline + drop shadow, 3=Opaque box</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 11: <b>Outline.</b>
|
||
If BorderStyle is 1, then this specifies the width of the outline around
|
||
the text, in pixels.<br>
|
||
Values may be 0, 1, 2, 3 or 4. </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 12: <b>Shadow.</b>
|
||
If BorderStyle is 1, then this specifies the depth of the drop shadow
|
||
behind the text, in pixels. Values may be 0, 1, 2, 3 or 4. Drop shadow is
|
||
always used in addition to an outline - SSA will force an outline of 1 pixel if
|
||
no outline width is given.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 13: <b>Alignment</b>.
|
||
This sets how text is "justified" within the Left/Right onscreen
|
||
margins, and also the vertical placing. Values may be 1=Left, 2=Centered,
|
||
3=Right. Add 4 to the value for a "Toptitle". Add 8 to the value for
|
||
a "Midtitle".<br>
|
||
eg. 5 = left-justified toptitle</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red">Field 13: Alignment,
|
||
but after the layout of the numpad (1-3 sub, 4-6 mid, 7-9 top).</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 14: <b>MarginL</b>.
|
||
This defines the Left Margin in pixels. It is the distance from the left-hand
|
||
edge of the screen.The three onscreen margins (MarginL, MarginR, MarginV)
|
||
define areas in which the subtitle text will be displayed.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 15: <b>MarginR</b>.
|
||
This defines the Right Margin in pixels. It is the distance from the <b>right-hand</b>
|
||
edge of the screen. The three onscreen margins (MarginL, MarginR, MarginV)
|
||
define areas in which the subtitle text will be displayed.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 16: <b>MarginV</b>.
|
||
This defines the vertical Left Margin in pixels.<br>
|
||
For a <b>subtitle</b>, it is the distance from the <b>bottom</b> of the screen.<br>
|
||
For a <b>toptitle</b>, it is the distance from the <b>top</b> of the screen.<br>
|
||
For a <b>midtitle</b>, the value is ignored - the text will be vertically
|
||
centred<br>
|
||
</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Field 17: <b>AlphaLevel.</b>
|
||
This defines the transparency of the text. SSA does not use this yet.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">Field
|
||
17: Not present in ASS.</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 18: <b>Encoding.
|
||
</b>This specifies the font character set or encoding and on multi-lingual
|
||
Windows installations it provides access to characters used in multiple than
|
||
one languages. It is usually 0 (zero) for English (Western, ANSI) Windows.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> <b><span style="color:red">When the file is Unicode, this field is useful during file
|
||
format conversions.</span></b></span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">5. Dialogue event
|
||
lines, [Events] section</span></u></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">These contain
|
||
the subtitle text, their timings, and how it should be displayed.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The fields
|
||
which appear in each Dialogue line are defined by a <b>Format:</b> line, which
|
||
must appear before any events in the section. The format line specifies how SSA
|
||
will interpret all following Event lines. The field names must be spelled
|
||
correctly, and are as follows:</span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">Marked,
|
||
Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The last
|
||
field will always be the Text field, so that it can contain commas. The format
|
||
line allows new fields to be added to the script format in future, and yet
|
||
allow old versions of the software to read the fields it recognises - even if
|
||
the field order is changed.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 1: <b>Marked<br>
|
||
</b>Marked=0 means the line is not shown as "marked" in SSA.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> Marked=1
|
||
means the line is shown as "marked" in SSA.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red">Field 1: Layer
|
||
(any integer)</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> Subtitles
|
||
having different layer number will be ignored during the collusion detection.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> Higher
|
||
numbered layers will be drawn over the lower numbered. </span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:red"> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 2: <b>Start</b><br>
|
||
Start Time of the Event, in 0:00:00:00 format ie. Hrs:Mins:Secs:hundredths.
|
||
This is the time elapsed during script playback at which the text will appear
|
||
onscreen. Note that there is a <b>single</b> digit for the hours!</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 3: <b>End</b><br>
|
||
End Time of the Event, in 0:00:00:00 format ie. Hrs:Mins:Secs:hundredths. This
|
||
is the time elapsed during script playback at which the text will disappear offscreen.
|
||
Note that there is a <b>single</b> digit for the hours!</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 4: <b>Style<br>
|
||
</b>Style name. If it is "Default", then your <b>own</b> *Default
|
||
style will be subtituted.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> However,
|
||
the Default style used by the script author IS stored in the script even though
|
||
SSA ignores it - so if you want to use it, the information is there - you could
|
||
even change the Name in the Style definition line, so that it will appear in
|
||
the list of "script" styles.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 5: <b>Name<br>
|
||
</b>Character name. This is the name of the character who speaks the dialogue.
|
||
It is for information only, to make the script is easier to follow when
|
||
editing/timing.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 6: <b>MarginL</b><br>
|
||
4-figure Left Margin override. The values are in pixels. All zeroes means the
|
||
default margins defined by the style are used.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 7: <b>MarginR</b><br>
|
||
4-figure Right Margin override. The values are in pixels. All zeroes means the
|
||
default margins defined by the style are used.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 8: <b>MarginV</b><br>
|
||
4-figure Bottom Margin override. The values are in pixels. All zeroes means the
|
||
default margins defined by the style are used.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 9: <b>Effect</b><br>
|
||
Transition Effect. This is either empty, or contains information for one of the
|
||
three transition effects implemented in SSA v4.x</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> The
|
||
effect names are case sensitive and must appear exactly as shown. The effect
|
||
names do <b>not</b> have quote marks around them.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> <b>"Karaoke"</b>
|
||
means that the text will be successively highlighted one word at a time.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> <b><span style="color:red">Karaoke as an effect type is obsolete.</span></b></span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> <b>"Scroll
|
||
up;y1;y2;delay<span style="color:red">[;fadeawayheight]</span>"</b>means
|
||
that the text/picture will scroll up the screen. The parameters after the words
|
||
"Scroll up" are separated by semicolons.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> The
|
||
y1 and y2 values define a vertical region on the screen in which the text will
|
||
scroll. The values are in pixels, and it doesn't matter which value (top or
|
||
bottom) comes first. If the values are zeroes then the text will scroll up the
|
||
full height of the screen.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> The
|
||
delay value can be a number from 1 to 100, and it slows down the speed of the
|
||
scrolling - zero means no delay and the scrolling will be as fast as possible.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> <b>“Banner;delay”
|
||
</b>means that text will be forced into a single line, regardless of length,
|
||
and scrolled from right to left accross the screen.<br>
|
||
<br>
|
||
The delay value can be a number from 1 to 100, and it slows down the speed of
|
||
the scrolling - zero means no delay and the scrolling will be as fast as
|
||
possible.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> <b><span style="color:red">"Scroll down;y1;y2;delay[;fadeawayheight]"</span></b></span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> <b><span style="color:red">“Banner;delay[;lefttoright;fadeawaywidth]”</span></b></span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> lefttoright
|
||
0 or 1. This field is optional. Default value is 0 to make it backwards
|
||
compatible.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> When
|
||
delay is greater than 0, moving one pixel will take (1000/delay) second. </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"> (WARNING:
|
||
Avery Lee’s “subtitler” plugin reads the “Scroll up” effect parameters as delay;y1;y2)</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><b><span style="font-family:"Arial","sans-serif";color:red"><br>
|
||
fadeawayheight and fadeawaywidth parameters can be used to make the scrolling
|
||
text at the sides transparent.</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif"">Field 10: <b>Text</b><br>
|
||
Subtitle Text. This is the actual text which will be displayed as a subtitle
|
||
onscreen. Everything after the 9th comma is treated as the subtitle text, so it
|
||
can include commas.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> The
|
||
text can include \n codes which is a line break, and can include Style Override
|
||
control codes, which appear between braces { }.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:49.5pt;text-indent:-49.5pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span></u></b>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">6. Comment event
|
||
lines, [Events] section</span></u></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">These can
|
||
contain the same information as any of the other event line types, but they
|
||
will be ignored when the script is played.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span></u></b>
|
||
|
||
<p class="MsoNormal" align="center" style="margin-left:14.15pt;text-align:center;
|
||
text-indent:-14.15pt"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">7.
|
||
Picture event lines, [Events] section</span></u></b></p>
|
||
|
||
<p class="MsoNormal"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><span style="text-decoration:none"> </span></span></u></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">These contain
|
||
the same information as Dialogue events, but Field 10 contains the full path
|
||
and filename of the picture to display, instead of subtitle text.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The Style
|
||
specified is ignored. The "scroll up" transition effect can be used
|
||
for picture events.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The Left and
|
||
Vertical Margin Overrides specify the bottom-left corner position of the
|
||
picture. A left margin of all zeroes means that the picture will be
|
||
horizontally centered. A vertical margin of all zeroes means that the picture
|
||
will be vertically centered. </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span></u></b>
|
||
|
||
<p class="MsoNormal" align="center" style="margin-left:14.15pt;text-align:center;
|
||
text-indent:-14.15pt"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">8.
|
||
Sound event lines, [Events] section</span></u></b></p>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><span style="text-decoration:none"> </span></span></u></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">These contain
|
||
the same information as Dialogue events, but Field 10 contains the full path
|
||
and filename of the wav file to play, instead of subtitle text.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The Style and
|
||
margins are ignored. The End time is also ignored - the wav will play until it
|
||
finishes, or until another wav file is played.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">If an avi
|
||
movie is played at the same time as a wav is already playing, then any sound in
|
||
the avi will not be heard. Similarly, if a wav starts playing when an avi movie
|
||
with sound is already playing then the wav will not be heard.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:63.0pt;text-indent:-63.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span></u></b>
|
||
|
||
<p class="MsoNormal" align="center" style="margin-left:14.15pt;text-align:center;
|
||
text-indent:-14.15pt"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">9.
|
||
Movie event lines, [Events] section</span></u></b></p>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><span style="text-decoration:none"> </span></span></u></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">These contain
|
||
the same information as Dialogue events, but Field 10 contains the full path
|
||
and filename of the avi file to play, instead of subtitle text.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The Style is
|
||
ignored. Transition effects are ignored.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The End time
|
||
specifies when the movie picture will disappear - but if th eavi file lasts
|
||
longer, then the sound will continue to be heard.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The Left and
|
||
vertical Margin Overrides specify the TOP-LEFT corner position of the picture
|
||
(unlike picture events). A left margin of all zeroes means that the picture
|
||
will be horizontally centered. a vertical margin of all zeroes means that the
|
||
picture will be verticall centered. </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">If an avi
|
||
movie is played at the same time as a wav is already playing, then any sound in
|
||
the avi will not be heard. Similarly, if a wav starts playing when an avi movie
|
||
with sound is already playing then the wav will not be heard.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span></u></b>
|
||
|
||
<p class="MsoNormal" align="center" style="margin-left:14.15pt;text-align:center;
|
||
text-indent:-14.15pt"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">10.
|
||
Command event lines, [Events] section</span></u></b></p>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">These contain
|
||
the same information as Dialogue events, but Field 10 contains the full path
|
||
and filename of the program to execute, instead of subtitle text.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The Style is
|
||
ignored. The margins are ignored. Transition effects are ignored. The End time
|
||
is also ignored - the program will execute until it ends, or is
|
||
"manually" closed.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">There are
|
||
also internal SSA commands which can appear in SSA scripts - the
|
||
"SSA:Pause", “SSA:Wait for trigger” command events, and genlock
|
||
control commands. These all begin with "SSA:"</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The SSA:Pause
|
||
command has the same effect as pressing "P" during script playback.
|
||
It is useful as a second "synch point" to resume subtitling after
|
||
switching sides of a laserdisk.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The “SSA:Wait
|
||
for audio trigger” command has the same effect as pressing "P" during
|
||
script playback, but pausing is automatically cancelled if the audio input to
|
||
the computer exceeds a specified “trigger” level. It is useful as a second
|
||
"synch point" to resume subtitling after switching sides of a
|
||
laserdisk. The audio triggering can be overridden to resume playback - by
|
||
pressing "P".</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Audio
|
||
triggering "times out" after 10 minutes - If no audio peak of
|
||
sufficient magnitude is received, and "P" is not pressed within 10
|
||
minutes - then playback will resume anyway.</span></p>
|
||
|
||
<b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span></u></b>
|
||
|
||
<p class="MsoNormal" align="center" style="text-align:center"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif"">Appendix A: Style
|
||
override codes</span></u></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-size:12.0pt;font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">This is a
|
||
reference which may be useful for those of you who wish to learn the style
|
||
override codes, so you can type them in manually without using the
|
||
"override style" dialogue box.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">All Override
|
||
codes appear within braces { } except the newline \n and \N codes.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">All override
|
||
codes are always preceded by a backslash \</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Several
|
||
overrides can be used within one set of braces.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Each override
|
||
affects all text following the override. To apply an override only to selected
|
||
text, you need a second "cancelling" override after the selected
|
||
text, to "undo" the effect of the first override.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Some
|
||
overrides automatically apply to ALL the text - currently this is just
|
||
alignment overrides, but more may be added later (eg. Shadow/outline depth
|
||
overrides).</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">\n</span></b><span style="font-family:"Arial","sans-serif"">
|
||
New
|
||
line (carriage return)<br>
|
||
|
||
\n
|
||
is ignored by SSA if “smart-wrapping” is enabled</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">
|
||
<b>eg.
|
||
This is the first line\nand this is the second<br>
|
||
<br>
|
||
\N
|
||
</b>New
|
||
line (carriage return). This is used by SSA instead of \n if </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">
|
||
“smart-wrapping”
|
||
is enabled.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">\b</span></b><span style="font-family:
|
||
"Arial","sans-serif""><0 or 1> \b1
|
||
makes the text bold. \b0 forces non-bold text.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
eg.
|
||
There is a {\b1}bold {\b0}word here</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
<span style="color:red">When this parameter is greater than 1, it will be used as the
|
||
weight of the font. (400 = Normal, 700 = Bold, note: most fonts will quantize
|
||
to 2 or 3 levels of thickness)</span></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">\i</span></b><span style="font-family:"Arial","sans-serif""><0 or 1> \i1
|
||
makes the text italic. \i0 forces non-italic text.</span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">
|
||
eg.
|
||
There is an {\i1}italicised {\i0}word here</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">\u<0 or 1> underline</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\s<0
|
||
or 1> strikeout</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\bord<width> border</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\shad<depth> shadow</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\be<0
|
||
or 1> blur
|
||
edges</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">\fn</span></b><span style="font-family:
|
||
"Arial","sans-serif""><font name> <font
|
||
name> specifies a font which you have installed in Windows. This is case
|
||
sensitive.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
eg.
|
||
Here is some {\fnCourier New}fixed space text</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
If
|
||
you use a font name that doesn't exist, then Arial will be used instead.<br>
|
||
<br>
|
||
</span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">\fs</span></b><span style="font-family:"Arial","sans-serif""><font size> <font
|
||
size> is a number specifying a font point size.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">
|
||
<b>eg.
|
||
{\fs16}This is small text. {\fs28}This is large text<br>
|
||
<br>
|
||
</b></span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\fsc<x
|
||
or y><percent> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
<x
|
||
or y> x scales horizontally, y scales vertically</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
<percent>
|
||
</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\fsp<pixels
|
||
> <pixels>
|
||
changes the distance between letters. (default: 0)</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.25pt;text-indent:-90.25pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\fr[<x/y/z>]<degrees></span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
<degrees>
|
||
sets the rotation angle around the x/y/z axis.</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
\fr
|
||
defaults to \frz. </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">\fe</span></b><span style="font-family:"Arial","sans-serif""><charset> <charset>
|
||
is a number specifying the character set (font encoding)</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">\c&H</span></b><span style="font-family:"Arial","sans-serif""><bbggrr><b>& </b><bbggrr>
|
||
is a hexadecimal RGB value, but in reverse order. Leading zeroes are not
|
||
required.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
eg.
|
||
{\c&HFF&}This is pure, full intensity red</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
|
||
{\c&HFF00&}This is pure, full intensity Green</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
|
||
{\c&HFF0000&}This is pure, full intensity Blue</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
|
||
{\c&HFFFFFF&}This is White</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
|
||
{\c&HA0A0A&}This is dark grey</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
<span style="color:red">\1c&Hbbggrr&, \2c&Hbbggrr&,
|
||
\3c&Hbbggrr&, \4c&Hbbggrr& to set specific colors.</span></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
\1a&Haa&,
|
||
\2a&Haa&, \3a&Haa&, \4a&Haa& to set specific
|
||
alpha
|
||
channels.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
\alpha
|
||
defaults to \1a</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">\a</span></b><span style="font-family:
|
||
"Arial","sans-serif""><alignment> <alignment>
|
||
is a number specifying the onscreen alignment/positioning of a subtitle.</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
A
|
||
value of 1 specifies a left-justified subtitle</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
A
|
||
value of 2 specifies a centered subtitle</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
A
|
||
value of 3 specifies a right-justified subtitle</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
Adding
|
||
4 to the value specifies a "Toptitle"</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
Adding
|
||
8 to the value specifies a "Midtitle"</span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif"">
|
||
<b><span style="color:red">0 or nothing resets to the style default (which is usually 2)</span></b></span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
eg.
|
||
{\a1}This is a left-justified subtitle</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
|
||
{\a2}This is a centered subtitle</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
|
||
{\a3}This is a right-justified subtitle</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
|
||
{\a5}This is a left-justified toptitle</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">
|
||
|
||
{\a11}This is a right-justified midtitle</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
Only
|
||
the first appearance counts.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">\an<alignment> numpad
|
||
layout</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
Only
|
||
the first appearance counts.</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif"">\k</span></b><span style="font-family:
|
||
"Arial","sans-serif""><duration> <duration>
|
||
is the amount of time that each section of text is highlighted for in a
|
||
dialogue event with the Karaoke effect. The durations are in hundredths of
|
||
seconds.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">
|
||
eg.
|
||
{\k94}This {\k48}is {\k24}a {\k150}karaoke {\k94}line</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
\k<duration>
|
||
highlight by words</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
\kf
|
||
or \K<duration> fill up from left to right</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
\ko<duration>
|
||
outline highlighting from left to right</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\q<num>
|
||
|
||
|
||
<num>
|
||
wrapping style</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif"">\r<span style="color:red">[<style>]</span> </span></b><span style="font-family:
|
||
"Arial","sans-serif"">This cancels all previous style overrides in a line</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">
|
||
<b><span style="color:red"><style> Restores to <style> instead of the
|
||
dialogue line default.</span></b></span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">Any style modifier followed
|
||
by no recognizable parameter resets to the default.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif";color:red">Functions:</span></u></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\t([<t1>,
|
||
<t2>, ] [<accel>,] <style modifiers>)</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span lang="HU" style="font-family:"Arial","sans-serif";
|
||
color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
<t1>,
|
||
<t2> Animation beginning, ending time offset [ms] (optional)</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
<accel>
|
||
Modifies the linearity of the transformation (optional)</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:127.6pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:127.6pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red">The following calculation is performed to get the
|
||
coefficient needed to interpolate between the given style modifiers:
|
||
pow((t-t1)/(t2-t1), accel), where t is the time offset for the subtitle.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:127.6pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:127.6pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red">The meaning of <accel>:</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:148.85pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red">1: the transformation is linear</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:148.85pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red">between 0 and 1: will start fast and slow down</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:148.85pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red">greater than 1: will start slow and get faster</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:148.85pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:148.85pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red">As an example, using 2 will make growing the
|
||
letters (by {\fscx200\fscy200}) look linear rather than slowering.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:148.85pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
<style
|
||
modifiers>Any style modifier which can be animated:</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:120.5pt"><b><span style="font-family:
|
||
"Arial","sans-serif";color:red">\c,\1-4c,\alpha,\1-4a,\fs,\fr,\fscx,\fscy,\fsp,\bord,\shad,\clip
|
||
(only the rectangular \clip)</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\move(<x1>,
|
||
<y1>, <x2>, <y2>[, <t1>, <t2>])</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
<x1>,
|
||
<y1> The coordinate to start at.</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
<x2>,
|
||
<y2> The coordinate to end at.</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
<t1>,
|
||
<t2> Animation beginning, ending time offset [ms] (optional)</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
The
|
||
origin of the movement is defined by the alignment type.</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\pos(<x>,
|
||
<y>) Defaults
|
||
to \move(<x>, <y>, <x>, <y>, 0, 0)</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">\org(<x>, <y>) Moves
|
||
the default origin at (x,y). This is useful when moving subtitles in the
|
||
direction of rotation.</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">WARNING:
|
||
\t, \move and \pos will ignore collusion detection.</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\fade(<a1>,
|
||
<a2>, <a3>, <t1>, <t2>, <t3>, <t4>)</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:113.4pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:113.4pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif";color:red"><a1> Alpha value
|
||
before <t1></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:113.4pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif";color:red"><a2> Alpha value
|
||
between <t2> and <t3></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:113.4pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif";color:red"><a3> Alpha value after
|
||
<t4></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:113.4pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif";color:red"><t1>, <t4>
|
||
Animation beginning, ending time offset [ms]</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:113.4pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif";color:red"><t1> - <t2>
|
||
Alpha value will be interpolated between <a1> and <a2></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:113.4pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif";color:red"><t2> - <t3>
|
||
Alpha value will be set to <a2></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:113.4pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif";color:red"><t3> - <t4>
|
||
Alpha value will be interpolated between <a2> and <a3></span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red">\fad(<t1>,
|
||
<t2>) <t1> the
|
||
time length of fading in</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:113.4pt;text-indent:-14.15pt"><b><span style="font-family:"Arial","sans-serif";color:red"><t2> the time length
|
||
of fading out</span></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal" style="text-indent:.25pt"><b><span style="font-family:"Arial","sans-serif";
|
||
color:red">\clip(<x1>, <y1>, <x2>, <y2>)</span></b></p>
|
||
|
||
<p class="MsoNormal" style="text-indent:.25pt"><b><span style="font-family:"Arial","sans-serif";
|
||
color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="text-indent:.25pt"><b><span style="font-family:"Arial","sans-serif";
|
||
color:red">
|
||
Clips
|
||
any drawing outside the rectangle defined by the parameters.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="text-indent:.25pt"><b><span style="font-family:"Arial","sans-serif";
|
||
color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="text-indent:.25pt"><b><span style="font-family:"Arial","sans-serif";
|
||
color:red">\clip([<scale>,] <drawing commands>)</span></b></p>
|
||
|
||
<p class="MsoNormal" style="text-indent:.25pt"><b><span style="font-family:"Arial","sans-serif";
|
||
color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="text-indent:.25pt"><b><span style="font-family:"Arial","sans-serif";
|
||
color:red">
|
||
Clipping
|
||
against drawn shapes. </span></b></p>
|
||
|
||
<p class="MsoNormal" style="text-indent:.25pt"><b><span style="font-family:"Arial","sans-serif";
|
||
color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="text-indent:.25pt"><b><span style="font-family:"Arial","sans-serif";
|
||
color:red">
|
||
<scale>
|
||
has the same meaning as in the case of \p<scale></span></b></p>
|
||
|
||
<p class="MsoNormal" style="text-indent:.25pt"><b><span style="font-family:"Arial","sans-serif";
|
||
color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><u><span style="font-size:12.0pt;font-family:"Arial","sans-serif";color:red">Drawings:</span></u></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">\p<scale> <scale>
|
||
</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
|
||
|
||
Turns
|
||
on drawing mode and sets the magnification level of the coordinates at
|
||
the same
|
||
time. Scale is interpreted as two to the power of (<scale> minus
|
||
one).
|
||
For example {\p4} and the coordinate (8,16) will mean the same as {\p1}
|
||
and
|
||
(1,2). This feature can be useful for sub-pixel accuracy.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
If
|
||
0, drawing mode is turned off and the text is interpreted as usual.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">\pbo<y>
|
||
<y>
|
||
baseline offset. By default any drawings are positioned on the current
|
||
baseline. With this value it is possible to move them up or down by
|
||
<y>
|
||
pixels. (up: y<0, down: y>0)</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">Drawing commands:</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">m
|
||
<x>
|
||
<y>
|
||
Moves
|
||
the cursor to <x>, <y></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">n
|
||
<x>
|
||
<y>
|
||
Moves
|
||
the cursor to <x>, <y> (unclosed shapes will be left open)</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">l
|
||
<x>
|
||
<y>
|
||
Draws
|
||
a line to <x>, <y></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">b <x1> <y1>
|
||
<x2> <y2> <x3> <y3></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
3rd
|
||
degree bezier curve to point 3 using point 1 and 2 as the control points</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">s <x1> <y1>
|
||
<x2> <y2> <x3> <y3> .. <xN> <yN></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">
|
||
3rd
|
||
degree uniform b-spline to point N, must contain at least 3 coordinates</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">p
|
||
<x>
|
||
<y>
|
||
extend
|
||
b-spline to <x>, <y></span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">c
|
||
|
||
|
||
close
|
||
b-spline</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">Things you should know:</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> Commands
|
||
must appear after {\p1+} and before {\p0}. (except
|
||
for \clip(..))</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> Drawings
|
||
must always start with a move to command.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> Drawings
|
||
must form a closed shape.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> All
|
||
unclosed shape will be closed with a straight line automatically.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> Overlapping
|
||
shapes in the Dialogue line will be XOR-ed with each-other.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:14.2pt;text-indent:-14.2pt"><b><span style="font-family:"Arial","sans-serif";color:red"> If
|
||
the same command follows another, it isn’t needed to write its identifier
|
||
letter again, only the coordinates.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:14.2pt;text-indent:-14.2pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:14.2pt;text-indent:-14.2pt"><b><span style="font-family:"Arial","sans-serif";color:red"> The
|
||
coordinates are relative to the current cursor position (baseline) and the
|
||
alignment mode.</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:14.2pt;text-indent:-14.2pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:14.2pt;text-indent:-14.2pt"><b><span style="font-family:"Arial","sans-serif";color:red"> Commands
|
||
p and c should only follow other b-spline commands.</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red">Examples:</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> Square:
|
||
m 0 0 l 100 0 100 100 0 100</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> Rounded
|
||
square: m 0 0 s 100 0 100 100 0 100 c (c equals to “p 0 0 100
|
||
0 100 100” in this case)</span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="margin-left:99.0pt;text-indent:-99.0pt"><b><span style="font-family:"Arial","sans-serif";color:red"> Circle
|
||
(almost): m 50 0 b 100 0 100 100 50 100 b 0 100 0 0 50 0
|
||
(note that the 2nd ‘b’ is optional here)</span></b></p>
|
||
|
||
<p class="MsoNormal"><b><span style="font-family:"Arial","sans-serif";color:red"> </span></b></p>
|
||
|
||
<p class="MsoNormal" style="text-indent:.25pt"><b><span style="font-family:"Arial","sans-serif""> </span></b></p>
|
||
|
||
<b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br clear="all" style="page-break-before:always">
|
||
</span></b>
|
||
|
||
<p class="MsoNormal"><b><u><span style="font-size:14.0pt;font-family:"Arial","sans-serif"">Appendix
|
||
B: embedded font/picture encoding</span></u></b></p>
|
||
|
||
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">SSA’s font
|
||
and picture file embeddeding is a form of UUEncoding.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">It takes a
|
||
binary file, three bytes at a time, and converts the 24bits of those bytes into
|
||
four 6-bit numbers. 33 is added to each of these four numbers, and the
|
||
corresponding ascii character for each number is written into the script file.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The offset of
|
||
33 means that lower-case characters cannot appear in the encoded output, and
|
||
this is why the “filename” lines are always lower case.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Each line of
|
||
an encoded file is 80 characters long, except the last one, which may be
|
||
shorter.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">If the length
|
||
of the file being encoded is not an exact multiple of 3, then for odd-number
|
||
filelengths, the last byte is multiplied by hexadecimal 100, and the most
|
||
significant 12 bits are converted to two characters as above. For even-number
|
||
filelengths, the last two bytes are multiplied by hexadecimal 10000, and the
|
||
most significant 18 bits are converted to three characters as above. </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">There is no
|
||
terminating code for the embedded files. If a new [section] starts in the
|
||
script, or if another filename line is found, or the end of the script file is
|
||
reached then the file is considered complete.</span></p>
|
||
|
||
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span></p>
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
</body><script src="ASS%20File%20Format%20Specification_files/passkeys.js"></script></html> |