View Full Version : Need some assitance on splicing/overlaying


whitewraith
26th September 2005, 19:05
Hi, I've got a dvdsource thats in need of subtitling and my mate offered to do some afx work for it. Now I've gotten to the stage where I have my avs ready for processing...

LoadPlugin("C:\AviSynth\plugins\DGDecode.dll")
LoadPlugin("C:\AviSynth\plugins\Decomb.dll")
temp = "C:\Encoding\temp\temp.d2v"
mpeg2source(temp,idct=5,cpu=4).crop(4,4,712,472).BicubicResize(704,384,0,0.5)

So just simple so far, but what I need to do is insert 3 clips or somehow overlay 3 clips between frame positions (0,330) (2080,2250) and (2270,2412)
I tried to use unalignedsplice and trim, but i got done with a video formats don't match and i'm not really sure what i'm doing so i'm assuming i may have to output to a lossless avi to achieve this.
If someone knows how or can show a simple way and could with some examples that'd be sweet ;)

mg262
26th September 2005, 20:49
Insert or overlay? They are quite different...

If it is insertion, you're probably going about it the right way (except that you may want to think about aligned/unaligned splicing) but we can't help until you post your script...

If you want to put something on top of the existing video, look up the overlay function -- there will be examples in the documentation for it. (And you can find more by using forum search.)

whitewraith
28th September 2005, 17:47
nevermind it took a bit of fiddling, but i got it :)