Re: DirectShow 'AVI Splitter' filter in Windows Mobile 5



On Tue, 21 Feb 2006 13:27:48 +0800, Brian Burgess wrote:

ah thx to both of you .. that seemed to get a little further..

I did a 'ConnectDirect' on the output pin of the file source filter and the
input pin of the AVI Splitter. The AVI Splitter now has an output pin
called 'Stream 00'.

So now I'm attempting to ConnectDirect again on the output from AVISplitter
to input of AVI Decompressor. But I'm getting an error back on the call to
ConnectDirect at this point: VFW_E_NO_DECOMPRESSOR(0x80040255) - Cannot
play back the video stream: could not find a suitable decompressor.
The ting to do is to call 'render' on the output pin.

It is possible that your machine does not support the file format, but
there are some formats which do not use the ACM/VCM decompressors (which is
what I believe teh AVIDecompressor wraps). Digital Video is an example.
Render will try all the decompressors in the system if need be until it
finds one that works.

Another common format that uses AVI is DivX and variants - also not present
on most machines - you may need to install a codec. There are programs
which will tell you what iws in an AVIFIle (AVIInfo may be one).

I'd be happy to try another file format if someone can guide me to build a
graph manually for whatever format they know to work. In the end I need to
make my own filter for a specific type of network stream anyway. But if
none of this works as documented, then I wont even try to make my own
filter.

THe simplest thing to do is this.

find yourself a collection of files.
create a graph
call RenderFile
Next file

see which ones work.

There should be a statement of which decopressors are supplied with mobile
somewhere on the MS site.

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



Relevant Pages

  • Re: encoding multichannel audio using the ASFWriter
    ... Do I have to configure the filter via its interface to get it to work? ... I had a look through the source code and got the feeling that was just ... On the output pin the advertised wave format should look like ... debug the format negotiation a little bit and see what is going on. ...
    (microsoft.public.windowsmedia.sdk)
  • Re: DirectShow AVI Splitter filter in Windows Mobile 5
    ... Which output pin should I call 'render' on? ... The ting to do is to call 'render' on the output pin. ... Another common format that uses AVI is DivX and variants - also not ... make my own filter for a specific type of network stream anyway. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: ASSERT in AviMux filter (dshow)
    ... My source filter is derived from CBaseFilter and I implement GetPinCount and ... My output pin is derived from CBaseOutputPin and I implement CheckMediaType, ... When I call Connect I don't specify a format, ... I use the exact same custom filter and output pin to connect to an mp3 ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Windowless VMR9 - Any Special requirements?
    ... > I'm rendering a filter output pin with a Windowless VMR9. ... requiring a bottom up DIB format. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Custom filter gets "These filters cannot agree on a connection error" (Return code: 0x
    ... > If the connection attempt starts out with the output pin of a Microsoft ... > provided filter calling GetMediaType() on my input pin, ... I would expect a filter which called first with a CheckMediaType of NULL ...
    (microsoft.public.win32.programmer.directx.video)