Dear All,
I implement a TV tuner, TV audio decoder and crossbar filters. I also
implement PROPSETID_TUNER, PROPSETID_VIDCAP_CROSSBAR and
PROPSETID_VIDCAP_TVAUDIO property set for them. My current status is that I
could connect TV video pin of tuner filter to crossbar filter successfully.
But I cannot connect TV audio outpin of tuner filter to TV audio inpin of TV
audio filter.
What value should I set to the TVAudioMedium fileld of
KSPROPERTY_TUNER_CAPS_S structure if I want to connect TV audio outpin of
tuner filter to TV audio filter (not crossbar filter)?
PS : I have ever tried to set the GUID of TVAudioMedium to GUID_NULL and
then my tuner audio outpin of tuner filter disappear.
Any comments are welcome and very appreciated.
Thanks,
Edward

Re: AVStream: failed to connect TV tuner and TV audio decoder filters. by Max

Max
Sun Sep 19 22:06:45 CDT 2004

Most likely reason is a mismatch between reported medium GUIDs.
Open up GraphEdit and check what it shows as a medium GUID in Insert Filter
dialog (you can browse filter and its pins).

Internally TV Tuner must be making assumption that any pin must have its
medium GUID to set to nonzero value (GUID_NULL is all zeros) so it ignores
and doesn't expose the pin with "empty" medium.

-- Max.


"Edward Hsu" <EdwardHsu@discussions.microsoft.com> wrote in message
news:DF412F70-6B49-4C9B-B012-D4FBA8A10D71@microsoft.com...
> Dear All,
> I implement a TV tuner, TV audio decoder and crossbar filters. I also
> implement PROPSETID_TUNER, PROPSETID_VIDCAP_CROSSBAR and
> PROPSETID_VIDCAP_TVAUDIO property set for them. My current status is that
> I
> could connect TV video pin of tuner filter to crossbar filter
> successfully.
> But I cannot connect TV audio outpin of tuner filter to TV audio inpin of
> TV
> audio filter.
> What value should I set to the TVAudioMedium fileld of
> KSPROPERTY_TUNER_CAPS_S structure if I want to connect TV audio outpin of
> tuner filter to TV audio filter (not crossbar filter)?
> PS : I have ever tried to set the GUID of TVAudioMedium to GUID_NULL
> and
> then my tuner audio outpin of tuner filter disappear.
> Any comments are welcome and very appreciated.
> Thanks,
> Edward



Re: AVStream: failed to connect TV tuner and TV audio decoder filt by EdwardHsu

EdwardHsu
Mon Sep 20 20:07:01 CDT 2004

I could only see the FriendlyName of TV tuner and audio decoder filters
in InsertFilter dialog of GraphEdit. Do I need to setup some flags or
parameters to show pin infos on it?

Thanks,
Edward

"Max Paklin" wrote:

> Most likely reason is a mismatch between reported medium GUIDs.
> Open up GraphEdit and check what it shows as a medium GUID in Insert Filter
> dialog (you can browse filter and its pins).
>
> Internally TV Tuner must be making assumption that any pin must have its
> medium GUID to set to nonzero value (GUID_NULL is all zeros) so it ignores
> and doesn't expose the pin with "empty" medium.
>
> -- Max.
>
>
> "Edward Hsu" <EdwardHsu@discussions.microsoft.com> wrote in message
> news:DF412F70-6B49-4C9B-B012-D4FBA8A10D71@microsoft.com...
> > Dear All,
> > I implement a TV tuner, TV audio decoder and crossbar filters. I also
> > implement PROPSETID_TUNER, PROPSETID_VIDCAP_CROSSBAR and
> > PROPSETID_VIDCAP_TVAUDIO property set for them. My current status is that
> > I
> > could connect TV video pin of tuner filter to crossbar filter
> > successfully.
> > But I cannot connect TV audio outpin of tuner filter to TV audio inpin of
> > TV
> > audio filter.
> > What value should I set to the TVAudioMedium fileld of
> > KSPROPERTY_TUNER_CAPS_S structure if I want to connect TV audio outpin of
> > tuner filter to TV audio filter (not crossbar filter)?
> > PS : I have ever tried to set the GUID of TVAudioMedium to GUID_NULL
> > and
> > then my tuner audio outpin of tuner filter disappear.
> > Any comments are welcome and very appreciated.
> > Thanks,
> > Edward
>
>
>

