Log in

View Full Version : Assign the current frame number to a variable.


Saligia
11th June 2005, 17:50
Hej til alle!

I want to do an Avisynth statemment like this:
F=(number of current frame)

Can't find syntax anywhere. Maybe because it's undoable?

Project:
The variable are needed to extract the apropiate subtitle, form within a text file, to be scrolled from right to left beneeth the picture on a
black border. That way it's easy to read. Only need one line for long texts. And easy to later crop out, should I ever want to.

I need it baaaaad, so I hope you can help me out on this! Thx.

tsp
11th June 2005, 17:55
you will have to use scriptclip or frameevaluate with current_frame. Take a look in the docs.

Saligia
11th June 2005, 18:53
@tsp

Ur right! scriptclip will do the trick.

Thx sooooo much!