Forums

Full Version: realtime lags CurrentFrame value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have an application where I want to note the frame number when certain things happen ('events'), but when the playback rate is increased the Currentframe counter and real time get out of sync.

To replicate, have a video say 2000 frames long.
Play it with a VLDSVideoPlayer.
In the player progress event update a label with CurrentFrame.

if you play it at 1x, the label value will get to 2000 as the video ends.
Set the playback rate to 2.5 for example, and the label will get to 2000 and the video will still be playing.

Therefore my video "event" will occur at different frame numbers depending on the playback speed.

I would expect the same 'event' would always be at the same frame number.

thanks,
Mark
Reference URL's