Sample and TimeStamp in CTransInPlaceFilter



I made a CTransInPlaceFilter filter to select the frame I want to keep
and the frame I want to discard.

If I look at the system time by calling timeGetTime function in the
filter I get the number of the first column See the end of the
message. As you can see, the filter is not called evenlly. 1 ms then
81 ms later then 1 ms and so on. Why a such thing ?

About the start and the stop time of the frame I get the number of
column 3 & 4. If you look at the number you'll see that the start time
of the Nth frame is earlier than the end time of the Nth-1 frame. frame
#2 start 1310000 finish 1710000 then frame #3 start 1ms after frame #2.

Is there anybody who can explain the reason of this delevery time
sample ?

timeGetTime() Delta Time Start Time End Time Start(N)-End(N-1)
2567419 81 500000 900000
2567500 1 1310000 1710000 410000
2567501 81 1320000 1720000 -390000
2567582 1 2130000 2530000 410000
2567583 81 2140000 2540000 -390000
2567664 1 2950000 3350000 410000
2567665 81 2960000 3360000 -390000
2567746 1 3770000 4170000 410000
2567747 81 3780000 4180000 -390000

thanks

Z

.



Relevant Pages

  • Encoding residual (LPC on speech signal)
    ... samples -- at 8kHz sampling rate), I compute the optimal prediction filter, and then apply that filter to the signal is the optimal prediction filter). ... entire frame with, say, 10 or 20 values, that's much better than ... I notice that the residual consists of a few peaks plus noise, ...
    (comp.dsp)
  • Re: Interleaving video and audio; GetCurrentPosition problems
    ... >> filter as a starting point. ... I was wanting FillBuffer to just send a frame ... >> and routed one end to the AVI Mux, one end to a Video Renderer ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Simple AVI Creator
    ... I assume I can build my filter using transformfilter class. ... >> Hi Iain, and Thore, thanks for all the help so far. ... > IT seems to me that what you want is a series of single frame images one ... > Thore indicates that an AVI file handles discontinuities well enough. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: ip phone design considerations
    ... > I am planning on designing an IP phone for a student project. ... An anti-aliasing filter would be good. ... Can this interpolation be a simple capacitor or coil? ... Should I repeat the last frame if a frame is ...
    (sci.electronics.design)
  • Re: New transform for video
    ... to handle motion without blocks. ... The new transform is compatible with bocks. ... if you stop the filter there (at ... Something like this: an inter frame can be divided into 2 regions: one ...
    (comp.compression)