Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Kris <Kris@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 9 Jul 2008 11:36:01 -0700
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 ?
Thanks,
Kris
"Alessandro Angeli" wrote:
From: "Kris".
Ah ... it's acutally not stuck on the first frame ... but
playing in *super* slow motion... like a minute to do
movement changes.
To debug this I would log the following on both the sender
and receiver side for each sample:
- current system time (::timeGetTime() - first sample's
system time so that it is zero-based on both sides)
- sample start and stop time (IMediaSample::GetTime(); be
sure to handle VFW_E_SAMPLE_TIME_NOT_SET and
VFW_S_NO_STOP_TIME)
- sample flags (syncpoint, discontinuity, preroll)
Everything must match on both sides (the system time need
only be almost the same).
--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
- Follow-Ups:
- Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Alessandro Angeli
- Re: Direcshow problems with WMV9 Decoder for XP platform
- References:
- Direcshow problems with WMV9 Decoder for XP platform
- From: Kris
- Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Alessandro Angeli
- Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Alessandro Angeli
- Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Kris
- Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Alessandro Angeli
- Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Kris
- Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Alessandro Angeli
- Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Kris
- Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Kris
- Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Kris
- Re: Direcshow problems with WMV9 Decoder for XP platform
- From: Alessandro Angeli
- Direcshow problems with WMV9 Decoder for XP platform
- Prev by Date: Re: If anyone knows how to render DVD in directshow without using Third-Party DVD Decoder ?
- Next by Date: Re: Direcshow problems with WMV9 Decoder for XP platform
- Previous by thread: Re: Direcshow problems with WMV9 Decoder for XP platform
- Next by thread: Re: Direcshow problems with WMV9 Decoder for XP platform
- Index(es):
Loading