Re: AVStream: failed to connect TV tuner and TV audio decoder filt by EdwardHsu

EdwardHsu
Mon Sep 20 22:55:07 CDT 2004

I found a strange situation to display pin infos of TV tuner filter in
InsertFilter dialog of GraphEdit. The pin infos will display on it if I
register CLSID for ksproxy.ax.
************************************************
[TVTuner.Interface.AddReg]
HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
HKR,,FriendlyName,,%TVTuner.FriendlyName%
************************************************
These pin infos will disappear if I register CLSID_CTVTunerFilter
(kstvtune.ax).
************************************************
[TVTuner.Interface.AddReg]
HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
HKR,,FriendlyName,,%TVTuner.FriendlyName%
************************************************

How could I register IAMTVTune (kstvtune.ax) interface and display pin
infos on InsertFilter dialog of GraphEdit? Do you have any suggestion about
my problem? Any comments are very appreciated.

Thanks,
Edward

"Edward Hsu" wrote:

> I could only see the FriendlyName of TV tuner and audio decoder filters
> in InsertFilter dialog of GraphEdit. Do I need to setup some flags or
> parameters to show pin infos on it?
>
> Thanks,
> Edward
>
> "Max Paklin" wrote:
>
> > Most likely reason is a mismatch between reported medium GUIDs.
> > Open up GraphEdit and check what it shows as a medium GUID in Insert Filter
> > dialog (you can browse filter and its pins).
> >
> > Internally TV Tuner must be making assumption that any pin must have its
> > medium GUID to set to nonzero value (GUID_NULL is all zeros) so it ignores
> > and doesn't expose the pin with "empty" medium.
> >
> > -- Max.
> >
> >
> > "Edward Hsu" <EdwardHsu@discussions.microsoft.com> wrote in message
> > news:DF412F70-6B49-4C9B-B012-D4FBA8A10D71@microsoft.com...
> > > Dear All,
> > > I implement a TV tuner, TV audio decoder and crossbar filters. I also
> > > implement PROPSETID_TUNER, PROPSETID_VIDCAP_CROSSBAR and
> > > PROPSETID_VIDCAP_TVAUDIO property set for them. My current status is that
> > > I
> > > could connect TV video pin of tuner filter to crossbar filter
> > > successfully.
> > > But I cannot connect TV audio outpin of tuner filter to TV audio inpin of
> > > TV
> > > audio filter.
> > > What value should I set to the TVAudioMedium fileld of
> > > KSPROPERTY_TUNER_CAPS_S structure if I want to connect TV audio outpin of
> > > tuner filter to TV audio filter (not crossbar filter)?
> > > PS : I have ever tried to set the GUID of TVAudioMedium to GUID_NULL
> > > and
> > > then my tuner audio outpin of tuner filter disappear.
> > > Any comments are welcome and very appreciated.
> > > Thanks,
> > > Edward
> >
> >
> >

Re: AVStream: failed to connect TV tuner and TV audio decoder filt by Max

Max
Tue Sep 21 03:27:22 CDT 2004

TV tuners have to be handled by kstvtune.ax. Changing it to KS Proxy is
asking for trouble. It won't work as kstvtune.ax implements basic tuning
interfaces and ksproxy.ax doesn't.

You do call KsRegisterFilterWithNoKSPins on your tuner filter, don't you?

-- Max.


