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. |
30th December 2005, 21:00 | #1 | Link |
Registered User
Join Date: May 2005
Location: UK
Posts: 6
|
Help with separatefields/weave etc.
Hi guys, hope you all had a nice Christmas.
I've read the guides/threads on processing interlaced/progressive material a thousand times but I still can't get my head round it. I've understand that you should use: separatefields() somefilter() weave() on spacial filters and: separatefields() even = SelectEven(last).somefilter() odd = SelectOdd(last).somefilter() Interleave(even, odd) weave() on temporal filters, but what I don't understand is whether you have to do this when the original material is progressive, interlaced or both. Can someone enlighten me please? Also, with a line like: even = SelectEven(last).somefilter() how would I write it if I wanted to apply several filters, or one with too many parameters to fit on one line? Thanks John. |
31st December 2005, 01:29 | #2 | Link | |
AviSynth Enthusiast
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
|
It's for interlaced footage. The point of SeparateFields().SomeFilter().Weave() is to prevent spatial filters from blurring even/odd scanlines that corresponds to different points in time.
For temporal filters, you don't need to use SeparateFields/SelectEven/SelectOdd/Interleave/Weave at all; just apply the filter directly. The second section of code you cited is for spatial-temporal filters. Quote:
Code:
even = SelectEven(last).SomeFilter().SomeOtherFilter().YetAnotherFilter().Etc() Code:
even = SelectEven(last).SomeFilter() even = even.SomeOtherFilter() even = even.YetAnotherFilter() even = even.Etc() Code:
function MyFilter(clip c) { c SomeFilter() SomeOtherFilter() YetAnotherFilter() Etc() return last } even = SelectEven(last).MyFilter() Code:
someClip = SomeFilter(a, b, c, d, e, \ f, g, h, i, j, \ k, l, m, n, o) |
|
31st December 2005, 02:01 | #3 | Link |
Registered User
Join Date: May 2005
Location: UK
Posts: 6
|
Ahh... I see. Thanks a lot stickboy, I finally understand it now. It’s so much clearer when you can see specific examples like those you gave. The guides here are good but for some reason it just was clicking with me.
Cheers John. |
|
|