Re: Reasons pins won't connect?



kwendex@xxxxxxxxx wrote:

Okay - I think I may have figured out what my problem was, though I
can't explain WHY this seems to be the case, it sure seems to be. It
STILL seems to be related to the codecs - or at least it surfaces as a
result of certain codecs.

The way I was constructing the graph was to actually do RenderFile or
Render (tried both), and then tear down a few filters and insert new
ones (take out the VMR7, insert the classic one, etc.). It appears as
though that may have been what caused the troubles - probably something
in the graph become "solidified" when I rendered it out in full, and
when I tried to insert new filters after removing others the "leftover"
settings caused things to fail. I never ran the graph so I guess I
assumed that nothing was written in stone....guess I was
wrong...*shrug*.

Not sure how one would go about resetting the graph/pins after you
start pulling filters out, but the fix was to simply create the graph
manually so I didn't have to remove anything in the first place.

I seem to be getting better at diagnosing these things in spite of
myself. Forget intelligent connect, I suppose I'm going to be doing
moron connect...


Curiously I've been banging my head on this exact problem the last few days. It's worse for me though, I want to pick up "whatever MPEG2 codec you've got installed on your machine" and stick it in my graph. I really don't want to analyse the input stream to work out picture size frame rate etc., build a pin that looks like that, then ask the graph to intelligently connect my raw video to that pin. Much easier to render it through, ask about the connection, then cut it into bits.

Though as I type it occurs to me to render it up, pull out the pin & filter details, throw it all away and start again with the knowledge I just got...

Andy
.



Relevant Pages

  • Re: Video network streaming
    ... he means that your network application protocol (as ... the samples can be safely passed across the network from the source graph to ... insight into what goes on when various filters are connected. ... need a custom render filter and the render graph will need a custom source ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Why filter graph display the previous frame...........
    ... Pausing the filter graph cues the graph for immediate rendering when ... filters process data ... do not render the data. ... poster frame of the first sample. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Why filter graph display the previous frame...........
    ... Pausing the filter graph cues the graph for immediate rendering when ... filters process data ... do not render the data. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Getting a DShow Graph Ready To Play
    ... the audio that audio doesn't sync up with the visuals. ... Is there any way to get a graph ready to play so that I ... filters ... process data but do not render it. ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: DirectShow AVI Splitter filter in Windows Mobile 5
    ... Render will try all the decompressors in the system if need be until it ... The mentioned files work like this in the desktop filter graph showing in ... The ting to do is to call 'render' on the output pin. ... Another common format that uses AVI is DivX and variants - also not ...
    (microsoft.public.win32.programmer.directx.video)