[visionegg] slight lag in quicktime StartMovie on WXP

I'm using the bleeding edge version of visionegg (1.1.dev) to show quicktime movies as part of an eyetracking experiment. I'm running 1.1.dev on a Windows XP machine with an nvidia GPU. I've got a program up and running that works very well, with one caveat - there is a brief lag (perhaps 500 msec) in the experiment upon executing the StartMovie command. Upon rewinding and replaying the movie, there is no lag. The size of the lag appears to scale with the size of the quicktime file. I've observed this across a few PCs, all fairly modern/fast with nvidia GPUs. My hypothesis is that the lag is due to some loading or processing that happens as part of the StartMovie command.

My main question: is there some way to eliminate this lag? My thinking was that perhaps there is some way to take care of whatever preloading is related to the lag before actually displaying the movie. I took a look at qtlowlevel.py and it appears that this function wraps around QTMLClient.dll. I scoured the net for good documentation on this .dll, but could find very little there to guide me. It appears that the visionegg quicktime python files capitalize on a few specific functions that are part of QTMLClient.dll (such as StartMovie and GoToBeginningOfMovie). Are there other QTMLClient functions that might help in some sort of preloading?

I realize that the visionegg quicktime functions are bleeding edge... but if anyone can think of a solution to the lag issue (or for that matter, point me to whatever QTMLClient docs. were referenced when creating the qtlowlevel.py functions), that would be excellent. I'd be happy to send my experiment and corresponding video files if that would help diagnose the problem.

Thanks!

John Herrington, Ph.D.
Yale University

======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: