custom shell - video capture - problems

  • Thread starter Thread starter Mike@Nestor
  • Start date Start date
M

Mike@Nestor

Hi !

I have a problem on WinXP with a custom shell. I post here because I have no
answer from the xp newsgroup and may be there are more qualified people here
;o)
What I actually try with XP, I will have to do the same on a XP embedded
later...

I have a video capture application as a custom shell. When I boot
(autologon) my application starts, I can see the video capture but it is
very slow (like 15fps instead of 25). If I stop and then restart my
application, the video capture works fine at 25fps (no saccades).

I tried to sleep my application during few seconds before to build the video
capture graph but I have always the same problem.

I don't know if my problem comes from a driver or my application.
If someone has an idea it would be great for me :)

thanks
Mike
 
Mike,

It is hardly what we might have ideas on such problem. (unknown driver,
hardwarem etc)
Do you use 8x8 chipset or Philips bridges?
What resolution are you capturing video in?

Fors start try adding init delay of 60 seconds, it it works then we can talk
about how you can shorted this time.

Regards,
Slobodan
 
Hi Slobodan,

I am using a video capture device with a 848 chipset.
I am capturing in 640*480

and if I wait for 30 seconds at startup the capture works fine....but 30
seconds is long (the computer boots in 25 seconds)

I have also seen your posts about CMP_WaitNoPendingInstallEvents, I will try
to test it.

thanks
Mike
 
Hi Mike,
and if I wait for 30 seconds at startup the capture works fine....but 30
seconds is long (the computer boots in 25 seconds)

Unfortunately it might take longer for it to be fully operational then you
can see :-(

You will have to use WaitNoPenting.. and Sleep(1) commands in loop in order
to avoid problem with pauses in PnP detection.

Regards,
Slobodan
 
thank you Slobodan,

now my application works fine. But you're right, the WaitNoPen... loop takes
long time (about 25 seconds including 15 seconds on my 2 network adapters
(wired & wireless) for DHCP).

thanks again
Mike
 
Back
Top