版面规则
提问时请注意:尽量详细描述操作过程、AVS脚本内容等,最好能写出片名,只贴图有时无法看出问题原因。
提示:发布原创内容请尽量使用附件上传。使用网盘会出现过期失效的问题,请注意。
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

AvsPmod_v2.2.1.1-laa(binary).rar
(12.94 KiB) 下载 114 次
Try to replace AvsPmod.exe using the binary attached above, and add SetMemoryMax(1536) to see if it helps.

The official build of AvsPmod.exe does not compiled with LARGEADDRESSAWARE flag, and thus can only use 2GB memory, so setting memory max too high will cause crash, while setting it too low will make the 16-bit processing failure for lack of memory. I switched on the LARGEADDRESSAWARE flag and made AvsPmod.exe able to use 4GB memory on x64 Win OS or 3GB on x86 Win OS ( x86 systems may need special configurations, which should be easily found on Google ).

PS: But it is really weird if it crashes on 1280x720 while works fine on 1440x810. I'll look into it to see if there's any other bugs.
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
Hoodlum
帖子: 8
注册时间: 2012-02-28 16:27

Re: GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

Nope, it didn't help.
And sorry, I forgot to mention that this avs:

代码: 全选

FFVideoSource("E:\DenpaTeki\OVA1.mkv")
SplineResize(1280,720).AddBorders(0,0,1920-1280,0).GrainFL().Crop(0,0,1280-1920,0)
works fine.
I also tried placing FrameCache between resize and GrainFL() (as well as before resize) to see if it helps, but it doesn't.
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

Well, crashes on other tools, seems to have nothing to do with AvsP. I'll look into GrainFL. It is most possibly that I made some stupid mistakes in the script....
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

I found the reason. It is a bug in "Dither_resize16". It always crashes when resizing a 1068x600 clip to 1280x720 using Bicubic kernel. Unfortunately, if GrainFL's "g*size" is set to 1.2 and the source clip is 1280x720, this buggy scaling operation will be applied to the GrainLayer clip.

I have reported this bug to cretindesalpes. Just wait for his update of dither pack. For now, using values other than 1.2 for "g*size" when source clip is 1280x720 can solve this problem, say, g2size=1.21. Or you can use v1.12.0 or older versions of dither.dll, which do not have this issue.
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
Hoodlum
帖子: 8
注册时间: 2012-02-28 16:27

Re: GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

Got it. Thank you.

回到 “AviSynth”