Thread: VirtualDub2
View Single Post
Old 17th January 2017, 23:14   #161  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
In actual fact I was wrong in what I said in PM to Shekh.

This script exhibits different behaviour in all three, VD 1.10.4, VDMod 1.5.10.3, and VirtualDubFilterMod.
Code:
Colorbars.Killaudio.ShowFrameNumber
GSCript("""
    Function paws() {
        x=0
        for(n=1,1000000) {    # EDIT: Changed 0 to 1 in Blue
            x=x+1
        }
        return x
    }
""")
SSS="""
    Return Last.Subtitle(string(Paws()+current_frame))
"""
Return Last.ScriptClip(SSS)
EDIT: when press and hold Right cursor key:-

VD standard does not update either frame contents nor frame number/time on timeline.
VDMod, updates frame contents but not timeline frame number/time.
VDFM, updates timeline frame numbers/time, but not contents.

I'm happiest with current VDMod behaviour, seeing frame contents change but would like both contents and timeline numbers to update.

EDIT: Modify 1000000 to bigger number if fast machine.
EDIT: In all 3 VD apps, updates properly when cursor key finally released.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 18th January 2017 at 05:24.
StainlessS is offline   Reply With Quote