the max rate supported seems to be only 2.0. I believe this is due to a limitation in the audio renderer. A video without audio, set_rate doesn't seem to work at all. I was thinking of disconnecting the audio renderer whilst the graph was running (dynamic reconnection) to remove the 2.0 limitation but I am not even sure this would work, as the clock is connected to the audio renderer.
How can we set a rate faster than 2.0 ?
The dvd navigator seems to do it somehow. You can get 16x fast forward speeds using
Todas as Respostas
There are 2 ways to fast forward: increase the rate or cheat with the timestamps and delivered frames in the splitter. I believe the DVD navigator uses the second trick, which however is fornat- and filter-specific.
Since the limitation is indeed in the audio renderer, disconnecting it works. Hooking its SetRate() method to fake an S_OK return works, too, but it's a hack.
- Sugerido como Resposta Alessandro Angeli sexta-feira, 1 de junho de 2012 22:11
Thanks for the reply, messing with the time stamps is not an option. Is there any documention or blogs or anything on the hooking set rate and disconnecting the audio renderer ? There must be a better solution somehow. If i disconnect the audio renderer, what happens to the clock ?
- Editado dukeeeey domingo, 19 de fevereiro de 2012 23:59
I haven't investigated what happens to the clock, but it seems to work, so I assume either the renderer or the graph falls back to the system clock.
I have written several posts about API hooking (just search Google Groups) and I have some info in FAQ.