欢迎光临散文网 会员登陆 & 注册

【存档】KE代码转ASS字幕模板的分析过程

2021-02-06 23:55 作者:只有神知道的歌词特效  | 我要投稿

如图1,照着KE界面上的一个模板(4.shape 0281 - Sakura_Circle_I_HL)抄了一遍KE代码:
Line Start Time = l.start_time   syl.start_time   syl.dur * 1m
Line End Time = fx.start_time   syl.dur   480   R( 360 )
Center "x" = syl.center
Center "y" = syl.middle   l.descent / 4
Scale "x" = 0.46 * math.distance( syl.width, syl.height )
Scale "y" = 0.46 * math.distance( syl.width, syl.height )
x( s ) = cos( s ) fx.domain_i:0
y( s ) = sin( s ) fx.domain_f:2 * pi(本质:2*math.pi)
Layer // Align = 0  5
loop = 0.45 * math.distance( syl.width, syl.height )
Pos "x" = fx.pos_x, fx.pos_x   Rrs( 10 )
Pos "y" = fx.pos_y, fx.pos_y - Rr( 10, 72 )
Size = 0
Times Move = syl.dur, fx.dur
Kara Effector 3.5 aratani = shape.sakura
WhatsApp KE:
"\\bs0\\blur1\\1c( color.interpolate( shape.color1, shape.color3, Rc( 0, 0.7 ) ) )\\frxyztRs( 900 )\\t(0,3f,\\fscxyiRr( 8, 12 ))\\fad(80,200)"

如图2,鄙人大致猜测这些部分的内容应该写在ASS字幕模板的这些位置上,目前还在摸索中,先发专栏存档:
【code行】
Scale "x" = 0.46 * math.distance( syl.width, syl.height )
Scale "y" = 0.46 * math.distance( syl.width, syl.height )
x( s ) = cos( s ) fx.domain_i:0
y( s ) = sin( s ) fx.domain_f:2 * pi(本质:2*math.pi)
Times Move = syl.dur, fx.dur
Kara Effector 3.5 aratani = shape.sakura

【template行】
Line Start Time = l.start_time   syl.start_time   syl.dur * 1m
Line End Time = fx.start_time   syl.dur   480   R( 360 )
Center "x" = syl.center
Center "y" = syl.middle   l.descent / 4
Layer // Align = 0  5
loop = 0.45 * math.distance( syl.width, syl.height )
Pos "x" = fx.pos_x, fx.pos_x   Rrs( 10 )
Pos "y" = fx.pos_y, fx.pos_y - Rr( 10, 72 )
Size = 0
WhatsApp KE:
"\\bs0\\blur1\\1c( color.interpolate( shape.color1, shape.color3, Rc( 0, 0.7 ) ) )\\frxyztRs( 900 )\\t(0,3f,\\fscxyiRr( 8, 12 ))\\fad(80,200)"

模板写好了会另发一篇专栏简要讲一下这个KE代码到ASS字幕模板的代码对应关系,方便大家自行把KE的其他代码转写为ASS字幕模板,做好的ASS字幕模板我到时也会发到github备份。

【存档】KE代码转ASS字幕模板的分析过程的评论 (共 条)

分享到微博请遵守国家法律