分页: 1 / 1

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

发表于 : 2012-04-11 0:29
wolfkied
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()

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

发表于 : 2012-04-11 7:57
xiao7
\桌面暫存\
??

用E文路径试试?
顺便截图看看错误信息

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

发表于 : 2012-04-11 12:57
ssnake
RemoveGrain >= v0.9 IS REQUIRED!!

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

发表于 : 2012-04-11 22:22
wolfkied
錯誤訊息
图片
檔案路徑有改過全用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() 在括號內有啥參數可以加入呢? 還請前輩們指導

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

发表于 : 2012-04-12 3:13
ssnake
RemoveGrain 0.9 Official只有mode 1-18,用"v1.0 pre-release"。

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

发表于 : 2012-04-12 22:06
wolfkied
太感謝了 換成RemoveGrain v1.0 pre-release終於可以正確載入使用了
使用後畫面的線條明顯有增加清晰度