video playback on compact flash issue

  • Thread starter Thread starter Yaniv Yalda
  • Start date Start date
Y

Yaniv Yalda

Hi,

I've been testing our software on WinXPE using industrial CF. I have
noticed when the video starts to play the total CPU usage for 1-2
seconds goes up to 100% it then goes back to normal 20-30%. I tested
the image on a hard disk and it would run at constant 10% CPU.

I've also tested using graphedit and the CPU peeks to 100% and then
goes back to normal.

Has anyone had problems like this? Is it how I format my CF? Its
anoying.


Any Help would be greatly appreciated.

Yaniv
 
What is the location of your video file?
CF, or CD, or....?

Try booting from CF and playing video from HDD.

Formatting CF has nothing to do with speed.
But speed of CF and CF adapter might have something to do with this.

Regards,
Slobodan
 
Hi Slobodan,

I'm using 2 partitions, one protected OS partition and one software
partition. The video is on the second partition.

I have solved my issue by writing a memory mapped source filter, it
working really well now.

Yaniv.
 
Hi David,

I've implemented the memory mapped method using the sample provided
with directx sdk. I assume you already knew this.

If you dont then its located in
DXSDK\samples\Multimedia\DirectShow\Filters\Async .

I've been having issues with the memory mapped implementation, it
hacked up anyway so I've reverted back to using Async for the time
being.

Yaniv.
 
Back
Top