Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WMP , DMO decoder question

1 view
Skip to first unread message

Roey

unread,
Nov 22, 2009, 4:31:33 AM11/22/09
to
Hi all.

I'm writing a Windows Media Player DMO that decodes a custom stream
from an ASF file.

The final product would be bitmaps to be fed into WMP's Video Renderer
for display.

The problem is that each sample I receive from the ASF file is a
buffer containing several bitmaps, and so I can't feed the renderer
one bitmap per one input sample...

My question is - MUST each sample fed to the VR contain a single
bitmap? can it contain several bitmaps (which it can then play as a
movie)?

I hope someone can help me :)

Thanks Roey

Alessandro Angeli

unread,
Nov 23, 2009, 1:25:06 PM11/23/09
to
From: "Roey"

> The problem is that each sample I receive from the ASF
> file is a buffer containing several bitmaps, and so I
> can't feed the renderer one bitmap per one input sample...

WMP (or rather, WMF) should be feeding you 1 ASF media
object per input media buffer. If you want 1 picture per
input media buffer, you should try muxing the data that way
into your ASF file.

> My question is - MUST each sample fed to the VR contain a
> single bitmap? can it contain several bitmaps (which it
> can then play as a movie)?

Uncompressed RGB or YUV media buffers must contain 1
progressive frame or 2 interlaced fields per media buffer.

--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


0 new messages