TVideoGrabber.OnFrameProgress

Prev

Next

TVideoGrabber

Events

 




































































































Returns information about each video frame.


Declaration
property OnFrameProgress: TOnFrameProgress read FOnFrameProgress write FOnFrameProgress;


__property TOnFrameProgress OnFrameProgress=read=FOnFrameProgress, write=FOnFrameProgress


Event OnFrameProgress(FrameNumber As Long, FrameTime As Double, FrameId As Long)

Description


DEPRECATED, use OnFrameProgress2 instead

This TOnFrameProgress event occurs asynchronously for each video frame.

To get information about the current video frame whithin this event, invoke GetFrameInfo (FrameId, ...). E.g.

SampleTimeHour  = VideoGrabber.GetFrameInfo (FrameId, fi_SampleTime_Hour)



Look at the VideoGrabberFrameProgress event in the MainDemo project for sample code.


See Also
TOnFrameProgress TOnResizeVideo AutoRefreshPreview BackgroundColor Display_AutoSize Display_FullScreen Display_SetLocation Display_VideoPortEnabled ImageRatio InFrameProgressEvent IsVideoInterlaced IsVideoPortAvailable OnKeyPress OnPreviewStarted OnResizeVideo PausePreview PreviewZoomSize ResumePreview StartPreview StartSynchronized StopPreview Synchronized UseNearestVideoSize VideoHeight VideoRenderer VideoWidth Visible