找回密码
 立即注册
查看: 762|回复: 0

deepseek或可用于辅助aegisub特效模板编写

8

主题

4

回帖

0

VC币

注册会员

Rank: 2

积分
709
media1175 发表于 2025-3-20 04:39:24 | 显示全部楼层 |阅读模式
作为一个只看得懂特效标签,基本不懂lua的菜鸡
无意间发现deepseek能读懂aegisub特效模板,并成功对一个复杂的现有模板进行了参数调整以实现提出的修改意见
随后尝试上传现有特效字幕片段(上传大小受限)让deepseek逆向生成aegisub模板,但deepseek有点无法区分特效模板和
aegisub那个.lua插件的区别,输出内容无法直接运行,但是看起来不像是瞎写的
懂lua的大佬可以试试看用大模型辅助开发特效字幕
(deepseek通过现有字幕逆向输出的模板)
  1. Comment: 0,0:00:00.00,0:00:00.00,EDJP,,0,0,0,code once,frame_time = 100 -- 每帧时长(ms)
  2. 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"
  3. 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

  4. 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!

  5. 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)!{
  6.   \fad(200,200)\an5\move(!remember("x1",360 + math.random(-30,30))!,
  7.                         !remember("y1",688 + math.random(-30,30))!,
  8.                         !recall.x1 + math.random(-50,50)!,
  9.                         !recall.y1 + math.random(-50,50)!)
  10.   \p!math.random(5,10)!\c&HFEF9EE&\bord2\blur2
  11. }!circle_shape!

  12. 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))!{
  13.   \fad(150,150)\an5\move(!random_pos(360,688)!,
  14.                         !random_pos(360,688)!)
  15.   \fscx!math.random(50,150)!\fscy!recall.fscx!
  16.   \alpha!_G.ass_alpha(math.random(50,150))!
  17.   \t(\fscx!math.random(50,150)!\fscy!recall.fscx!)
  18.   \p4\bord1\blur2
  19. }!circle_shape!
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表