RE: Can't use crossbars with multiple cards
- From: Bowljoman <Bowljoman@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 15 Jan 2008 13:19:03 -0800
"Bowljoman" wrote:
"stephen.bridges@xxxxxxxxx" wrote:
I am officially stuck on this problem. I have some target hardware
that is (essentially) a standard desktop PC with two identical video
capture cards on it. Video from the two capture cards needs to be
displayed in a GUI, and I've written code to do that for a previous
project based on the MSDN example/guidelines. Basically for each card
I enumerate the hardware, grab a card, put it in a filter, create the
crossbar, configure, and render.
Now I have a problem on this new project that the video capture
devices have changed, and now the crossbar of one of the video cards
doesn't work. What I mean by this is that everything is created
without a hitch, but crossbar A modifies video card A, and crossbar B
also modifies video card A. I've used graphedit to connect to my
graphs remotely and check that they connect up properly, and that the
behaviour is reproducible within graphedit whilst connected.
However, if I create the two graphs from scratch in graphedit, then
they work fine! I did wonder whether it was due to using a separate
capture graph for each card instance, so I've just rewritten the code,
but it's made no difference.
Is there some other way to create a graph? For example I notice I can
enumerate the crossbars in the system directly, rather than looking
upstream from the capture cards, and I'm wondering if that's what
graphedit does somehow. However I don't see how to add a crossbar to
the graph without using FindInterface.
Any help appreciated on this one,
Stephen.
While it is easy to enumerate tuners and controll them from the intereface
obtained, and If you want to control tuners loaded in another app or even
have multiple control points, this is how to do it...
But for specific, in process tuners, you should query the source filter for
the interface, and it will add the correct filter.
As well, some tuners are embeded in VFW dialogs, and will not enumerate in
the wdm tuner register.
Andy
I will add that I have used setups with multiple cards of the exact same
model in adjacent pci slots.
I can only imagine that while source filters will change the order in
enumeration when others are added, is it possible that tuners don not?
.
- Follow-Ups:
- Re: Can't use crossbars with multiple cards
- From: stephen . bridges
- Re: Can't use crossbars with multiple cards
- References:
- Can't use crossbars with multiple cards
- From: stephen . bridges
- Can't use crossbars with multiple cards
- Prev by Date: Re: transcode mpeg2 to avi
- Next by Date: Problem with IMediaSeeking.SetRate using GMFBridge
- Previous by thread: Can't use crossbars with multiple cards
- Next by thread: Re: Can't use crossbars with multiple cards
- Index(es):
Relevant Pages
|