PDA

View Full Version : Mixing Interlaced & Progressive Content


EpheMeroN
25th October 2006, 01:07
I need to combine two videos together. The first video is interlaced and the second is deinterlaced (progressive). They are both from the same tv event, but from different sources. How can I properly join these 2 videos in a script so I can encode it to dvd? I want to keep the interlaced content interlaced.

This is what I came up with so far:
LoadPlugin("C:\Program Files\AviSynth 2.5\Plugins\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\Plugins\TDeint.dll")

Video1 = MPEG2Source("D:\Scream Awards
2006\Scream.Awards.2006.Part1.d2v").TDeint(1,1).BicubicResize(704,480,0,0.5).SeparateFields().SelectEvery(4,1,2).Weave().FadeIn0(5).FadeOut0(5)

Video2 = Trim(AVISource("D:\Scream Awards 2006\Scream.Awards.2006.Part2.avi", audio=false),97209,155730).BicubicResize(704,480,0,0.5).FadeIn0(5).FadeOut0(5)

Blank1 = BlankClip(Video1).Trim(0,59).Amplify(0.0)

Blank2 = BlankClip(Video1).Trim(0,25).Amplify(0.0)

AlignedSplice(Blank1,Video1,Blank2,Video2,Blank1)

AddBorders(8,0,8,0)

Mug Funky
25th October 2006, 02:21
just encode the lot as interlaced.

or merge 2 encodes in the authoring process... it's perfectly legal to mix footage types within the same VTS so long as they're the same dimensions and framerate. you can even swap field-orders and a DVD player is required to handle it (albeit with a 1-field A/V delay).

EpheMeroN
25th October 2006, 02:47
Okay great. VDubMod opened up the script fine I just wanted to make sure. I resized both videos to the same dvd-compliant resolution as well so everything seems fine so far. How can I tell if both videos have the same field order?

actionman133
25th October 2006, 12:21
Add SeparateFields () to your final line. If AVISynth has the correct field order, your motion should appear smooth all the way through. If some is smooth and others is jittery (skipping back and forth very quickly), then the field order has changed.