^^^ Thanks, manolito! I was wondering about that. My clip is dual mono, so I was wondering if I have to process the channels separately with 2.60 or just discard one before applying TimeStretch() and then call MonoToStereo() afterwards.
@Gavino
I've managed to get it working like this.
Code:
clip=AviSource("s.avi",audio=true)
clip2=Trim(clip, 40430, 40451)
fc = Framecount(clip2)
m = float(fc+1)/fc
clip3= \
clip2 \
.TimeStretch(tempo=100/m) \
.ChangeFPS(m*clip2.framerate) \
.assumeFPS(24000,1001)
return clip3
No doubt you can find a more elegant way of doing it.
EDIT: Sorry, pdr. I was typing while you were posting and didn't see your replies.