Hi,

I've read a bunch of other posts, confirming my observation that on
Windows CE 5.0 we only have an MP3 Decoder DMO and WMV *Encoder* DMO.
This goes in hand with my inability to load WMV files with
IGraphBuilder::RenderFile.

So, my questions are:
1. My final goal is to decode a single (thumbnail) frame from a video
file (which WMP supports). Is there a WMP API to do it?
2. Surprisingly I could load AVI files with IGraphBuilder::RenderFile,
even though AVI files don't have a DMO, so maybe I can construct a WMV
pipeline as well by using some component manually? -- (If I could,
then writing an output filter to dump frames to image files would be
easy.)

Thanks.

P.S. In the Windows CE Multimedia Blog, I've seen references to
"WMVideo & MPEG4 Decoder DMO" but I'm guessing this is something new
with Windows CE 6.0.

Re: decode wmv by Ilya

Ilya
Mon Jul 09 09:38:04 CDT 2007

On Jul 5, 4:43 pm, Yang wrote:
> My platform is Windows Mobile 5.0, I have to decode
> the WMV video too. I call Windows Media Player ActiveX control to solve the problem, it does work.

We also have a WMP-based embedded player which works great.

> But I cannot get every frame data from the video.
>
> Have you solve the problem? If you have, would you like tell me how to do it.

Still no luck. We'll probably either wait until we upgrade to WinCE
6.0 (hopefully it has a WMV decoder on DirectShow -- there are signs
it does, but I did NOT verify that) or use a different decoder (e.g.
porting ffmpeg should be possible ...).