|
|
|
date: Thu, 17 Jul 2008 05:37:30 -0700 (PDT),
group: microsoft.public.win32.programmer.directx.video
back
How to set custom properties on a filter?
I have a Pinnacle Dazzle capture box to capture video. I've set up a
graph in GraphEdit to capture the video into a file, and arranged for
the data to be saved in MPEG2 video format via the property page of
the Dazzle filter. That all works fine, and I can capture and play
the file.
Now, I want to achieve the same thing programmatically, using
DirectShowLib v2. The problem is I don't know how to programmatically
set the Dazzle filter to output MPEG2.
Going back to GraphEdit, there are a number of property pages for the
Dazzle filter. Some of these, like 'Video Decoder' map to interfaces
in DirectShowLib, and I can cast the filter to these and set the
properties happily. But the 'Video Setting' page does not appear to
map to an interface, so I can't set the 'Stream' property to 'MPEG2,
IPB, DVD'.
Is there a general method of programmatically setting properties on
third party filters?
TIA.
Ian.
date: Thu, 17 Jul 2008 05:37:30 -0700 (PDT)
author: Ian
Re: How to set custom properties on a filter?
On Jul 17, 2:37 pm, Ian wrote:
> I have a Pinnacle Dazzle capture box to capture video. I've set up a
> graph in GraphEdit to capture the video into a file, and arranged for
> the data to be saved in MPEG2 video format via the property page of
> the Dazzle filter. That all works fine, and I can capture and play
> the file.
>
> Now, I want to achieve the same thing programmatically, using
> DirectShowLib v2. The problem is I don't know how to programmatically
> set the Dazzle filter to output MPEG2.
>
> Going back to GraphEdit, there are a number of property pages for the
> Dazzle filter. Some of these, like 'Video Decoder' map to interfaces
> in DirectShowLib, and I can cast the filter to these and set the
> properties happily. But the 'Video Setting' page does not appear to
> map to an interface, so I can't set the 'Stream' property to 'MPEG2,
> IPB, DVD'.
>
> Is there a general method of programmatically setting properties on
> third party filters?
>
> TIA.
>
> Ian.
You must obtain from the vendor the description of the proprietary
interface he has implemented.
date: Thu, 17 Jul 2008 09:08:47 -0700 (PDT)
author: Michel Roujansky - Senior developer, Starfish Technologies Ltd
|
|