Log in

View Full Version : Weave 2 vides together, possible??


Stabmaster-Arson
27th March 2004, 00:36
this is what I mean. 2 videos, 720,240 progressive each.

i'd like video1 to be the upper fields, and video b to be the lower fields. Final file of 720x480, both video clips playing simultaneously.

Possible?

krieger2005
27th March 2004, 01:40
odd = clip1.SelectEvery(1,0,0)
even = clip2.SelectEvery(1,0,0)
ConditionalFilter(odd,odd,even,"current_frame%2","==","0")
Weave()


Try this.

stickboy
27th March 2004, 03:41
even = video1.AssumeTFF().SeparateFields().SelectEven()
odd = video2.AssumeTFF().SeparateFields().SelectOdd()
Interleave(even, odd)
AssumeFieldBased()
AssumeTFF()
Weave()Edit: oops, forgot to call SeparateFields. :)

Mug Funky
27th March 2004, 04:33
do not try this with epileptics around...

Stabmaster-Arson
27th January 2007, 07:24
Update: I have finally now years later actually done this, here is the script I used.

angle1=avisource("1.huff.avi")+avisource("3.huff.avi")
angle2=avisource("2.huff.avi")+avisource("4.huff.avi")
even = (angle1).AssumeTFF().separatefields().SelectEven()
odd = (angle2).AssumeTFF().separatefields().SelectEven()
Interleave(even, odd)
AssumeFieldBased()
AssumeTFF()
weave()
Lanczosresize(640,480)
After the weave() command it becomes 720,480, so I put the resize in to correct the aspect ratio to 4:3.

The avi files are 720,240 progressive. I discarded every other line because the source was interlaced, and encoded into these huffyuv losslessly compressed avi files.

What is really interesting here is I used a multiangle scene to do this. so this end result outputs both angles simultaneously, with one perfect common audio track. For best results when doing this watch it on an interlaced television, progressive monitors do not do it proper justice. Definately encode this as interlaced to ensure the best compression.