logo Sign In

Post #77159

Author
Laserschwert
Parent topic
@ laserschwert - need you to explain something
Link to post in topic
https://originaltrilogy.com/post/id/77159/action/topic#77159
Date created
11-Nov-2004, 7:07 AM
Well, SangNom is originally intended to be used as a deinterlacing filter. This means that "order=0" should be used on "top field first" material, "order=1" on "bottom field first" material, and "order=2" on material where the two fields have been blended together.

Material that got IVTCed is neither of those, it's progressive. And to get the best result for progressive material, I felt that it looked best to use two instances of SangNom... one using "order=0" and one using "order =1".

I am using the v1, v2, v3, and so on to keep the script a little more cleaned up. So, your script would have to look like this:

v1 = AviSource("p:\anh\interim\anh_interim.avi").SangNom(order=0)
v2 = AviSource("p:\anh\interim\anh_interim.avi").SangNom(order=1)

v3 = v1.overlay(v2, opacity = 0.5)

return v3


You could add the "aa=" attribute to the SangNom-filters and play with the setting. For the results I posted in Zion's thread I didn't put it in (which left it at its default value... whatever it is). By the way, SangNom adds a little blur to the image, so it's good to add some sharpening (I prefer the LimitedSharpen-function) afterwards.

My script above looks so big, because it's not just antialiasing the clip, but IVTCing, de-ghosting, sharpening, color-correcting AND rescaling it as well.