poopitypoop
3rd March 2009, 10:21
I have a d2v file which references a standard DVD movie, and a huffy AVI of a title screen I made in Premiere. I want to splice them together using avisynth. so far I have the following script(stripped down to protect the innocent)
-----------------------------------
MPEG2Source("R:\mainmovie.d2v")
mainvideo = LanczosResize (720,480)
TS = aviSource("Titlescreen.avi")
video1 = trim(mainvideo,0,9557).assumefps(23.976)
video2 = trim(TS,1,0).assumefps(23.976)
video3 = trim(mainvideo,9776,0).assumefps(23.976)
unalignedsplice(video1 , video2, video3)
----------------------------
This script does not work, however you can see that I am simply trying to splice the title screen into the movie starting at frame 9557 until the end of the .avi, the splice the remaining movie in starting at frame 9776.
The error I get is Splice: Video Formats don't match.
So therefore my question: How do I splice in two different video formats? (I've also had the need to do the same thing but using a dga)
-----------------------------------
MPEG2Source("R:\mainmovie.d2v")
mainvideo = LanczosResize (720,480)
TS = aviSource("Titlescreen.avi")
video1 = trim(mainvideo,0,9557).assumefps(23.976)
video2 = trim(TS,1,0).assumefps(23.976)
video3 = trim(mainvideo,9776,0).assumefps(23.976)
unalignedsplice(video1 , video2, video3)
----------------------------
This script does not work, however you can see that I am simply trying to splice the title screen into the movie starting at frame 9557 until the end of the .avi, the splice the remaining movie in starting at frame 9776.
The error I get is Splice: Video Formats don't match.
So therefore my question: How do I splice in two different video formats? (I've also had the need to do the same thing but using a dga)