absolute sample stream time

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello!
I am looking for a solution that gives me the absolut stream time of a
IMediaSample. I am using the ISampleGrabber to grab samples from the
stream. After that I get the sample time with GetTime(). But if i
stop/pause/seek the graph the time in the IMedianSample is relative to
the last startposition. How can i get the absolute time of the sample
in the stream?

Thanks in advance...

.



Relevant Pages

  • Re: absolute sample stream time
    ... > I am looking for a solution that gives me the absolut stream time of a ... > IMediaSample. ... Iain Downs ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Direcshow problems with WMV9 Decoder for XP platform
    ... Disregard the comment about how to access IMediaSample. ... Get the flag on the encoder side, transmit it to the decoder ... You've been lucky because the stream packing you had ...
    (microsoft.public.win32.programmer.directx.video)