tags:

views:

15

answers:

0

Hello,

For a fairly short-duration project I'm producing a video application using the Windows Media ActiveX control in a Windows Form under VB.Net. I could have dug into the API if I'd had more time, but this is the quick and easy solution. Unfortunately, the application's performance is time-critical on the order of microseconds. The control lags quite significantly when playing the first item, the duration being indeterminate. I have identified all the events fired from the control and there is a significant human-perceivable delay between the very last event being fired ("Playing") and the start of the footage actually becoming visible. I'm willing to accept that this is inevitable with WMP and its performance always has been and always will be poor, but is there any way to influence its buffering behaviour so that it does whatever it has to do before starting playback, then actually starts playback precisely on time?