TVideoGrabber.StartRecording

Prev

Next

TVideoGrabber

Methods

 




































































































Starts the recording.


Declaration
function StartRecording: Boolean;


bool __fastcall StartRecording(void)


Function StartRecording() As Boolean

Description

Used to start the recording by using the current video capture device (and audio capture device , if AudioRecording is enabled).

When the HoldRecording parameter is set to "false", the recording starts as soon as the recording graph is built (after a variable number of seconds, depending of the video capture device, audio/video compressors, etc...).

When the HoldRecording parameter is set to "true", the recording graph is built and started in preview mode, and the recording is held until ResumeRecording has been invoked.

When the recording graph is built, the OnRecordingReadyToStart event occurs to let you know that you can invoke ResumeRecording when you want.

See the recording chapter for more information.


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 OnRecordingReadyToStart 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 StartSynchronized StopRecording StoragePath Synchronized SyncPreview