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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th August 2008, 15:10   #41  |  Link
ankurs
N00B !
 
Join Date: Jun 2006
Posts: 223
from another thread of mine : http://forum.doom9.org/showpost.php?...51&postcount=4

any idea why ?
ankurs is offline   Reply With Quote
Old 4th August 2008, 22:23   #42  |  Link
g-force
Guest
 
Posts: n/a
LaTo,

You're re-introducing a lot of unnecessary noise with your MCsharpen routine. You really should do a minblur before the difference blur. Like this:

Code:
pshrp = last
pmax  = source.MT_Logic(bw1,"max").MT_Logic(fw1,"max")
pmin  = source.MT_Logic(bw1,"min").MT_Logic(fw1,"min")

rg11d = MT_MakeDiff(pshrp,pshrp.RemoveGrain(12,-1))
MT_MakeDiff(pshrp,pshrp.RemoveGrain(4,-1))
MT_LUTxy(rg11d,last,"x 128 - y 128 - * 0 < 128 x 128 - abs y 128 - abs < x y ? ?")
MT_MakeDiff(pshrp,last)
MT_MakeDiff(last,last.RemoveGrain(12,-1))
MT_LUTxy(pshrp,last,"y 128 - 1.5 * x +",chroma="copy first")

#mt_lutxy(last,last.removegrain(11,-1), "x y == x x x y - abs 16 / 1 2 / ^ 16 * "+string(strength)+" * x y - 2 ^ x y - 2 ^ "+string(strength)+" 100 * 25 / + / * x y - x y - abs / * + ?", U=2, V=2)

MT_Clamp(last,pmax,pmin,0,0,chroma="copy first")
The commented out line is what you have currently.

-G
  Reply With Quote
Old 10th August 2008, 09:06   #43  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by buzzqw
Hi LaTo

i would like to add your Udegrain script to automkv, so first of all i will ask permission to include
No problem

Quote:
Originally Posted by buzzqw
second question: could you suggest 4 default parameters usage (light grain/medium/heavy/sharp/... whatelse this script is capable...) ?
light = Udegrain(settings="light")
heavy = Udegrain(settings="heavy")


After you only need to tweak the radius...
LaTo is offline   Reply With Quote
Old 10th August 2008, 09:07   #44  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by g-force
You're re-introducing a lot of unnecessary noise with your MCsharpen routine. You really should do a minblur before the difference blur. Like this:
The old mode is always here, the 2 method are different... So don't expect the same result between these.
LaTo is offline   Reply With Quote
Old 25th August 2008, 16:46   #45  |  Link
bairradino
Registered User
 
Join Date: Jan 2003
Location: po
Posts: 90
Is this function suited to interlaced DV video?
bairradino is offline   Reply With Quote
Old 25th August 2008, 16:56   #46  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by bairradino View Post
Is this function suited to interlaced DV video?
yes, just set interlaced=true
LaTo is offline   Reply With Quote
Old 25th August 2008, 19:45   #47  |  Link
Soulhunter
Confused
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Euroland
Posts: 2,820
Nice function! :]
Soulhunter is offline   Reply With Quote
Old 25th August 2008, 20:03   #48  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 6,017
Any chance of modifying this to work with the new fork of MVTools?

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 25th August 2008, 20:56   #49  |  Link
bairradino
Registered User
 
Join Date: Jan 2003
Location: po
Posts: 90
I'm trying this function with the following code
Code:
loadplugin("c:\program files\avisynth 2.5\plugins\mvtools.dll")

AviSource("c:\temp\x.avi")

ConvertToYV12()
UDegrain(settings="light",interlaced=true)
and it gives me the following error:
"MergeChroma:Images must have same with and height".

If I don't use the switch "interlaced=true" there's no error.
bairradino is offline   Reply With Quote
Old 26th August 2008, 05:55   #50  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by bairradino View Post
I'm trying this function with the following code
Code:
loadplugin("c:\program files\avisynth 2.5\plugins\mvtools.dll")

AviSource("c:\temp\x.avi")

ConvertToYV12()
UDegrain(settings="light",interlaced=true)
and it gives me the following error:
"MergeChroma:Images must have same with and height".

If I don't use the switch "interlaced=true" there's no error.
The fix is in v8.08c, redownload this version

