Log in

View Full Version : Nb_Total_Frame


Sigmatador
30th May 2003, 10:18
A programming question:
How to get the total number frame (to reduce a temporal radius a the end of the clip)
And the current frame number too (but i think i've just to read the n variable)

sh0dan
30th May 2003, 10:57
Use vi.num_frames to get the framecount (last frame is num_frame-1)

Current frame is 'n'.

Sigmatador
30th May 2003, 11:03
thx a lot ^^

"last frame is num_frame-1" and first frame 0 i suppose... ^^

sh0dan
30th May 2003, 12:03
Absolutely 100% correct. :cool:

Sigmatador
30th May 2003, 20:46
programmation noob inside ^^