版面规则
提问时请注意:尽量详细描述操作过程、AVS脚本内容等,最好能写出片名,只贴图有时无法看出问题原因。
提示:发布原创内容请尽量使用附件上传。使用网盘会出现过期失效的问题,请注意。
wolfkied
帖子: 4
注册时间: 2012-04-11 0:03

[求助] LimitedSharpenFaster.avs 這個腳本到底要如何掛載使用

LimitedSharpenFaster.avs 這個腳本說是可以有效讓畫面銳化,修補鋸齒
腳本所需的.DLL檔應該也都掛上了,卻始終無法使用,MEGUI會報錯,
說是LimitedSharpenFaster.avs的第102行出錯 (顯示 line 102, column 0)

請問我到底是哪裡弄錯了?

LimitedSharpenFaster.avs 第98行-102行代碼

代码: 全选

AMNT  = string(soft)
AMNT2 = string(100-soft)
sharpdiff=mt_makediff(tmp,last)
sharpdiff2=mt_lutxy(sharpdiff,sharpdiff.removegrain(19,-1),
 \           "x 128 - abs y 128 - abs > y "+AMNT+" * x "+AMNT2+" * + 100 / x ?")
以下是MEGUI所用腳本

代码: 全选

LoadPlugin("C:\Users\user\Desktop\桌面暫存\MeGUI_2008_x86\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("D:\轉檔暫存\01\01.d2v")
LoadPlugin("C:\Users\user\Desktop\桌面暫存\MeGUI_2008_x86\tools\avisynth_plugin\TIVTC.dll")
tfm(order=-1).tdecimate(mode=1)

Lanczos4Resize(848,480) # Lanczos4 (Sharp)

LoadPlugin("C:\Users\user\Desktop\桌面暫存\MeGUI_2008_x86\tools\avisynth_plugin\mt_masktools-26.dll")
LoadPlugin("C:\Users\user\Desktop\桌面暫存\MeGUI_2008_x86\tools\avisynth_plugin\RemoveGrain.dll")
LoadPlugin("C:\Users\user\Desktop\桌面暫存\MeGUI_2008_x86\tools\avisynth_plugin\Repair.dll")
LoadPlugin("C:\Users\user\Desktop\桌面暫存\MeGUI_2008_x86\tools\avisynth_plugin\SSETools.dll")
LoadPlugin("C:\Users\user\Desktop\桌面暫存\MeGUI_2008_x86\tools\avisynth_plugin\warpsharp.dll")

Import("C:\Users\user\Desktop\桌面暫存\MeGUI_2008_x86\tools\avisynth_plugin\LimitedSharpenFaster.avs")

LimitedSharpenFaster()
头像
xiao7
帖子: 138
注册时间: 2010-09-25 16:16

Re: [求助] LimitedSharpenFaster.avs 這個腳本到底要如何掛載使用

\桌面暫存\
??

用E文路径试试?
顺便截图看看错误信息
头像
ssnake
帖子: 9
注册时间: 2010-09-19 23:57
联系: 网站

Re: [求助] LimitedSharpenFaster.avs 這個腳本到底要如何掛載使用

RemoveGrain >= v0.9 IS REQUIRED!!
wolfkied
帖子: 4
注册时间: 2012-04-11 0:03

Re: [求助] LimitedSharpenFaster.avs 這個腳本到底要如何掛載使用

錯誤訊息
图片
檔案路徑有改過全用E文,但結果相同
依錯誤訊息確實可能是RemoveGrain.dll有錯
但我也確實是使用0.9版 也將解壓後的13個檔案全放入
C:\Users\user\Desktop\桌面暫存\MeGUI_2008_x86\tools\avisynth_plugin
RemoveGrain 我是在此取得:http://avisynth.org/mediawiki/Removegrain (選了0.9官方版)

目前使用WIN7 X64作業系統

RemoveGrain 的說明文件(節錄)
The binary package contains four versions of RemoveGrain, two small dynamically linked versions RemoveGrain.dll, RemoveGrainSSE2.dll, RemoveGrainSSE3.dll and the big staticly linked RemoveGrainS.dll. The first one only requires integer SSE (Athlon and Pentium 3 design), the second requires a SSE2 capable cpu (Pentium 4 or Athlon 64) and the third is for Prescott P4s only. If none of these dlls work because of a missing dll, one has either to copy the missing dll to the window's system directory or one has to use RemoveGrainS.dll, which only requires SSE. Please put only one of the three plugins into the Avisynth plugin directory.
以上前段是說有4個版本,最後的幾句(紅字部分)實在不太能夠理解它的意思
說明文件有夠長..無法消化啊...

LimitedSharpenFaster() 在括號內有啥參數可以加入呢? 還請前輩們指導
头像
ssnake
帖子: 9
注册时间: 2010-09-19 23:57
联系: 网站

Re: [求助] LimitedSharpenFaster.avs 這個腳本到底要如何掛載使用

RemoveGrain 0.9 Official只有mode 1-18,用"v1.0 pre-release"。
wolfkied
帖子: 4
注册时间: 2012-04-11 0:03

Re: [求助] LimitedSharpenFaster.avs 這個腳本到底要如何掛載使用

太感謝了 換成RemoveGrain v1.0 pre-release終於可以正確載入使用了
使用後畫面的線條明顯有增加清晰度

回到 “AviSynth”