Re: Direcshow problems with WMV9 Decoder for XP platform





"Alessandro Angeli" wrote:

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

My code does not call the GetDeliveryBuffer90 or Deliver90 methods. It have
a FillBuffer() in my custom filter on the receiver end.

successfully? Do you set the syncpoint flag on the
keyframes? The DMO does no decode until it sees a keyframe.

I am very green to all this. I do not think I am doing this? what is a
keyframe?

Also is there a way to set DEBUG trace on the DMOs?






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.


To be honest ... I am not 100% certain how PropertyBag works ;-)
I am sending a live stream and not saving anything into containers so was
thinking this is something I maybe needed to do.



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



.


Loading