View Single Post
Old 27th June 2017, 15:13   #10  |  Link
Richard1485
Guest
 
Posts: n/a
^ Thanks! I have two problems though.

First, I don't know how to adapt the above to a script in which a clip is already defined. Obviously, in your example, everything is being assigned to last. Normally, I would do something like...

Code:
s1=WhateverSource()
Trim(s1,x,y).Whatever().Whatever()
...but I can't do that here, because I have to define quantities (fc and m) in the middle of calls to various functions and AviSynth throws an error.

Secondly, if I change n to one, the above doesn't seem to be increasing the number of frames by one. I'm not sure why.

Code:
m = float(fc+1)/fc

Last edited by Richard1485; 22nd November 2018 at 19:30. Reason: clarification
  Reply With Quote