TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua

 找回密码
 新人加入
查看: 4400|回复: 4

SYL 文件详述 (英文) [复制链接]

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2011-8-4 12:59:00 |显示全部楼层
View it online: SYL File Format Specification

or download as doc: syl-spec.doc

or view it here:

SYL File Format Specification

Version 1.0 – Date: August 29th, 2010
Revision     - Date: August 4th, 2011

Introduction
SYL stands for Syllable. SYL file is a file that contains the syllable information of karaoke lines as well as the lines' timings, one of the most commonly used SYL file type is the karaoke-timed ASS file (or simply say, k file). Though, by following the basic concepts of SYL file we can make a different one from k-timed ASS file, we will not do it in the near future, since there is no need to recreate the wheel. The default filename extension of SYL file is _K.ASS (instead of .SYL)


Detail
A general example of SYL file format:


[Script Info]
; This script is generated by TCAX
; Welcome to our homepage www.tcax.org
ScriptType: v4.00+
Collisions:Normal
PlayResX:800
PlayResY:600
Timer:100.0000

[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: TCMS,黑体,36,&H00FFFFFF,&HFF8000FF,&H00E8BF00,&HFFFFFFFF,0,0,0,0,100,100,0,0,0,2,0,5,15,15,10,1
Style: TCPS,Arial,1,&HFFFFFFFF,&HFFFFFFFF,&HFFFFFFFF,&HFFFFFFFF,0,0,0,0,100,100,0,0,0,0,0,7,0,0,0,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:10.63,0:00:12.83,TCMS,NTP,0000,0000,0000,,{\k36}Please {\k36}don't {\k39}say {\k28}"you {\k27}are {\k54}lazy"
Dialogue: 0,0:00:13.10,0:00:15.45,TCMS,NTP,0000,0000,0000,,{\k38}だ{\k17}っ{\k30}て{\k37}本{\k37}当{\k31}は{\k29}cra{\k16}zy
Dialogue: 0,0:00:15.73,0:00:20.91,TCMS,NTP,0000,0000,0000,,{\k50}白{\k39}鳥{\k30}た{\k32}ち{\k27}は{\k25}そ{\k31}う{\k13} {\k13}見{\k12}え{\k12}な{\k19}い{\k18}と{\k34}こ{\k33}で{\k16}バ{\k12}タ{\k20}足{\k20}す{\k11}る{\k20}ん{\k18}で{\k13}す
Dialogue: 0,0:00:21.16,0:00:26.13,TCMS,NTP,0000,0000,0000,,{\k30}本{\k45}能{\k29}に{\k39}従{\k30}順{\k0} {\k37}忠{\k60}実{\k0} {\k32}翻{\k39}弄{\k24}も{\k43}重{\k23}々{\k45}承{\k21}知
Dialogue: 0,0:00:26.36,0:00:31.59,TCMS,NTP,0000,0000,0000,,{\k53}前{\k57}途{\k20}洋{\k25}々{\k20}だ{\k66}し{\k0}…{\k13} {\k12}だ{\k21}か{\k20}ら{\k15}た{\k15}ま{\k26}に{\k37}休{\k28}憩{\k22}し{\k7}ち{\k10}ゃ{\k14}う{\k18}ん{\k18}で{\k19}す
Dialogue: 0,0:00:36.76,0:00:39.31,TCMS,NTP,0000,0000,0000,,{\k31}近{\k60}道{\k17}あ{\k19}れ{\k13}ば{\k22}そ{\k13}れ{\k18}が{\k45}王{\k17}道
Dialogue: 0,0:00:39.34,0:00:42.07,TCMS,NTP,0000,0000,0000,,{\k10}は{\k11}し{\k16}ょ{\k11}れ{\k49}る{\k47}翼{\k23}も{\k13}あ{\k18}れ{\k15}ば{\k33}上{\k25}等
Dialogue: 0,0:00:47.15,0:00:52.03,TCMS,NTP,0000,0000,0000,,{\k26}や{\k42}バ{\k0} {\k43}爪{\k36}割{\k35}れ{\k79}た{\k0} {\k23}グ{\k22}ル{\k22}ー{\k20}で{\k24}補{\k32}修{\k38}し{\k46}た
Dialogue: 0,0:00:52.31,0:00:56.27,TCMS,NTP,0000,0000,0000,,{\k41}そ{\k37}れ{\k19}だ{\k62}け{\k23}で{\k30}な{\k37}ん{\k29}か{\k29}達{\k36}成{\k53}感
Dialogue: 0,0:00:57.47,0:01:02.65,TCMS,NTP,0000,0000,0000,,{\k48}大{\k16}事{\k27}な{\k19}の{\k34}は{\k36}自{\k95}分{\k14} {\k29}か{\k25}わ{\k37}い{\k25}が{\k37}る{\k36}こ{\k40}と
Dialogue: 0,0:01:02.94,0:01:08.83,TCMS,NTP,0000,0000,0000,,{\k46}自{\k49}分{\k62}を{\k55}愛{\k38}さ{\k25}な{\k8}き{\k17}ゃ{\k0} {\k14}他{\k32}人{\k31}も{\k56}愛{\k78}せ{\k17}な{\k61}い
Dialogue: 0,0:01:09.45,0:01:11.80,TCMS,NTP,0000,0000,0000,,{\k58}Please {\k28}don't {\k34}say {\k39}\"you {\k27}are {\k49}lazy\"
Dialogue: 0,0:01:12.07,0:01:14.64,TCMS,NTP,0000,0000,0000,,{\k35}だ{\k25}っ{\k33}て{\k34}本{\k34}当{\k34}は{\k32}cra{\k30}zy
Dialogue: 0,0:01:14.83,0:01:19.91,TCMS,NTP,0000,0000,0000,,{\k49}能{\k20}あ{\k16}る{\k65}鷹{\k22}は{\k27}そ{\k31}う{\k0} {\k20}見{\k20}え{\k13}な{\k16}い{\k13}と{\k35}こ{\k14}に{\k18}ピ{\k20}ッ{\k14}ク{\k29}隠{\k15}す{\k21}ん{\k16}で{\k14}す
Dialogue: 0,0:01:19.97,0:01:25.31,TCMS,NTP,0000,0000,0000,,{\k65}想{\k36}像{\k29}に{\k23}一{\k43}生{\k33}懸{\k67}命{\k0} {\k34}現{\k36}実{\k32}は{\k30}絶{\k38}体{\k41}絶{\k27}命
Dialogue: 0,0:01:25.38,0:01:27.51,TCMS,NTP,0000,0000,0000,,{\k58}発{\k31}展{\k30}途{\k39}中{\k19}だ{\k30}し{\k6}…
Dialogue: 0,0:01:27.68,0:01:30.63,TCMS,NTP,0000,0000,0000,,{\k25}だ{\k23}か{\k19}ら{\k27}不{\k28}意{\k21}に{\k13}ピ{\k14}ッ{\k21}チ{\k16}外{\k16}れ{\k16}る{\k16}ん{\k14}で{\k26}す


Constraints of k-timed ASS file.

1.        Texts before Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text will be ignored or regarded as ASS header according to the option chosen by the user. Text lines after Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text whose character count is less than 50 or without a slash ‘\’ will also be ignored.
2.        Time string has the following pattern hour:minute:second.millisecond. Before the Start time, there should be one and only one ‘,’. Between the Start time and the End time, there should be one and only one ‘,’. Right after the End time, there should be one ‘,’.
3.        Right before the Effect and Text part, there should be one and only one ‘,,’.
4.        In the Effect part, only the ‘\k’ and ‘\K’ ASS tag is permitted. And it should be put in a pair of bracket ‘{}’, note that no white space is allowed in such as ‘{\k50}’. ‘{’ and ‘}’ can only appear in pairs, and cannot be nested. There should be at least one ‘\k’ (or ‘\K’) tag in each valid SYL line. And the first k tag should come before the first text.






Rank: 4

发表于 2012-10-31 19:39:46 |显示全部楼层
找了半天就这个好像和打K值有点关系。。。什么是打K值?怎么打K值呢。。。百度什么的没找到教程。。。

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

发表于 2012-10-31 20:59:04 |显示全部楼层
稀饭 发表于 2012-10-31 19:39
找了半天就这个好像和打K值有点关系。。。什么是打K值?怎么打K值呢。。。百度什么的没找到教程。。。 ...

教程版块有的, 你搜下 Aegisub 教程

Rank: 4

发表于 2012-10-31 22:01:16 |显示全部楼层
milkyjing 发表于 2012-10-31 20:59
教程版块有的, 你搜下 Aegisub 教程

在百度找到了O(∩_∩)O~

Rank: 4

发表于 2012-10-31 22:03:13 |显示全部楼层
稀饭 发表于 2012-10-31 22:01
在百度找到了O(∩_∩)O~

感觉跟AE的听音频打标记好像
您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-3-29 23:58

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH