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

 找回密码
 新人加入
查看: 5813|回复: 7
打印 上一主题 下一主题

[已解决] 生成ass文件时错误! 求帮助! [复制链接]

正式会员

爱理人士

Rank: 4

跳转到指定楼层
楼主
发表于 2011-8-29 22:29:32 |只看该作者 |正序浏览
本帖最后由 5231251 于 2011-8-30 07:30 编辑

编译tcc文件时提示Fatal Error:invalid SYL line,line index=1; k index=1
Task failed!
tcc文件内容如下:# tcc file version

< tcc file version = 1.0 >


# mode configuration

< inherit ass header = false >
< k mode = syllable >
< text layout = horizontal >
< tcaxpy init = true >
< tcaxpy user = false >
< tcaxpy fin = true >


# py settings

< py file = !in_009.py >    < beg line = 1 >    < end line = 0 >
< py file = !main_003.py >    < beg line = 1 >    < end line = 0 >
< py file = !eft_002.py >    < beg line = 1 >    < end line = 0 >
< py file = !eft_003.py >    < beg line = 1 >    < end line = 0 >
< py file = !ext_001.py >    < beg line = 1 >    < end line = 0 >
< py file = !out_009.py >    < beg line = 1 >    < end line = 0 >


# main settings

< k-timed ass file = 恋之缚咒超级无敌终极高清版1.ass >
< font file = DFHSG5.TTC >    < font face id = 2 >    < font size = 40 >
< fx width = 1280 >    < fx height = 720 >    < fx fps = 23.976 >
< alignment = 2 >
< x offset = 0 >    < y offset = 15 >
< spacing = 0 >    < space scale = 1.0 >


# style settings

< font face name = "" >
< bord = 1 >    < shad = 0 >
< primary color = FF0000 >    < secondary color = 00AAFF >    < outline color = FFFF00 >    < back color = 000000 >
< primary alpha = 0 >    < secondary alpha = 0 >    < outline alpha = 0 >    < back alpha = 100 >


# additional settings

< blur = 1.0 >





大大们帮我看看是哪错了!
还有带k值的ass文件有什么要求,避免出错!

正式会员

爱理人士

Rank: 4

8#
发表于 2011-8-30 21:46:19 |只看该作者
谢谢大大们啊

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

7#
发表于 2011-8-30 09:58:04 |只看该作者
关于这个问题的解决方法,请参考:http://www.tcax.org/forum.php?mo ... d=282&fromuid=2

正式会员

爱理人士

Rank: 4

6#
发表于 2011-8-30 07:34:03 |只看该作者
试了试 果然行!   但是还有个问题,就是不能完全编译完,到70%左右就报错停止了

未命名1.jpg (57.43 KB, 下载次数: 1696)

未命名1.jpg

正式会员

爱理人士

Rank: 4

5#
发表于 2011-8-30 07:25:45 |只看该作者
不管有用没  还是谢谢先!

Administrator

TCAX Dev.

Rank: 7Rank: 7Rank: 7

地板
发表于 2011-8-30 00:47:40 |只看该作者
要求是纯K值文件(即不包含其他特效代码)。一般,用Aegisub制作的k文件不会出什么问题(最好别二次加工)…
对于这个实例,去掉fad代码(全部中文翻译)试试?
另外,中文,日文等不要混合…要分开制作…对于中文,一般不制作K值,所以不需要eft脚本…只要在每一句歌词前加个{\k0}即可…
如果要想用eft脚本,则可试试将中文歌词时间轴文件用KASS.exe打开,然后另存为k值ASS文件
p.s. 断网了…睡前手机回的帖…打字纠结…

正式会员

爱理人士

Rank: 4

板凳
发表于 2011-8-29 23:46:01 |只看该作者
本帖最后由 5231251 于 2011-8-29 23:46 编辑

[Script Info]
; Script generated by Aegisub 2.1.8
; http://www.aegisub.org/
Title:YYeTs
Original Script:YYeTs
Synch Point:1
ScriptType: v4.00+
Collisions:Normal
Timer:100.0000
PlayResX: 720
PlayResY: 480
Audio File: ?video
Video Aspect Ratio: 0
Video Zoom: 6
Video Position: 7006
Last Style Storage: Default
Video File: ..\My Documents\FFOutput\恋之缚咒超级无敌终极高清版.vob.avi

[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,方正黑体简体,21,&H00FFFFFF,&HF0000000,&H006C3300,&H00000000,-1,0,0,0,100,100,0,0,1,2,1,2,5,5,5,134
Style: 日文,方正卡通简体,28,&H00FCF7FF,&H006B79F9,&H00266603,&H00000000,-1,0,0,0,100,100,0,0,1,1,1,7,10,10,10,1
Style: 中文,方正卡通简体,28,&H64FCFAFD,&H00FF00FF,&H640A8145,&H00000000,-1,0,0,0,100,100,0,0,1,1,2,3,10,10,10,1
Style: gc制作,方正黑体简体,20,&H00FFFFFF,&H000000FF,&H32266603,&H00000000,0,0,0,0,100,100,0,0,1,5,2,2,10,10,10,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:33.35,0:00:37.53,中文,NTP,0000,0000,0000,,{\fad(100,250)}不要向我告白啦!
Dialogue: 0,0:00:33.35,0:00:37.53,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K64}告{\K54}白{\K29}な{\K22}ん{\K20}て {\K43}し{\K33}な{\K50}い{\K42}で{\K62}よ
Dialogue: 0,0:00:40.18,0:00:45.77,中文,NTP,0000,0000,0000,,{\fad(100,250)}明明不知该怎样交往
Dialogue: 0,0:00:40.18,0:00:45.77,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K31}付{\K16}き{\K25}合{\K42}い{\K37}方{\K16}も {\K53}し{\K32}ら{\K51}な{\K44}い{\K146}く{\K66}せ
Dialogue: 0,0:00:46.78,0:00:51.23,中文,NTP,0000,0000,0000,,{\fad(100,250)}你要怎样守护我
Dialogue: 0,0:00:46.78,0:00:51.23,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K41}ど{\K14}う{\K12}や{\K16}っ{\K43}て {\K63}私{\K83}守{\K43}る{\K41}の{\K89}よ
Dialogue: 0,0:00:53.52,0:00:57.83,中文,NTP,0000,0000,0000,,{\fad(100,250)}一点根据也没有
Dialogue: 0,0:00:53.52,0:00:57.83,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K61}根{\K19}拠{\K44}も{\K41}何{\K22}も{\K43}な{\K41}い{\K31}く{\K53}せ{\K76}に
Dialogue: 0,0:01:00.35,0:01:03.11,中文,NTP,0000,0000,0000,,{\fad(100,250)}别再假装大人样
Dialogue: 0,0:01:00.35,0:01:03.11,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K47}大{\K23}人{\K40}ぶ{\K22}る{\K41}の{\K35}や{\K29}め{\K39}て
Dialogue: 0,0:01:03.58,0:01:06.43,中文,NTP,0000,0000,0000,,{\fad(100,250)}别再用认真的表情看我
Dialogue: 0,0:01:03.58,0:01:06.43,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K50}真{\K31}面{\K27}目{\K35}颜{\K42}も{\K35}や{\K30}め{\K35}て
Dialogue: 0,0:01:06.99,0:01:12.13,中文,NTP,0000,0000,0000,,{\fad(100,250)}我的朋友很喜欢你
Dialogue: 0,0:01:06.99,0:01:12.13,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K31}女{\K24}友{\K83}达{\K44}が{\K42}君{\K21}の{\K91}事 {\K55}好{\K21}き{\K65}だ{\K36}と
Dialogue: 0,0:01:12.15,0:01:16.17,中文,NTP,0000,0000,0000,,{\fad(100,250)}这一点我是知道的
Dialogue: 0,0:01:12.15,0:01:16.17,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K14}知{\K28}っ{\K21}て{\K42}る{\K15}の{\K24}よ {\K258}私
Dialogue: 0,0:01:20.35,0:01:23.77,中文,NTP,0000,0000,0000,,{\fad(100,250)}教室里什么也没有
Dialogue: 0,0:01:20.35,0:01:23.77,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K55}教{\K48}室{\K42}に{\K32}は {\K46}何{\K27}も{\K22}な{\K41}い{\K29}わ
Dialogue: 0,0:01:23.84,0:01:27.16,中文,NTP,0000,0000,0000,,{\fad(100,250)}不要这样强势的逼迫我
Dialogue: 0,0:01:23.84,0:01:27.16,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K31}そ{\K20}ん{\K33}な{\K48}强{\K26}く {\K58}迫{\K23}ら{\K20}な{\K43}い{\K30}で
Dialogue: 0,0:01:27.29,0:01:30.46,中文,NTP,0000,0000,0000,,{\fad(100,250)}虽然是女同伴 但友情这档事
Dialogue: 0,0:01:27.29,0:01:30.46,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K56}女{\K49}同{\K54}士 {\K40}友{\K51}情{\K42}っ{\K25}て
Dialogue: 0,0:01:30.61,0:01:35.82,中文,NTP,0000,0000,0000,,{\fad(100,250)}遇到这样的情况也会变得虚幻不实而易碎吧
Dialogue: 0,0:01:30.61,0:01:35.82,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K28}こ{\K15}ん{\K42}な{\K33}こ{\K31}と{\K60}で {\K43}は{\K34}か{\K32}な{\K18}く{\K103}砕{\K24}け{\K21}る{\K37}の
Dialogue: 0,0:01:35.95,0:01:40.88,中文,NTP,0000,0000,0000,,{\fad(100,250)}爱情魔咒
Dialogue: 0,0:01:35.95,0:01:40.88,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K99}恋{\K39}の{\K80}呪{\K275}缚
Dialogue: 0,0:01:44.00,0:01:48.35,中文,NTP,0000,0000,0000,,{\fad(100,250)}不要向我告白啦!
Dialogue: 0,0:01:44.00,0:01:48.35,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K48}告{\K42}白{\K42}な{\K22}ん{\K15}て {\K39}し{\K42}な{\K50}い{\K39}で{\K96}よ
Dialogue: 0,0:01:50.43,0:01:56.48,中文,NTP,0000,0000,0000,,{\fad(100,250)}明明不懂女孩的心
Dialogue: 0,0:01:50.43,0:01:56.48,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K126}女{\K53}心{\K22}も {\K44}知{\K32}ら{\K52}な{\K41}い{\K145}の{\K90}に
Dialogue: 0,0:01:57.38,0:02:01.72,中文,NTP,0000,0000,0000,,{\fad(100,250)}现在一切我都能忘记
Dialogue: 0,0:01:57.38,0:02:01.72,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K51}今{\K24}な{\K41}ら {\K43}全{\K21}部{\K78}忘{\K45}れ{\K43}る{\K88}わ
Dialogue: 0,0:02:04.10,0:02:08.39,中文,NTP,0000,0000,0000,,{\fad(100,250)}什么都别再说了 回去吧
Dialogue: 0,0:02:04.10,0:02:08.39,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K36}な{\K16}ん{\K19}に{\K45}も{\K19}言{\K19}わ{\K23}ず {\K84}帰{\K44}っ{\K40}て{\K84}よ
Dialogue: 0,0:02:10.87,0:02:13.79,中文,NTP,0000,0000,0000,,{\fad(100,250)}已经确定要放弃了
Dialogue: 0,0:02:10.87,0:02:13.79,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K23}あ{\K23}き{\K20}ら{\K41}め{\K22}か{\K42}け{\K31}て{\K32}た{\K58}の
Dialogue: 0,0:02:14.05,0:02:17.29,中文,NTP,0000,0000,0000,,{\fad(100,250)}出卖友情是不可以的
Dialogue: 0,0:02:14.05,0:02:17.29,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K58}友{\K69}情{\K22}取{\K43}る {\K31}た{\K29}め{\K72}よ
Dialogue: 0,0:02:17.51,0:02:20.90,中文,NTP,0000,0000,0000,,{\fad(100,250)}以前就喜欢着你
Dialogue: 0,0:02:17.51,0:02:20.90,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K34}ず{\K18}っ{\K18}と {\K46}ず{\K21}っ{\K39}と {\K21}好{\K22}き{\K22}だ{\K65}っ{\K33}た
Dialogue: 0,0:02:20.90,0:02:26.70,中文,NTP,0000,0000,0000,,{\fad(100,250)}更为你流了不知多少次泪的我
Dialogue: 0,0:02:20.90,0:02:26.70,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K37}な{\K15}ん{\K21}ど{\K17}だ{\K21}っ{\K63}て {\K95}涙{\K32}し{\K21}た {\K258}私
Dialogue: 0,0:02:30.91,0:02:34.31,中文,NTP,0000,0000,0000,,{\fad(100,250)}夕阳余晖照入教室
Dialogue: 0,0:02:30.91,0:02:34.31,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K51}教{\K40}室{\K49}に{\K39}は {\K42}夕{\K25}阳{\K11}が{\K41}射{\K42}す
Dialogue: 0,0:02:34.41,0:02:37.69,中文,NTP,0000,0000,0000,,{\fad(100,250)}只有我和你
Dialogue: 0,0:02:34.41,0:02:37.69,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K42}君{\K31}と{\K94}私 {\K44}二{\K17}人{\K21}だ{\K43}け{\K36}で
Dialogue: 0,0:02:37.78,0:02:40.93,中文,NTP,0000,0000,0000,,{\fad(100,250)}为什么要和我的朋友说呢
Dialogue: 0,0:02:37.78,0:02:40.93,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K19}女{\K21}友{\K40}达{\K24}に{\K60}は {\K21}な{\K22}ん{\K17}て{\K27}言{\K40}う{\K24}の
Dialogue: 0,0:02:41.08,0:02:46.45,中文,NTP,0000,0000,0000,,{\fad(100,250)}果然在这里还是没法答应你啊
Dialogue: 0,0:02:41.08,0:02:46.45,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K18}や{\K29}っ{\K31}ぱ{\K38}こ{\K35}こ{\K62}で {\K42}う{\K30}な{\K32}ず{\K22}け{\K40}な{\K63}い {\K20}あ{\K22}ゝ{\K53}ゝ
Dialogue: 0,0:02:46.49,0:02:51.26,中文,NTP,0000,0000,0000,,{\fad(100,250)}爱情魔咒
Dialogue: 0,0:02:46.49,0:02:51.26,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K80}恋{\K50}の{\K85}呪{\K262}缚
Dialogue: 0,0:03:07.84,0:03:11.20,中文,NTP,0000,0000,0000,,{\fad(100,250)}教室里什么也没有
Dialogue: 0,0:03:07.84,0:03:11.20,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K56}教{\K44}室{\K28}に{\K40}は {\K56}何{\K21}も{\K19}な{\K44}い{\K28}わ
Dialogue: 0,0:03:11.36,0:03:14.68,中文,NTP,0000,0000,0000,,{\fad(100,250)}不要这样强势的逼迫我
Dialogue: 0,0:03:11.36,0:03:14.68,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K19}そ{\K19}ん{\K39}な{\K48}强{\K35}く {\K48}迫{\K21}ら{\K22}な{\K42}い{\K39}で
Dialogue: 0,0:03:14.73,0:03:18.01,中文,NTP,0000,0000,0000,,{\fad(100,250)}虽然是女同伴 但友情这档事
Dialogue: 0,0:03:14.73,0:03:18.01,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K56}女{\K56}同{\K49}士 {\K40}友{\K39}情{\K46}っ{\K43}て
Dialogue: 0,0:03:18.02,0:03:23.30,中文,NTP,0000,0000,0000,,{\fad(100,250)}遇到这样的情况也会变得虚幻不实而易碎吧
Dialogue: 0,0:03:18.02,0:03:23.30,日文,NTP,0000,0000,0000,,{\fad(100,250)}{\K26}こ{\K19}ん{\K43}な{\K31}こ{\K32}と{\K60}で {\K46}は{\K29}か{\K33}な{\K18}く{\K105}砕{\K24}け{\K21}る{\K41}の
Dialogue: 0,0:03:23.38,0:03:28.30,中文,NTP,0000,0000,0000,,{\fad(100,250)}爱情魔咒

Administrator

Shanzhai Pro.

Rank: 7Rank: 7Rank: 7

沙发
发表于 2011-8-29 22:44:32 |只看该作者
估计你的k轴错了 把k轴贴出来研究一下。。。
您需要登录后才可以回帖 登录 | 新人加入

GitHub|TCAX 主页

GMT+8, 2024-11-22 07:21

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部
RealH