Skip to content

DroppedFrames

property, read-only

Delphi
property DroppedFrames: LongInt read GetDroppedFrameCount;
C++Builder
__property System::LongInt DroppedFrames = {read=GetDroppedFrameCount, nodefault};
C#
public int DroppedFrames { get; }
VB.NET
Public ReadOnly Property DroppedFrames As Integer
C++/Qt
int GetDroppedFrames ();

Retrieves the current number of dropped frames since preview or recording started.

With a video capture device, these are the frames missing from the first frame received, according to the time stamps of the frames (with the frame grabber), or to the frames delivered by the driver (frame grabber disabled): the startup time of the device is not counted, nor a frame received late; a device that delivers fewer frames than its frame rate (e.g. in low light) is counted. The count is reported from 4 seconds after the start. DroppedFramesPollingInterval > 0 sets how often the driver is queried; with the frame grabber disabled, the frames delivered are compared on these polls only: a frame missing is then counted up to 3 intervals later, and a device clock that differs slightly from its frame rate can be counted.