View Full Version : filter arrangement
shock
4th April 2004, 12:15
hi everyone. i am a little confused about placement of cnr2. is it best to put it before or after nr? here is the way i have it now, i was wondering if it would be better to put it before c3d or what. the source is old vhs, but it is very clean for vhs. it was passed through a tbc, and i do not like to overkill nr filters.
converttoyuy2(interlaced=true)
assumefieldbased()
assumetff()
separatefields()
odd=selectodd.cnr2()
odd=selectodd.convolution3d(0, 6, 10, 6, 8, 2.8, 0)
odd=LanczosResize(odd,352,240)
evn=selecteven.cnr2()
evn=selecteven.convolution3d(0, 6, 10, 6, 8, 2.8, 0)
evn=LanczosResize(evn,352,240)
interleave(evn,odd)
weave()
shock
5th April 2004, 13:02
i figured it out, after looking closely at a few samples. it appears cnr2 works best when above the nr. cnr2 is such a great filter, it really shows a great difference :)
Wilbert
5th April 2004, 13:08
I suspect that cnr2 isn't applied at all in your script. You had better change your script into this:
converttoyuy2(interlaced=true)
assumeframebased()
assumetff()
separatefields()
odd=selectodd.cnr2()
odd=convolution3d(odd, 0, 6, 10, 6, 8, 2.8, 0)
odd=LanczosResize(odd, 352, 240)
evn=selecteven.cnr2()
evn=convolution3d(evn, 0, 6, 10, 6, 8, 2.8, 0)
evn=LanczosResize(evn, 352, 240)
interleave(evn,odd)
weave()
shock
5th April 2004, 13:20
thats exactly what i did use :). except i didnt put odd and evn into c3d, and i used assumefieldbased since its interlaced.
As I know in avisynth AssumeFieldbased() means that the source is in a field separated state .. and yours isn't as this will be done more further in the script ;-)
shock
5th April 2004, 15:54
well it seems to work ok that way. so your saying even though it is interlaced and will remain interlaced that i sould use assumeframebased?
Wilbert
5th April 2004, 16:16
Yup. But you probably can leave it out :)
shock
5th April 2004, 16:20
i was allways under the impression that assumefieldbased was for interlaced stuff and assumeframepased was for progressive. i sure hope i havent screwed up my encoding is some minor way. they look just superb, youd never think that they were recorded off tv back in 1989, but it was recorded on a hifi super beta and was recorded from that to a jvc vcr with tbc built in. ive never seen tape turn out so wonderful looking. :)
shock
5th April 2004, 17:39
oh i think i get it now. assumefieldbased would go below seperatefields, that is correct right? i know it isnt needed, but im just wondering.
Wilbert
5th April 2004, 18:01
Yup.
But sometimes it also happens that you want to apply Weave on frames:
http://forum.doom9.org/showthread.php?s=&threadid=73495
Then you have to use assumefieldbased to force them being "fields", because Weave can only be used on "fields".
shock
5th April 2004, 18:02
but it wont cause damage to what i have allready done would it? nothing significant? im scared ive screwed up these encodes that took 24hrs each to do, and theres like 5 of them!
Wilbert
5th April 2004, 18:03
No it won't. Don't worry :)
shock
5th April 2004, 18:18
oh thank god. it just looks so good. it looks as good as some dvds ive seen, and yes i have very good eyes. :).
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.