Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Apr 2007
Posts: 240
|
How to get current frame number in AviSynth?
Can anyone tell me how can I have the current frame number in AviSynth?
Within ScriptClip command, I can display it such as: Code:
ScriptClip("subtitle(string(current_frame))")
What I actually want to do is to increase saturation from zero to maximum during playback. The first frame is B&W, the last has the original saturation. If 'current_frame' would work, my line would look like this: Code:
Tweak(sat=(current_frame/FrameCount)*1.00) |
|
|
|
| Tags |
| current_frame, scriptclip |
| Thread Tools | |
| Display Modes | |
|
|