"Edward Hsu" <EdwardHsu@discussions.microsoft.com> wrote in message
news:9C79F56B-C1DA-472C-BFEE-FC5A877022B3@microsoft.com...
> I found a strange situation to display pin infos of TV tuner filter in
> InsertFilter dialog of GraphEdit. The pin infos will display on it if I
> register CLSID for ksproxy.ax.
> ************************************************
> [TVTuner.Interface.AddReg]
> HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
> HKR,,FriendlyName,,%TVTuner.FriendlyName%
> ************************************************
> These pin infos will disappear if I register CLSID_CTVTunerFilter
> (kstvtune.ax).
> ************************************************
> [TVTuner.Interface.AddReg]
> HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
> HKR,,FriendlyName,,%TVTuner.FriendlyName%
> ************************************************
>
> How could I register IAMTVTune (kstvtune.ax) interface and display pin
> infos on InsertFilter dialog of GraphEdit? Do you have any suggestion
> about
> my problem? Any comments are very appreciated.
>
> Thanks,
> Edward
>
> "Edward Hsu" wrote:
>
>> I could only see the FriendlyName of TV tuner and audio decoder
>> filters
>> in InsertFilter dialog of GraphEdit. Do I need to setup some flags or
>> parameters to show pin infos on it?
>>
>> Thanks,
>> Edward
>>
>> "Max Paklin" wrote:
>>
>> > Most likely reason is a mismatch between reported medium GUIDs.
>> > Open up GraphEdit and check what it shows as a medium GUID in Insert
>> > Filter
>> > dialog (you can browse filter and its pins).
>> >
>> > Internally TV Tuner must be making assumption that any pin must have
>> > its
>> > medium GUID to set to nonzero value (GUID_NULL is all zeros) so it
>> > ignores
>> > and doesn't expose the pin with "empty" medium.
>> >
>> > -- Max.
>> >
>> >
>> > "Edward Hsu" <EdwardHsu@discussions.microsoft.com> wrote in message
>> > news:DF412F70-6B49-4C9B-B012-D4FBA8A10D71@microsoft.com...
>> > > Dear All,
>> > > I implement a TV tuner, TV audio decoder and crossbar filters. I
>> > > also
>> > > implement PROPSETID_TUNER, PROPSETID_VIDCAP_CROSSBAR and
>> > > PROPSETID_VIDCAP_TVAUDIO property set for them. My current status is
>> > > that
>> > > I
>> > > could connect TV video pin of tuner filter to crossbar filter
>> > > successfully.
>> > > But I cannot connect TV audio outpin of tuner filter to TV audio
>> > > inpin of
>> > > TV
>> > > audio filter.
>> > > What value should I set to the TVAudioMedium fileld of
>> > > KSPROPERTY_TUNER_CAPS_S structure if I want to connect TV audio
>> > > outpin of
>> > > tuner filter to TV audio filter (not crossbar filter)?
>> > > PS : I have ever tried to set the GUID of TVAudioMedium to
>> > > GUID_NULL
>> > > and
>> > > then my tuner audio outpin of tuner filter disappear.
>> > > Any comments are welcome and very appreciated.
>> > > Thanks,
>> > > Edward
>> >
>> >
>> >



Re: AVStream: failed to connect TV tuner and TV audio decoder filt by EdwardHsu

EdwardHsu
Tue Sep 21 03:59:03 CDT 2004

Hi Max,

You are right. I forgot to call KsRegisterFilterWithNoKSPins routine.
After called this routine, I could see pin's medium in InsertFilter dialog of
GraphEdit. I checked the medium values for TV audio outpin of TV tuner filter
and TV audio inpin of TV audio filter. They are same. But I still cannot
connect these two pins. Do you have any other suggestions?

Thanks,
Edward

"Max Paklin" wrote:

