Re: Direcshow problems with WMV9 Decoder for XP platform



Acutally I think maybe the problem is on the encoder side. Looking at
wireshark it seems the packets are not sent very fast.

On the Pocket PC ... I have the following graph
hr = pFilterGraph->ConnectDirect(m_pCamOutPin , m_pBufferInPin, 0);
hr = pFilterGraph->ConnectDirect(m_pBufferOutPin , m_pEncoderInPin, 0);
hr = pFilterGraph->ConnectDirect(m_pEncoderOutPin , stackPin, 0);

Maybe the CLSID_BufferingFilter needs something set or causing the delay?

Thanks,
Kris




"Alessandro Angeli" wrote:

From: "Kris"

sample flags (syncpoint, discontinuity, preroll) are set
as the same ...

IMediaSample::GetTime() is not set on the receiver side
(it is set on the sending side). What values do I need to
set for the start and end time? Do I need to ship those
accross ?

It depends on the exact graph (wjat is it?) but it would be
better if you did.

On the sender side, substract the start time of the first
sample from the values (so that they are zero-based). On the
receiver side, use the value as they are or, if you are a
live source, add to them the graph's current reference clock
time of when you deliver the first sample).

You should still produce the 2 logs since they will give you
clues on what is going on.

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



.


Loading