Re: Capture Graph with VMR9 in Windowless mode



On Mar 15, 12:13 pm, Colin White <c...@xxxxxxxxxxxxxxxxxxxx> wrote:
it's on my list to look at when I have some spare time. However, in this
case I think you would be ok using the bridge. The graph containing the
renderer is stopped -- but you would have the mux and file writer in a
separate graph which is therefore not stopped. You can handle the
renderdevice-set event by stopping and restarting the source graph or
whatever, and the mux/writer graph will continue ok.

G

Thanks for the assistance Geraint. I have to keep the support
in-house so I can't use the GMF Bridge. If it's of any interest to
anyone facing a similar problem, I've put the following work-around in
place:

Use CancelDefaultHandling onEC_DISPLAY_CHANGED, added an handler in
my app, detach the currently open file, then unbuild and re-build the
graph and re-start capturing.

Thanks for posting your workaround. I've also seen this problem in my
application and after implementing your suggestion the
EC_DISPLAY_CHANGED message is posted again right after I re-start.
It's like the event wasn't cleared or something even though the entire
graph was unloaded and reloaded.

Has anyone else seen this behavior?

Andy



.



Relevant Pages

  • Re: WAVDest Problem!! need help!!!
    ... When you detach the renderer you must also ... Try adding both the Wave Dest and the File Writer filter to the graph after ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: Intermitent IMediaControl::Stop problem
    ... >> something in the graph (I would suspect the renderer) is trying to send ... >> maybe you should try waiting for state changes for a shorter period of ... My next guess would be the capture filter. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Beginning filter development
    ... Got a kind of crazy idea, would it work to make a renderer which renders the decoded media samples to a buffer, and then make a source filter containing a filter graph with the mentioned renderer? ... Then in the source filter, I would make a render graph using the custom renderer and reading the buffer on the renderer from my source filter pushing the data to the render graph... ... It knows the state of both and is able to discard input samples as need be and adjust the out going timestamps so the output graph stays consistant. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: WMR9, dual-screen, EC_PAUSED and delay in video playback
    ... filters have completed the pause transition, ... it takes longer for the graph to go active. ... similar to monitor the flow of data actually into the renderer. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: WAVDest Problem!! need help!!!
    ... but I just debug my graph bulding step by step using the function to ... write grf file... ... > adding the desired rendering filter... ... >>> the renderer as WAVEFORMATEXTENSIBLE rather than WAVEFORMATEX, ...
    (microsoft.public.win32.programmer.directx.audio)

Loading