Difference between revisions of "SubStation Alpha"

From VideoLAN Wiki
Jump to navigation Jump to search
(add format description)
 
(Expand)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''SubStationAlpha''' (*.SSA) file format is as follows:
+
{{Mmwiki|SubStation Alpha}}
  
[Script Info]<br>
+
'''SubStation Alpha''' (SSA), or the more recent '''Advanced SubStation Subtitles''' (ASS), are different versions of the same [[subtitle]] format. It may have the [[file extension]] .ssa or .ass, respectively. SSA is used for versions <=4, ASS is used for versions 4+.
Title:<br>
+
 
Original Script:<br>
+
The original site, which is down, can be found as a June 2003 snapshot [https://web.archive.org/web/20030603235926/http://www.eswat.demon.co.uk/substation.html here from the Internet Archive] for more information.
Original Translation:<br>
+
 
Original Editing:<br>
+
==Specification==
Original Timing:<br>
+
<!-- Was this taken from Xiph Wiki? If so, we should document that. -->
Original Script Checking:<br>
+
An example document looks like this:
Synch Point:<br>
+
[Script Info]
Script Updated By:<br>
+
Title:
Update Details:<br>
+
Original Script:
ScriptType: v4.00<br>
+
Original Translation:
Collisions: Normal<br>
+
Original Editing:
PlayResY: 864<br>
+
Original Timing:
PlayDepth: 0<br>
+
Original Script Checking:
Timer: 100.0000<br>
+
Synch Point:
<br>
+
Script Updated By:
[V4 Styles]<br>
+
Update Details:
'''(Format: "Style: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding")'''<br>
+
ScriptType: v4.00
Style: Default,Arial,20,65535,65535,65535,-2147483640,-1,0,1,3,0,2,30,30,30,0,0<br>
+
Collisions: Normal
<br>
+
PlayResY: 864
[Events]<br>
+
PlayDepth: 0
'''(Format: "Dialogue: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text")'''<br>
+
Timer: 100.0000
Dialogue: Marked=0,0:02:32.85,0:02:34.33,*Default,1,0000,0000,0000,,Oh no! The eggs are hatching!<br>
+
 +
[V4 Styles]
 +
'''(Format: "Style: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding")'''
 +
Style: Default,Arial,20,65535,65535,65535,-2147483640,-1,0,1,3,0,2,30,30,30,0,0
 +
 +
[Events]
 +
'''(Format: "Dialogue: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text")'''
 +
Dialogue: Marked=0,0:02:32.85,0:02:34.33,*Default,1,0000,0000,0000,,Oh no! The eggs are hatching!
 +
 
 +
[[Category:Subtitles]]

Latest revision as of 06:22, 28 January 2019

SubStation Alpha (SSA), or the more recent Advanced SubStation Subtitles (ASS), are different versions of the same subtitle format. It may have the file extension .ssa or .ass, respectively. SSA is used for versions <=4, ASS is used for versions 4+.

The original site, which is down, can be found as a June 2003 snapshot here from the Internet Archive for more information.

Specification

An example document looks like this:

[Script Info]
Title:
Original Script:
Original Translation:
Original Editing:
Original Timing:
Original Script Checking:
Synch Point:
Script Updated By:
Update Details:
ScriptType: v4.00
Collisions: Normal
PlayResY: 864
PlayDepth: 0
Timer: 100.0000

[V4 Styles]
(Format: "Style: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding")
Style: Default,Arial,20,65535,65535,65535,-2147483640,-1,0,1,3,0,2,30,30,30,0,0

[Events]
(Format: "Dialogue: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text")
Dialogue: Marked=0,0:02:32.85,0:02:34.33,*Default,1,0000,0000,0000,,Oh no! The eggs are hatching!