AVSTREAM COMPOSITE DRIVER

hi all,

i am developing the avstream Composite driver . when i load both audio(media device) and video(imaging device) driver it is installed succesfully and i selected the both audio and video device from grapedit .after i render the both device i given play from the graph edit .only audio is moved to RUN state but video is not moved to RUN state,it is coming upto acquire state and it is not giving any error from grapedit

i have tested video and audio seperately its working fine (ie) both are moving to RUN state and streaming is happening .

filter descriptor for both audio and video:

VIDEO:

const
KSFILTER_DESCRIPTOR
CaptureFilterDescriptor = {
&CaptureFilterDispatch, // Dispatch Table
NULL, // Automation Table
KSFILTER_DESCRIPTOR_VERSION, // Version
0,// Flags
&KSNAME_Filter, // Reference GUID
DEFINE_KSFILTER_PIN_DESCRIPTORS (CaptureFilterPinDescriptors),
DEFINE_KSFILTER_CATEGORIES (CaptureFilterCategories),
DEFINE_KSFILTER_NODE_DESCRIPTORS (NodeDescriptors),
DEFINE_KSFILTER_CONNECTIONS (FilterConnections),
NULL // Component ID
};

AUDIO :

const
KSFILTER_DESCRIPTOR
CaptureFilterDescriptor = {
&CaptureFilterDispatch, // Dispatch Table
&AudioFilterAutomationTable, // Automation Table
KSFILTER_DESCRIPTOR_VERSION, // Version
0,// Flags
&KSNAME_Filter, // Reference GUID
DEFINE_KSFILTER_PIN_DESCRIPTORS (CaptureFilterPinDescriptors), // Pin Descriptor
DEFINE_KSFILTER_CATEGORIES (CaptureFilterCategories), // Category
DEFINE_KSFILTER_NODE_DESCRIPTORS (NodeDescriptors),
DEFINE_KSFILTER_CONNECTIONS (FilterConnections),
NULL // Component ID
};

is their any solution
thanks in advance

xxxxx@lntinfotech.com wrote:

i am developing the avstream Composite driver . when i load both audio(media device) and video(imaging device) driver it is installed succesfully and i selected the both audio and video device from grapedit .after i render the both device i given play from the graph edit .only audio is moved to RUN state but video is not moved to RUN state,it is coming upto acquire state and it is not giving any error from grapedit

i have tested video and audio seperately its working fine (ie) both are moving to RUN state and streaming is happening .

filter descriptor for both audio and video:

I’m confused by this. You have two separate filters, as opposed to one
filter with two pins? If they really are two separate filters, there
shouldn’t be any interaction at all between the two streams.

On the other hand, clocking is trickier in a graph with two separate
sources. Are you using the stream clock to generate the timestamps in
both filters?

VIDEO:

const
KSFILTER_DESCRIPTOR
CaptureFilterDescriptor = {
&CaptureFilterDispatch, // Dispatch Table
NULL, // Automation Table
KSFILTER_DESCRIPTOR_VERSION, // Version

Really? You support no properties AT ALL in your video filter?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.