> TV tuners have to be handled by kstvtune.ax. Changing it to KS Proxy is
> asking for trouble. It won't work as kstvtune.ax implements basic tuning
> interfaces and ksproxy.ax doesn't.
>
> You do call KsRegisterFilterWithNoKSPins on your tuner filter, don't you?
>
> -- Max.
>
>
> "Edward Hsu" <EdwardHsu@discussions.microsoft.com> wrote in message
> news:9C79F56B-C1DA-472C-BFEE-FC5A877022B3@microsoft.com...
> > I found a strange situation to display pin infos of TV tuner filter in
> > InsertFilter dialog of GraphEdit. The pin infos will display on it if I
> > register CLSID for ksproxy.ax.
> > ************************************************
> > [TVTuner.Interface.AddReg]
> > HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
> > HKR,,FriendlyName,,%TVTuner.FriendlyName%
> > ************************************************
> > These pin infos will disappear if I register CLSID_CTVTunerFilter
> > (kstvtune.ax).
> > ************************************************
> > [TVTuner.Interface.AddReg]
> > HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
> > HKR,,FriendlyName,,%TVTuner.FriendlyName%
> > ************************************************
> >
> > How could I register IAMTVTune (kstvtune.ax) interface and display pin
> > infos on InsertFilter dialog of GraphEdit? Do you have any suggestion
> > about
> > my problem? Any comments are very appreciated.
> >
> > Thanks,
> > Edward
> >
> > "Edward Hsu" wrote:
> >
> >> I could only see the FriendlyName of TV tuner and audio decoder
> >> filters
> >> in InsertFilter dialog of GraphEdit. Do I need to setup some flags or
> >> parameters to show pin infos on it?
> >>
> >> Thanks,
> >> Edward
> >>
> >> "Max Paklin" wrote:
> >>
> >> > Most likely reason is a mismatch between reported medium GUIDs.
> >> > Open up GraphEdit and check what it shows as a medium GUID in Insert
> >> > Filter
> >> > dialog (you can browse filter and its pins).
> >> >
> >> > Internally TV Tuner must be making assumption that any pin must have
> >> > its
> >> > medium GUID to set to nonzero value (GUID_NULL is all zeros) so it
> >> > ignores
> >> > and doesn't expose the pin with "empty" medium.
> >> >
> >> > -- Max.
> >> >
> >> >
> >> > "Edward Hsu" <EdwardHsu@discussions.microsoft.com> wrote in message
> >> > news:DF412F70-6B49-4C9B-B012-D4FBA8A10D71@microsoft.com...
> >> > > Dear All,
> >> > > I implement a TV tuner, TV audio decoder and crossbar filters. I
> >> > > also
> >> > > implement PROPSETID_TUNER, PROPSETID_VIDCAP_CROSSBAR and
> >> > > PROPSETID_VIDCAP_TVAUDIO property set for them. My current status is
> >> > > that
> >> > > I
> >> > > could connect TV video pin of tuner filter to crossbar filter
> >> > > successfully.
> >> > > But I cannot connect TV audio outpin of tuner filter to TV audio
> >> > > inpin of
> >> > > TV
> >> > > audio filter.
> >> > > What value should I set to the TVAudioMedium fileld of
> >> > > KSPROPERTY_TUNER_CAPS_S structure if I want to connect TV audio
> >> > > outpin of
> >> > > tuner filter to TV audio filter (not crossbar filter)?
> >> > > PS : I have ever tried to set the GUID of TVAudioMedium to
> >> > > GUID_NULL
> >> > > and
> >> > > then my tuner audio outpin of tuner filter disappear.
> >> > > Any comments are welcome and very appreciated.
> >> > > Thanks,
> >> > > Edward
> >> >
> >> >
> >> >
>
>
>

Re: AVStream: failed to connect TV tuner and TV audio decoder filt by EdwardHsu

EdwardHsu
Tue Sep 21 05:03:02 CDT 2004

Hi Max,

I could connect TV audio outpin of TV tuner filter to TV audio inpin of
TV audio filter after set InputMedium and OutputMedium fields of
KSPROPERTY_TVAUDIO_CAPS_S structure. PS : In DDK document, it mentioned that
InputMedium and OutputMedium fields are reserved for system use.

Thanks,
Edward

"Edward Hsu" wrote:

> Hi Max,
>
> You are right. I forgot to call KsRegisterFilterWithNoKSPins routine.
> After called this routine, I could see pin's medium in InsertFilter dialog of
> GraphEdit. I checked the medium values for TV audio outpin of TV tuner filter
> and TV audio inpin of TV audio filter. They are same. But I still cannot
> connect these two pins. Do you have any other suggestions?
>
> Thanks,
> Edward
>
> "Max Paklin" wrote:
>
> > TV tuners have to be handled by kstvtune.ax. Changing it to KS Proxy is
> > asking for trouble. It won't work as kstvtune.ax implements basic tuning
> > interfaces and ksproxy.ax doesn't.
> >
> > You do call KsRegisterFilterWithNoKSPins on your tuner filter, don't you?
> >
> > -- Max.
> >
> >
> > "Edward Hsu" <EdwardHsu@discussions.microsoft.com> wrote in message
> > news:9C79F56B-C1DA-472C-BFEE-FC5A877022B3@microsoft.com...
> > > I found a strange situation to display pin infos of TV tuner filter in
> > > InsertFilter dialog of GraphEdit. The pin infos will display on it if I
> > > register CLSID for ksproxy.ax.
> > > ************************************************
> > > [TVTuner.Interface.AddReg]
> > > HKR,,CLSID,,{17CCA71B-ECD7-11D0-B908-00A0C9223196}
> > > HKR,,FriendlyName,,%TVTuner.FriendlyName%
> > > ************************************************
> > > These pin infos will disappear if I register CLSID_CTVTunerFilter
> > > (kstvtune.ax).
> > > ************************************************
> > > [TVTuner.Interface.AddReg]
> > > HKR,,CLSID,,{266EEE40-6C63-11cf-8A03-00AA006ECB65}
> > > HKR,,FriendlyName,,%TVTuner.FriendlyName%
> > > ************************************************
> > >
> > > How could I register IAMTVTune (kstvtune.ax) interface and display pin
> > > infos on InsertFilter dialog of GraphEdit? Do you have any suggestion
> > > about
> > > my problem? Any comments are very appreciated.
> > >
> > > Thanks,
> > > Edward
> > >
> > > "Edward Hsu" wrote:
> > >
> > >> I could only see the FriendlyName of TV tuner and audio decoder
> > >> filters
> > >> in InsertFilter dialog of GraphEdit. Do I need to setup some flags or
> > >> parameters to show pin infos on it?
> > >>
> > >> Thanks,
> > >> Edward
> > >>
> > >> "Max Paklin" wrote:
> > >>
> > >> > Most likely reason is a mismatch between reported medium GUIDs.
> > >> > Open up GraphEdit and check what it shows as a medium GUID in Insert
> > >> > Filter
> > >> > dialog (you can browse filter and its pins).
> > >> >
> > >> > Internally TV Tuner must be making assumption that any pin must have
> > >> > its
> > >> > medium GUID to set to nonzero value (GUID_NULL is all zeros) so it
> > >> > ignores
> > >> > and doesn't expose the pin with "empty" medium.
> > >> >
> > >> > -- Max.
> > >> >
> > >> >
> > >> > "Edward Hsu" <EdwardHsu@discussions.microsoft.com> wrote in message
> > >> > news:DF412F70-6B49-4C9B-B012-D4FBA8A10D71@microsoft.com...
> > >> > > Dear All,
> > >> > > I implement a TV tuner, TV audio decoder and crossbar filters. I
> > >> > > also
> > >> > > implement PROPSETID_TUNER, PROPSETID_VIDCAP_CROSSBAR and
> > >> > > PROPSETID_VIDCAP_TVAUDIO property set for them. My current status is
> > >> > > that
> > >> > > I
> > >> > > could connect TV video pin of tuner filter to crossbar filter
> > >> > > successfully.
> > >> > > But I cannot connect TV audio outpin of tuner filter to TV audio
> > >> > > inpin of
> > >> > > TV
> > >> > > audio filter.
> > >> > > What value should I set to the TVAudioMedium fileld of
> > >> > > KSPROPERTY_TUNER_CAPS_S structure if I want to connect TV audio
> > >> > > outpin of
> > >> > > tuner filter to TV audio filter (not crossbar filter)?
> > >> > > PS : I have ever tried to set the GUID of TVAudioMedium to
> > >> > > GUID_NULL
> > >> > > and
> > >> > > then my tuner audio outpin of tuner filter disappear.
> > >> > > Any comments are welcome and very appreciated.
> > >> > > Thanks,
> > >> > > Edward
> > >> >
> > >> >
> > >> >
> >
> >
> >