Log in

View Full Version : Blending Two Interlaced Frames into One


TheWolfer
9th June 2005, 14:46
Hello all,

In order to produce some content to debug some color conversion routines, I'm trying to use AviSynth (BTW, one of the greatest apps ever written!! ;) ) to take two different top-field dominant NTSC 29.97fps clips, separate the fields from each, discard one field from each, and then assemble the distinct fields back into a new interlaced clip. I assume that I would need to throw the top field away from one and the bottom field from the other. I have written some scripts in an attempt to do this (using DGBob, SeparateFields, Weave, etc.), but never got anything like I was looking for. Here is an example of what I'm trying to end up with:

http://www.davewolf.net/images/Fields.jpg

Any help you all might be able to provide would be greatly apprecaited.

Thanks,

Wolf

Guest
9th June 2005, 16:46
a=avisource("your_file1.avi").assumetff.separatefields.selecteven
b=avisource("your_file2.avi").assumetff.separatefields.selectodd
interleave(a,b)
weave()

TheWolfer
9th June 2005, 17:09
a=avisource("your_file1.avi").assumetff.separatefields.selecteven
b=avisource("your_file2.avi").assumetff.separatefields.selectodd
interleave(a,b)
weave()

Thanks, Don. That worked perfectly. I'm still trying to figure out AviSynth's syntax. Been reading tons. But, amazing how far a little pointer will take ya.

Thanks much!

- Dave