Log in

View Full Version : fadeIO with Trim


SuprHomer
6th January 2005, 08:08
I'm having trouble with FadeIO and Trim. It seems like when FadeIO is used on multiple clips, the fadeout counts from 0 instead of the start of the Trim. Here is my script:


source = AviSource ("\\ZEN\g\xmas81.avi")

clip1 = Trim(source, 61, 25265)
clip2 = Trim(source, 25269, 77733)
xmas = FadeIO2(clip1, 10) + FadeIO2(clip2, 10)

return xmas



The result is that the FadeOut occurs 61 frames before the end of clip1. FadeOut starts on the correct frame for clip2. If I use a single clip instead of concatenating the two clips together, FadeIO works fine.

Am I doing something wrong in my script?

SuprHomer
6th January 2005, 08:32
Argh. I shouldn't be up so late. The problem was with my trims. I started at the wrong point and everything had a 61 frame offset.



...Nothing to see here.