Re: Direcshow problems with WMV9 Decoder for XP platform



From: "Kris"

I think this is when I close the app. I have that same
error in the working traces. I get no other errors.

The pins all connect with success. I am using
ConnectDirect.

Do GetDeliveryBuffer() and Deliver() always return
successfully? Do you set the syncpoint flag on the
keyframes? The DMO does no decode until it sees a keyframe.

I read on msdn "For video content stored in a container
other than ASF, the MFPKEY_ASFOVERHEADPERFRAME property
must be set to 0. This is not the default value."

They say to change this value using IPropertyBag::Write
... but I have not been able to do so on the DMO obj. I
can QueryInterface the IPropertyBag successfully but
cannot seem to be able to read anything.

Why should you be able to read? I mean, the IPropertyBag
implemented by the DMO may support reading the values back,
but that is not what the documentation says: only writing to
it is mentioned. Besides, the page you quoted refers to the
Win32 encoder DMO, not the WinCE one. I used the latter and
I had no problem decoding the samples on XP, without messing
around with that property.



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


.


Loading