PDA

View Full Version : Software Configuration of Ffdshow


JonE
9th July 2009, 13:53
Can anyone point me at any examples/resources for programming the Ffdshow from within a DirectShow graph ?

I've found the semi-secret interface (guid of 00F99063-70D5-4bcc-9D88-3801F3E3881B) and can use it's 'compat_putParam()' but this only works by trial and error.

For example, compat_putParam( 1027, 1 ) will configure Ffdshow to decode CRAM format (=1027) using libavcodec (=1). However, other parameters such as those for enabling or disabling out565 and out555 do not work.

Problem is I'm trying to transcode various formats to DV and whilst the Microsoft DV encoder seems to happily accept 565 and 555 formats on its input pin it subsequently encodes incorrectly. So I need to disable these output options when I instantiate the filter on my graph.

Any pointers or help greatly appreciated.

TTFN,
Jon