Re: Set property of filter in program

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Tue, 21 Feb 2006 17:38:49 +1000, Vasya Pupkin wrote:

Hi!

I want to set some properties of DShow filter inside my program.

I found that I may display property page by quering
ISpecifyPropertyPages interface and then calling OleCreatePropertyFrame. . .

But I doesn't want to display property window, instead I want to
set some properties without displaying the window.

Is it possible? And if possible, how I may do it?

Best regards,
Vasya.

PS: Sorry for my English.

It depends on the property. Some properties are supported by well defined
interfaces (IAMStreamConfig for example). This is generally the case for
more recent 'standard' filters. 3rd party filters may or may not have
interfaces to control the properties on property pages.

There is a 'hack' which lets you open and modify the property page without
it being displayed. Alessandro posted it sometime last year - you will
need to search this group.

Iain
--
Iain Downs (DirectShow MVP)
Commercial Software Therapist
www.idcl.co.uk
.



Relevant Pages

  • Re: NDIS_MINIPORT_CHARACTERISTICS
    ... I am referring to NDIS-hooking filters that wrap the NDIS interfaces. ... kernel security if unsigned drivers and components can so easily ...
    (microsoft.public.development.device.drivers)
  • Crap: Really no programmatically filter control in DirectShow??
    ... I try to use several MPEG2-Decoders in my DirectShow application. ... Besides the quality and performance issues among all the filters you can get ... If I have to know what interfaces a COM object can use (I can only ... So I can only control these filters, where .h header files exist from the ...
    (microsoft.public.win32.programmer.directx.video)
  • XDS Codec - any experiences
    ... We have been implementing a number of filters in WME9, ... except the XDS_Codec filter and interfaces ... In the documentation, there are several vague points which we ...
    (microsoft.public.windowsmedia.sdk)
  • Learning basics of Directshow and questions
    ... Each type of Directshow filters has its own Standard interfaces, ... custom interfaces. ...
    (microsoft.public.win32.programmer.directx.video)
  • Looking for more docs on PfCreateInterface
    ... My main goal is to add filters to the WAN ips on the server boxes so that I ... Are the filter interfaces created via PfCreateInterface persisted on the ... without modifying the settings? ...
    (microsoft.public.win32.programmer.networks)