Last edited by LaTo; 26th August 2008 at 07:19.
LaTo is offline   Reply With Quote
Old 26th August 2008, 05:58   #51  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by Blue_MiSfit View Post
Any chance of modifying this to work with the new fork of MVTools?

~MiSfit
Yes, why not, but only when it will be stable because at this time many changes occurs each week...
LaTo is offline   Reply With Quote
Old 27th August 2008, 09:38   #52  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Update 2008.08.27 : Udegrain v9.01a

v9.01a:
changed some default settings
added modX(=blocksize) checking
added adapt & SS for sharpening
added dering option (dering, DRGrad, DRGthr, RGmode)
added flat areas processing (flat, AGstr, GFthr, bias)
updated documentation in .avsi



All (new) options are documented in the .avsi
LaTo is offline   Reply With Quote
Old 27th August 2008, 16:54   #53  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,754
Sweet! I'll get to looking at this thing right away!
Adub is offline   Reply With Quote
Old 6th September 2008, 10:48   #54  |  Link
blackpanther
Guest
 
Posts: n/a
Looks great, thanks for the effort. Have to test it some time, when get time.
  Reply With Quote
Old 6th September 2008, 20:51   #55  |  Link
Alain2
Registered User
 
Join Date: May 2005
Posts: 236
Really like this script (v8.08b), very effective and kills less details than a mvdegrain alone
Will try the new version as well
Alain2 is offline   Reply With Quote
Old 7th September 2008, 10:23   #56  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
v0.9.05a:
changed version number: vX.XX branch -> v0.X.XX branch
added AA options (AA,useEEDI2,maxd,AAthr,method)
changed dering --> edgeclean: you can now use your own script (see docs)
fix bug with show=true
fix bug with chroma in PP stage
fix omission with chroma=false in MVanalyse
changed some settings
added changelog in .avsi



Last edited by LaTo; 7th September 2008 at 10:25.
LaTo is offline   Reply With Quote
Old 7th September 2008, 19:11   #57  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,754
Man, this thing is just getting better and better!! I can't wait to play around with this. And with AA added as well!!

Woohoo, keep up the awesome work LaTo!!
Adub is offline   Reply With Quote
Old 7th September 2008, 20:43   #58  |  Link
mozzle
Registered User
 
mozzle's Avatar
 
Join Date: May 2008
Location: Californiaaaaayyy
Posts: 51
Yea, thanks a lot Lato. I'm starting to get the hang of tweaking this and getting some nice results. I've noticed very good detail retention.

__________________
mozzle
mozzle is offline   Reply With Quote
Old 16th September 2008, 18:23   #59  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
v1.0beta!!!

v1.0beta:
changed name Udegrain --> MCTemporalDenoise (to be more specific and avoid confusion with chroma)
added the choice to use MVDegrain instead of MVCompensate+TTempSmooth (since the chroma bug in MVDegrain is fixed)
added twopass option to do the denoising job in two stage (very effective but slow)
added MT parameter for MVTools (be careful +- unstable)
added fixFFT3D parameter to prevent banding/posterize with limit=-1
added stabilize options (stabilize,maxr,TTstr)
added deblock options (deblock,useQED,quant1,quant2)
added new presets "light"(=low)/"heavy"(=medium) --> 5 presets (very high is 'a bit' extrem)
added check/warning for some settings
added thSAD2 & limit2 parameters for twopass=true
added overrange parameter for controling sharpness (useful for sharpening more than the source)
changed +- much code to implement twopass/MVdegrain/MT, should be bug free (I hope)
changed sharp->MVsharp & post->sharp
changed "light Smode4" --> LimitedSharpenFaster for sharp=2 (strength,Smode,soft,overshoot)
reduce max radius to 6
optimize chroma in PP stage (+20% with all PP on)
fix a bug with external p clip
fix a bug in Star&Bright Point Protection with maxdiff>0
added YV12&MOD16 restriction
changed some settings due to new presets
restriction when using MT=true: bt=1 in FFT3Dgpu & plane=4 in MVDegrainMulti (will be removed when fixed)



Finish... 47ko -> 81ko, it's a big update

I wait after your comments/suggestions/improvements
LaTo is offline   Reply With Quote
Old 16th September 2008, 19:53   #60  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,407
I played a bit with it ... not bad, really not bad! A couple of points came up, but I'll need some time to describe them (have to do sth else right now). Will post a bit later about that.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.