Re: repeating video pauses before restart
- From: Geraint Davies <geraintd@xxxxxxxxxx>
- Date: Fri, 20 Jan 2006 15:46:41 +0000
On Fri, 20 Jan 2006 06:18:04 -0800, James B wrote:
> Hello, I now have DS up and running and even got WM_GRAPHNOTIFY working so my
> video is repeating (using the playwnd.cpp example code). The problem is
> there is a slight delay between the video restarting, and I want this to be
> instant, or near instant. Is there someway I can acheive this?
>
> I thought this wouldn't be a problem as the video file is pretty small
> (10MB) and should be fully cached by the OS on the repeat, but the decoding
> hardware or software must need some 'spool up' time to decode it from the
> beginning. I have a few ideas of how I can fix this but wanted to hear if
> anyone has any experience with this.
I presume that on ec-complete you are seeking to the beginning. This will
re-cue the graph -- that is, the graph will be paused until the first frame
from the new position has reached the renderer, then the graph will
transition to run mode again. The transition process will make a slight
pause -- at least 10ms.
I would think the best way to get a seamless loop is to keep the graph
running and adjust the timestamps. This is easily done with a two-graph
solution such as GMFBridge.
G
.
- Prev by Date: Re: VRM9, VRM7 and Regular renderer
- Next by Date: VMR9 Custom AP bug with ShellExecute
- Previous by thread: Re: repeating video pauses before restart
- Next by thread: Re: repeating video pauses before restart
- Index(es):
Relevant Pages
|