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



THe simplest thing to do is this.

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

see which ones work.
Thats the first thing I did: All of the tested files work in the
desktop... None of the tested files work in WM5 (device or emulator).

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.
The mentioned files work like this in the desktop filter graph showing in
Graph Edit.
File -> AVI Splitter -> AVI Decompressor -> Video Renderer. These same
filters exist in both the emulator and a Dell Axim X51v device.

There should be a statement of which decopressors are supplied with mobile
somewhere on the MS site.
There is .. and it shows .. but this (like most WinCE documentation) has
MANY inconsistencies. .. this is my source of confusion.

"Iain" <Iain@xxxxxxxxxxxxxxxxxx> wrote in message
news:1qbk6jwrudirq$.19fvyzai4gs1g$.dlg@xxxxxxxxxxxxx
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: IAMStreamConfig::SetFormat problem
    ... Do your change in format before you render your graph. ... Look at samples to see if they can use the IAMStreamConfig interface on ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: What happened to the Multi-File parser?
    ... need to render and seek seamlessly in sequence, ... //set windowless, query windowless control, set clipping window etc etc ... Am I not setting up the graph correctly? ... I'm not 100% certain about the MediaTime vs. SetStartStop. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Controlling DataFlow upstream of a Smart Tee.
    ... > Source Filter instead of Device Capture Filter). ... The graph I made works ... If you take the file and render it in GraphEdit, ... clock) but an async file reader. ...
    (microsoft.public.win32.programmer.directx.video)
  • GMFBridge, Windowless VMR and Multiple Monitors
    ... I have a simple application with a capture graph that reads a file and throws ... the samples through GMFBridge to a render graph with a windowless VMR9. ... I rigged up SampleGrabbers in the capture and render graphs to count the ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: i need to generate a "distance" graph given x and y locations
    ... If you are saying you want to change the distance between the axis scale ... "David Biddulph" wrote: ... If you want to highlight a particular point, you can do that with Format ... graph, then you can plot the graph. ...
    (microsoft.public.excel.worksheet.functions)