Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 61 to 79 of 79
Thread
-
-
THANKS poisondeathray! Now LSFmod is loading.
But in older version of MeGUI/AviSynth+ not loading mlrt_ncnn, so I need to use MeGUI-6666.2308_x64 again -
-
Last edited by cinephil; 14th Sep 2024 at 12:21.
-
Sadly with LSFmod I'm not get the look I wanted. So I trying the other way with WarpDeRing. But get this error
[Attachment 82238 - Click to enlarge]
Code:LoadPlugin("M:\edit\MeGUI-6666.2308_x64\tools\avs\plugins64\ffms2.dll") FFVideoSource("E:\VR.5\SAMPLE\video\05-5D[JP]+.avi") #FFVideoSource("E:\VR.5\SAMPLE\video\video-film.avi") #FFVideoSource("E:\VR.5\SAMPLE\video\03-Sisters[JP].avi") #crop(6, 0, -8, 0) ColorYUV(gamma_y=-35, cont_y=48, gain_y=-10, off_y=0) #adjust gamma and contrast Tweak(bright=16, coring=false) #adjust brightness Tweak(Sat=1.2, startHue=80, endHue=135) # "red" pixels (boost up) Tweak(Sat=1.2, startHue=325, endHue=15) # "blue" pixels (boost up) LoadPlugin("M:\edit\MeGUI-6666.2308_x64\tools\avs\plugins64\fft3dfilter.dll") FFT3DFilter(bt=-1, sharpen=0.7, interlaced=true) #FFT3DFilter(bt=1, sigma=0.3, plane=0, bw=16, bh=16, ow=8, oh=8, ncpu=4, sharpen=0.6, interlaced=true) #FFT3DFilter(bt=1, sigma=0.7, plane=3, bw=16, bh=16, ow=8, oh=8, ncpu=4, sharpen=0.9, interlaced=true) LoadPlugin("M:\edit\MeGUI-6666.2308_x64\tools\avs\plugins64\nnedi3.dll") LoadPlugin("M:\edit\MeGUI-6666.2308_x64\tools\avs\plugins64\FillBorders.dll") Import("M:\edit\MeGUI-6666.2308_x64\tools\avs\plugins64\Zs_RF_Shared.avsi") Import("M:\edit\MeGUI-6666.2308_x64\tools\avs\plugins64\WarpDeRing.avsi") SeparateFields() warpdering() Weave() ConvertBits(32) ConvertToPlanarRGB(matrix="Rec709", interlaced=true) #SeparateFields() #LoadPlugin("M:\edit\MeGUI-6666.2308_x64\tools\avs\plugins64\mlrt_ncnn.dll") #mlrt_ncnn(network_path="1x_BleedOut_Compact_300k_net_g.onnx") #Weave() ConvertBits(8) ConverttoYv12(matrix="Rec709", interlaced=true)
Code:# WarpDeRing v1.0 by mirkosp # HBD mod 1.1 # # Uses aWarpSharp2's flattening to clean out ringing/smaller halos, # then runs some masks to preserve the edges and avoid the thinning. # This is nothing really new but it kind of just works, so eh. # Calling the filter more times in a row is probably more effective than toying with the parameters. # Only really tested out with a DVD, probably only works as intended on SD sources. # For HD, it might need some more mt_expand() in the owarp clip (I don't think, though). # Oh, and it's for newer and minor stuff, like downscaled HD sources released only on DVD and so on. # Don't expect this to work on Trigun. Or, well, I guess it could work, but... you know the deal. # # strength is the warpsharpening depth, so higher values nail more things # tmax and tmin work out the hysteresis mask for the final masking pass # # Requirements: # # awarpsharp2 http://forum.doom9.org/showthread.php?t=147285 # mt_masktools https://github.com/tp7/masktools # nnedi3 http://web.missouri.edu/~kes25c/ # fillmargins http://www.avisynth.nl/users/warpenterprises/ # function warpdering(clip c, int "strength", int "tmax", int "tmin") { sisavs26 = !(VersionNumber() < 2.60) strength = default(strength,6) tmax = default(tmax,10) tmin = default(tmin,7) c addborders(4,4,4,4) fillmargins(4,4,4,4) warp = awarp4(nnedi3_rpow2(rfactor=2).nnedi3_rpow2(rfactor=2),asobel(thresh=255).ablur(),depth=strength) owarp = mt_merge(last,warp,sisavs26 ? vsTEdgeMask(threshY=0,threshU=0,threshV=0).mt_expand().mt_expand().mt_expand().mt_expand().mt_expand().blur(1) : tedgemask(valon=-1).mt_expand().mt_expand().mt_expand().mt_expand().mt_expand().blur(1),true,u=3,v=3) mt_merge(owarp,last,mt_hysteresis(sisavs26 ? vstedgemask(threshy=tmax) : tedgemask(threshy=tmax),sisavs26 ? vstedgemask(threshy=tmin) : tedgemask(threshy=tmin)).blur(1),true,u=3,v=3) crop(4,4,-4,-4) } function warpdering_faster(clip c, int "strength", int "tmax", int "tmin") { sisphbd = AvsPlusVersionNumber > 2294 sischbd = sisphbd ? c.BitsPerComponent() > 8 : false strength = default(strength,6) tmax = default(tmax,10) tmin = default(tmin,7) c addborders(4,4,4,4) fillmargins(4,4,4,4) warp = awarp4(nnedi3_rpow2(rfactor=2).Spline36Resize(width*4, height*4, 0.25, 0.25),asobel(thresh=255).ablur(),depth=strength, chroma=1) owarp = mt_merge(last,warp,sischbd ? vsTEdgeMask(threshY=0,threshU=0,threshV=0, u=1, v=1).mt_expand().mt_expand().mt_expand().mt_expand().mt_expand().blur(1) : TEMmod(threshY=0,chroma=0).mt_expand().mt_expand().mt_expand().mt_expand().mt_expand().blur(1),true,u=1,v=1) mt_merge(owarp,last,mt_hysteresis(sischbd ? vstedgemask(threshy=tmax, u=1, v=1) : sischbd ? vstedgemask(threshy=tmax, u=1, v=1) : TEMmod(threshy=tmax,chroma=0),TEMmod(threshy=tmin,chroma=0)).blur(1),true,u=1,v=1) crop(4,4,-4,-4) Mergechroma(c) }
-
Do you have new version of FillBorders.dll or old version of FillMargins ?
https://github.com/Asd-g/AviSynth-FillBorders/releases -
Not sure, it works for me
How about simple colorbars with warpdering ? Do you get same error ?
Code:colorbars(pixel_type="YV12") warpdering()
-
Try explicitly filling in the values, such as fillmargins(clip=c, left=4, top=4, right=4, bottom=4)
-
If I use it like this in the script:
Code:warpdering(fillmargins(clip=c, left=4, top=4, right=4, bottom=4))
[Attachment 82242 - Click to enlarge]
If like this:
Code:warpdering(fillmargins(left=4, top=4, right=4, bottom=4))
-
I meant edit line 31 in warpdering.avsi to say fillmargins(clip=c, left=4, top=4, right=4, bottom=4) , save it
In the script you still call with warpdering()
What avs version are you using ? If you don't know
Code:version()
Do you have a clean plugins folder ? could there be conflicting functions or plugins with same name that autoloaded ? If so , clean out the plugins folder -
I cleaned the folders (leaving archived plugins inside) and after loading MeGUI - it auto-downloaded plugins and wiped out archives, that was left in folders
So I returned the needed plugins.
The one that able to give error messages:
[Attachment 82243 - Click to enlarge]
New error is:
[Attachment 82244 - Click to enlarge] -
fillmargins has an argument named clip, so I don't know what that error message is about, but try omitting the clip argument, just explicitly enter the left,top,right,bottom , save it
Code:fillmargins(left=4, top=4, right=4, bottom=4)
Code:FillMargins (clip, int "left", int "top", int "right", int "bottom", int "y", int "u", int "v")
Also update your avs+ version, avs+ 3.5 r3106 is a few years old and incompatible with things like avs-mlrt . Hundreds of bug fixes since then -
The error the same
[Attachment 82245 - Click to enlarge]
If I replace it with the new one (avs+ 3.7.3 r4003) - it crashing on the loading script attempt and not give error messages.
Guess I'm not in luck with the fight against halos and ghosts -
No idea, might be a megui issue. I can't reproduce the error with avs+ only
Not sure if it will make a difference, but I'm using r4066 from here
http://forum.doom9.org/showthread.php?t=181351
Similar Threads
-
AVISynth AddBorders chroma issue?
By killerteengohan in forum RestorationReplies: 8Last Post: 6th Apr 2024, 05:25 -
Strategies for movement shift
By Bencuri in forum EditingReplies: 4Last Post: 9th Aug 2023, 10:40 -
Chroma Shift creates artefacts
By phelissimo_ in forum RestorationReplies: 0Last Post: 19th Sep 2021, 06:49 -
How to properly fix this chroma abberation issue?
By elektro in forum Newbie / General discussionsReplies: 4Last Post: 10th Aug 2021, 14:39 -
Shift Filter for VirtualDub?
By anachronon in forum EditingReplies: 2Last Post: 17th Mar 2021, 17:14