什么是SSA
- SSA(SubStation Alpha),是由CS Low,比传统字幕格式如SRT格式功能更加先进的字幕文件格式。
- 该格式字幕的外挂文件以*.ssa作为后缀。
什么是ASS?
- ASS(Advanced SubStation Alpha),是一种比SSA更为高级的字幕格式,其实质版本是SSA v4.00+它是基于SSA 4.00+编码构建的。
- ASS的主要变化就是在SSA编写风格的基础上增添更多的特效和指令。
- 该格式字幕的文件以*.ass作为后缀。
SSA文件数据结构示例:
[Script Info]
; Script generated by Aegisub
; http://www.aegisub.org/
Title: Default Aegisub file
ScriptType: v4.00+
WrapStyle: 0
ScaledBorderAndShadow: yes
YCbCr Matrix: None
[Subtitle]
; Generated by Aegisub 3.2.2
; 00:00:01.00,00:00:05.00
This is the first subtitle.
; 00:00:06.00,00:00:10.00
This is the second subtitle.
ASS文件数据结构示例
[Script Info]
; Script generated by Aegisub
; http://www.aegisub.org/
Title: Default Aegisub file
ScriptType: v4.00+
WrapStyle: 0
ScaledBorderAndShadow: yes
YCbCr Matrix: None
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,20,&H00FFFFFF,&H0000FFFF,&H00000000,&H80000000,0,0,0,0,100,100,0,0,1,1.5,0,2,10,10,10,1
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:01.00,0:00:05.00,Default,,0000,0000,0000,,This is the first subtitle.
Dialogue: 0,0:00:06.00,0:00:10.00,Default,,0000,0000,0000,,This is the second subtitle.
标签:ASS,00,0000,Default,Aegisub,SSA
From: https://www.cnblogs.com/doubleconquer/p/18089832