Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add infinate tee to a avi decompressor 1

Status
Not open for further replies.

markymsofth

Programmer
Jun 6, 2004
26
US
filter -> avi decompressor -> vid window

want

filter -> avi decompressor -> int pin tee filter >vid window
 
You can certainly do this, it is easy to do with GraphEdit. If you're trying to do this in a program using the filter graph manager, just create and add the filters to the graph and connect the pins manually. I'd like to offer more advice but you didn't say what exactly the problem is.
 
thanks for responding
,i thought it was clear what i wanted but obviously not.
and can see ive miss spelled the ( int /infinate)
what connects automatically is filter->avi decompressor->video window.

i want to stick an infinate pin tee filter after the avi decompressor.

yes its all easy to do with graph edit.

but i want to do it in code. and havent figured it out.

im also interested in knowing how to add in a avi decompressor into a graph.

again its dead easy with graph edit .

i want to do it in code
 
If you create the infinite tee filter and add it to the graph first (IFilterGraph::AddFilter), the graph manager will include it in the graph when you render the file (IGraphBuilder::Render or IGraphBuilder::RenderFile).

To add the AVI decompressor to a graph by hand, just create an instance of it (CLSID_AVIDec) and add it to the graph (IFilterGraph::AddFilter).

If you add filters to the graph first, then use the Render or RenderFile methods of IGraphBuilder, you shouldn't have to worry about connecting pins or anything. IGraphBuilder does that all for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top