Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
19th August 2004, 16:58 | #1 | Link |
Registered User
Join Date: Jul 2004
Posts: 30
|
Avisynth Script Help!
Hello
I'm encoding a dvd source but it has a lot of noise in it and it slightly flicker...thats why I'm using the denoising filters. If I have the order of any of the pluins let me know or anything else to tweak it...thanks ------------------ # Created with Gordian Knot # # http://gknot.doom9.org # PLUGINS LoadPlugin("F:\PROGRA~1\GordianKnot\AviSynthPlugins\dgdecode.dll") #LoadPlugin("F:\PROGRA~1\GordianKnot\AviSynthPlugins\decomb.dll") #LoadPlugin("F:\PROGRA~1\GordianKnot\AviSynthPlugins\Convolution3d.dll") LoadPlugin("F:\PROGRA~1\GordianKnot\AviSynthPlugins\FluxSmooth.dll") #LoadPlugin("F:\PROGRA~1\GordianKnot\AviSynthPlugins\SimpleResize.dll") LoadPlugin("F:\PROGRA~1\GordianKnot\AviSynthPlugins\MSharpen.dll") # SOURCE mpeg2source("C:\Movie.d2v") # CROPPING crop(0,56,720,364) # RESIZING LanczosResize(720,304) # DENOISING: choose one combination (or none) # medium noise #Temporalsoften(3,5,5,mode=2,scenechange=10) #Convolution3d("moviehq") FluxSmooth(7,7) # SHARPEN MSharpen(15,100,true,false,false) # BORDERS #AddBorders(left,top,right,bottom) # COMPRESSIBILITY CHECK # !!!!Snip Size now has to be 14 for use in GKnot! #SelectRangeEvery(280,14) # FOOL CCEnc empty = BlankClip() AudioDub(last,empty) |
19th August 2004, 18:37 | #4 | Link | |||
Newbie Forum Mod
Join Date: Aug 2002
Location: way too deep in (cyber)space
Posts: 2,436
|
Quote:
Quote:
Quote:
kr steVe
__________________
Search the forum, read the forum rules once more and use the search function on doom9.org before posting! oh btw my amazon.de wishlist |
|||
19th August 2004, 21:02 | #6 | Link | |
Bored...
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
|
Quote:
But I like to set the chroma threshold 25-50 % higher than the luma threshold... Bye |
|
20th August 2004, 20:59 | #10 | Link | |
Bored...
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
|
Quote:
If you need undot to clean the (input) source, use it !!! If you see blocks in you encode while playback, use deblocking... Bye |
|
21st August 2004, 15:13 | #11 | Link |
Registered User
Join Date: Jul 2004
Posts: 30
|
So I don't need to add this for VagueDenoiser (debug, interlaced,wavelet,Wiener,wratio,percent)
Whats the lowest threshold that I should put in? Threshold=0.50 or lower seems to have a less blurry effect and more detail but a tad bit more grain. I noticed this VagueDenoiser also helps with flickering in this film so its all good!Thanks ------ Also due to the blurry effect after using this filter is it a good idea to use a sharpening filter e.g MSharpen before Lanczos resize or after? I noticed that using a MSarpen after Lanczos resize that the image becomes edgy...step effect Last edited by }{KeYmAkEr*}{; 21st August 2004 at 15:52. |
21st August 2004, 16:48 | #12 | Link |
Bored...
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
|
Maybe, Crop -> VagueDenoiser -> Lanczosresize -> LimitedSharpen...
Denoising rules: - Higher threshold = more denoising = more burry but less noise - Lower threshold = less denoising = less burry but more noise Bye |
21st August 2004, 18:16 | #13 | Link |
Registered User
Join Date: Jul 2004
Posts: 30
|
How do I get LimitedSharpen to work on my avisynth script?
I've got MaskTools-v1.5.1 ....loaded the MaskTools.dll iinto avisynth script. Put this after Lanczos Resize: LimitedSharpen(ss_x=2.0,ss_y=2.0,Smode=2,strength=100,Lmode=1,overshoot=1,wide=false,soft=false,radius=1,edgemode=0) But it goes there's no function named LimitedSharpen? Is there a LimitedSharpen.dll somewhere that i forgot to download? Ohh....and the link to the LimitedSharpen Samples seems to be down. |
21st August 2004, 18:46 | #14 | Link |
Bored...
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
|
The link is right, but mf's forum is down atm...
You have to load the LimitedSharpen.avs as well !!! Save LimitedSharpen as avs and place it in ya plugins folder, then... Code:
LoadPlugin("C:\Blah\AviSynth 2.5\plugins\MaskTools.dll") LoadPlugin("C:\Blah\AviSynth 2.5\plugins\WarpSharp.dll") Import("C:\Blah\AviSynth 2.5\plugins\LimitedSharpen.avs") Mpeg2Source("C:\Movie.d2v") Crop(0,56,720,364) VagueDenoiser(Threshold = 0.75, Method = 1, NSteps = 6, ChromaT = 1.00) LanczosResize(720,304) LimitedSharpen(ss_x=2.0,ss_y=2.0,Smode=2,strength=100,Lmode=1,overshoot=1,wide=false,soft=false,radius=1,edgemode=0) Last edited by Soulhunter; 21st August 2004 at 18:49. |
22nd August 2004, 13:27 | #15 | Link |
Registered User
Join Date: Jul 2004
Posts: 30
|
Thanks for the help but it looks a little dull and dark...
is there a good way to brighten the hue,saturation,brightness etc? I'll probably use VagueDenoiser(Threshold = 0.25) Don't like it too blurred After Lanczos resize MSharpen (threshold = 25) as well. |
22nd August 2004, 15:11 | #16 | Link |
Newbie Forum Mod
Join Date: Aug 2002
Location: way too deep in (cyber)space
Posts: 2,436
|
brightness, contrast, etc:
http://www.avisynth.org/Levels edit, or even better: http://www.avisynth.org/Tweak cheers
__________________
Search the forum, read the forum rules once more and use the search function on doom9.org before posting! oh btw my amazon.de wishlist |
|
|