Forums
realtime lags CurrentFrame value - Printable Version

+- Forums (http://mitov.com/forum)
+-- Forum: VCL Components (/forum-6.html)
+--- Forum: VideoLab (/forum-19.html)
+--- Thread: realtime lags CurrentFrame value (/thread-3606.html)



realtime lags CurrentFrame value - winsys11 - 08-14-2017 05:59 PM

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