TA的每日心情 | 慵懒 2024-7-10 22:43 |
---|
签到天数: 7 天 [LV.3]偶尔看看II
注册会员

- 积分
- 704
|
作为一个只看得懂特效标签,基本不懂lua的菜鸡
无意间发现deepseek能读懂aegisub特效模板,并成功对一个复杂的现有模板进行了参数调整以实现提出的修改意见
随后尝试上传现有特效字幕片段(上传大小受限)让deepseek逆向生成aegisub模板,但deepseek有点无法区分特效模板和
aegisub那个.lua插件的区别,输出内容无法直接运行,但是看起来不像是瞎写的
懂lua的大佬可以试试看用大模型辅助开发特效字幕
(deepseek通过现有字幕逆向输出的模板)
- Comment: 0,0:00:00.00,0:00:00.00,EDJP,,0,0,0,code once,frame_time = 100 -- 每帧时长(ms)
- Comment: 0,0:00:00.00,0:00:00.00,EDJP,,0,0,0,code once,circle_shape = "m 45 0 b 45 -24 24 -45 0 -45 b -24 -45 -45 -24 -45 0 b -45 24 -24 45 0 45 b 24 45 45 24 45 0"
- Comment: 0,0:00:00.00,0:00:00.00,EDJP,,0,0,0,code once,function random_pos(base_x, base_y) return base_x + math.random(-30,30), base_y + math.random(-30,30) end
- Comment: 0,0:00:00.00,0:00:00.00,EDJP,main-text,0,0,0,template line noblank,!retime("line",0,2400)!{\blur2\fad(240,240)\an5\pos(360,688)}!syl.rawtext!
- Comment: 0,0:00:00.00,0:00:00.00,EDJP,particle-effect,0,0,0,template syl all noblank notext,!maxloop(10)!!retime("preline",math.random(0,400),1200)!{
- \fad(200,200)\an5\move(!remember("x1",360 + math.random(-30,30))!,
- !remember("y1",688 + math.random(-30,30))!,
- !recall.x1 + math.random(-50,50)!,
- !recall.y1 + math.random(-50,50)!)
- \p!math.random(5,10)!\c&HFEF9EE&\bord2\blur2
- }!circle_shape!
- Comment: 0,0:00:00.00,0:00:00.00,EDJP,additional-effect,0,0,0,template syl all noblank notext,!maxloop(5)!!retime("preline",math.random(200,600),math.random(800,1200))!{
- \fad(150,150)\an5\move(!random_pos(360,688)!,
- !random_pos(360,688)!)
- \fscx!math.random(50,150)!\fscy!recall.fscx!
- \alpha!_G.ass_alpha(math.random(50,150))!
- \t(\fscx!math.random(50,150)!\fscy!recall.fscx!)
- \p4\bord1\blur2
- }!circle_shape!
复制代码 |
|