a= AVISOURCE("theclip.avi")
b= AVISOURCE("2ndclip.avi")
Then add the two together
c = a +b
Then return the product :
Return c
Code: Select all
a= AVISOURCE("theclip.avi")
b= AVISOURCE("2ndclip.avi")
c = a +b
Return c
Code: Select all
a= AVISOURCE("theclip.avi")
b= AVISOURCE("2ndclip.avi")
c = a +b
Return c
Y'know Tim, this is somewhat covered in the guideFluxmeister wrote:So how does one glue together a bunch of 23.976 avi files...
Code: Select all
a = AVISource(file)
b = AVISource(file)
c = AVISource(file)
...
ƒ = AVISource(file)
a + b + c + ... + ƒ
Well, the audio bit might be due to the fact that the + is short for UnalignedSplice, which simply strings the audio clips together without any regard for sync. AlignedSplice (or ++) would cut off the audio or insert silence as necessary to keep things synched. I don't know for sure if that's the cause, but it's something to try.Rozard wrote:Make sure that the framerates are all the same or else it won't work. Also, I've found that if I encode them all with their respective audio, and then piece them together with a script like this, the audio in the first file is fine, but the others are sped up. Instead, combine all your audio sources into one file, and use that to encode your video with.Code: Select all
a = AVISource(file) b = AVISource(file) c = AVISource(file) ... ? = AVISource(file) a + b + c + ... + ?
That explains why the script on this page doesn't work:Rozard wrote: Y'know Tim, this is somewhat covered in the guide