aegisub_scripts icon indicating copy to clipboard operation
aegisub_scripts copied to clipboard

压制MOV出现错误

Open pig3g opened this issue 4 years ago • 6 comments

出现

Lua reported a runtime error: File "C:/Program Files\Aegisub\automation\autoload\enc-hsub-VS.lua", line 397 <anonymous function at lines 75-538> attempt to index global 'avsfile' (a nil value)

不知道什么原因 配置应该没有出错 AviSynth_260 64位也安装了,是不是对AviSynth安装位置也有什么要求 Aegisub版本 3.2.2 64位

截图20201223005608

pig3g avatar Dec 22 '20 16:12 pig3g

没走到avisynth那步 自己检查一下同目录有没有生成临时的avs文件 报一下自己windows版本

qwe7989199 avatar Dec 23 '20 07:12 qwe7989199

没走到avisynth那步 自己检查一下同目录有没有生成临时的avs文件 报一下自己windows版本

没有AVS 倒是生成了一个VPY文件,系统版本是Windows10 20H2 19042.685

pig3g avatar Dec 23 '20 12:12 pig3g

出现

Lua reported a runtime error: File "C:/Program Files\Aegisub\automation\autoload\enc-hsub-VS.lua", line 397 <anonymous function at lines 75-538> attempt to index global 'avsfile' (a nil value)

不知道什么原因 配置应该没有出错 AviSynth_260 64位也安装了,是不是对AviSynth安装位置也有什么要求 Aegisub版本 3.2.2 64位

截图20201223005608

我也遇到了

LeoWang2007 avatar Mar 06 '22 12:03 LeoWang2007

出现 Lua reported a runtime error: File "C:/Program Files\Aegisub\automation\autoload\enc-hsub-VS.lua", line 397 <anonymous function at lines 75-538> attempt to index global 'avsfile' (a nil value) 不知道什么原因 配置应该没有出错 AviSynth_260 64位也安装了,是不是对AviSynth安装位置也有什么要求 Aegisub版本 3.2.2 64位 截图20201223005608

我也遇到了

无法复现这个问题,取消勾选”Delete avs“ 再到工作目录看看有没有avs生成

qwe7989199 avatar Mar 07 '22 03:03 qwe7989199

出现 Lua reported a runtime error: File "C:/Program Files\Aegisub\automation\autoload\enc-hsub-VS.lua", line 397 <anonymous function at lines 75-538> attempt to index global 'avsfile' (a nil value) 不知道什么原因 配置应该没有出错 AviSynth_260 64位也安装了,是不是对AviSynth安装位置也有什么要求 Aegisub版本 3.2.2 64位 截图20201223005608

我也遇到了

无法复现这个问题,取消勾选”Delete avs“ 再到工作目录看看有没有avs生成

工作目录没有生成avs 生成了一个hardsub.vpy hardsub.vpy

import vapoursynth as vs
core=vs.get_core()
import math
a=core.std.BlankClip(format=vs.RGB24,width=8,height=8,fpsnum=30000000,fpsden=10**6,length=1,color=[255,255,255])
b=core.std.BlankClip(format=vs.RGB24,width=8,height=8,fpsnum=30000000,fpsden=10**6,length=1,color=[231,231,231])
clip=core.std.StackVertical([core.std.StackHorizontal([a,b]),core.std.StackHorizontal([b,a])])
for i in range(math.ceil(math.log(1920/16,2))):
 clip=core.std.StackHorizontal([clip,clip])
for j in range(math.ceil(math.log(1080/16,2))):
 clip=core.std.StackVertical([clip,clip]) 
clip=core.std.CropAbs(clip,1920,1080,0, 0)
clip=core.std.Loop(clip,40000)
#clip=core.lsmas.LWLibavSource(r"?video\?dummy:30.000000:40000:1920:1080:255:255:255:c")
clip=core.vsfm.TextSubMod(clip,r"D:\Desktop\音乐创作\干杯-视频字幕制作\五月天 - 干杯-单句.ass")
clip=core.resize.Lanczos(clip,format=vs.YUV420P8, matrix_s="709")
clip=core.std.Trim(clip,0, 299)
clip.set_output()

LeoWang2007 avatar Mar 13 '22 03:03 LeoWang2007

我在使用的时候出现了同样的问题 没有avs文件出现 win10 21H2

最近换了新电脑,在旧电脑上相同配置能够输出透明背景的mov视频,但是同样的系统和配置过程在新电脑上出了问题,很疑惑

环境变量/系统变量/Path image

vapoursynth是https://github.com/vapoursynth/vapoursynth/releases VapourSynth64-R57.exe

avisynth+是https://github.com/AviSynth/AviSynthPlus/releases

配置如下时 image 出现 image

配置如下时 image 出现 image

配置如下时 image 出现 image

encode name项不选'mov(+alpha)' which to use项不选ffmpeg时 能够输出合成视频

KanlentB avatar Sep 10 '22 13:09 KanlentB