Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Tue, 30 May 2006 09:56:34 GMT,    group: microsoft.public.win32.programmer.directx.sdk        back       


DirectShow Thread Priority   
Hi,

We are creating a horror action adventure game and the gameplay is 
almost finished. But now we want to add movies to spice up the 
experience and that's why we added support for DirectShow.

This implementation succeeded and the movie plays on a Direct3D Texture. 
No problem there.

The bigger problem is that there are a lot of interruptions now and 
then. Every time the cpu load is a little higher, the movie skips frames.

I know that this is due to the fact that DShow uses lower thread 
priority for its decoder threads (and probably for all the other threads 
too) but in my case, I don't want them to have lower priority. I want 
them to give all the frames they got.

Can anyone help me to solve this problem? Or do I need to stop trying to 
use DShow for in-game movies? What's the suggestion then?

Cheers,
Dirk.
date: Tue, 30 May 2006 09:56:34 GMT   author:   Dirk Schippers

Re: DirectShow Thread Priority   
On Tue, 30 May 2006 09:56:34 GMT, Dirk Schippers wrote:

> We are creating a horror action adventure game and the gameplay is 
> almost finished. But now we want to add movies to spice up the 
> experience and that's why we added support for DirectShow.

Answered in ../video.

Please do not multi-post.

See:   http://tmhare.mvps.org/help.htm#mp

-- 
Please read this before replying:
1. Dshow & posting help:  http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others:  follow up if you are helped or you found a solution
date: Tue, 30 May 2006 09:40:36 -0600   author:   The March Hare [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us