TVideoGrabber.OnRecordingReadyToStart

Prev

Next

TVideoGrabber

Events

 




































































































Occurs when the recording is ready to start.


Declaration
property OnRecordingReadyToStart: TEventNotification read FOnRecordingReadyToStart write FOnRecordingReadyToStart;


__property TEventNotification OnRecordingReadyToStart=read=FOnRecordingReadyToStart, write=FOnRecordingReadyToStart


Event OnRecordingReadyToStart()

Description

This TOnRecordingReadyToStart event allows you to start the recording at a given accurate time.

When calling StartRecording , a delay is necessary to create/open the recording file and build the recording graph.
When these operations are completed, and before the recording starts, this event occurs and holds the recording until exiting.
At this point:
- you can show a dialog asking to start or cancel recording (see the MainDemo project from sample code).
- invoke ResumeRecording() to start the recording, or StopRecording() to cancel.


See Also
Recording methods and properties TAVIMuxConfig TASFDeinterlaceMode TAutoFileName TOnRecordingCompleted TOnRecordingReadyToStart TRecordingMethod TSyncPreview AudioRecording AudioSyncAdjustment AutoFileNameMinDigits AVIDurationUpdated AVIFormatOpenDML AVIHeaderInfo AVIInfo Encoder_SetInt HoldRecording IsRecordingPaused Last_Recording_FileName OnBacktimedFramesCountReached OnCopyPreallocDataCompleted OnCopyPreallocDataProgress OnCopyPreallocDataStarted OnCreatePreallocFileCompleted OnCreatePreallocFileStarted OnDiskFull OnRecordingCompleted OnRecordingPaused OnRecordingStarted OnReencodingCompleted OnReencodingStarted PauseRecording PreallocCapFileCopiedAfterRecording PreallocCapFileEnabled PreallocCapFileName PreallocCapFileSizeInMB RecordingBacktimedFramesCount RecordingCanPause RecordingDuration RecordingFileName RecordingFileSizeMaxInMB RecordingFourCC RecordingHeight RecordingInNativeFormat RecordingKBytesWrittenToDisk RecordingMethod RecordingSize RecordingTimer RecordingTimerInterval RecordingWidth ResumeRecording SaveCompressorSettingsToDataString SetMultiplexerFilterByName StartAudioRecording StartRecording StartSynchronized StopRecording StoragePath Synchronized SyncPreview