TVideoGrabber.RecordingPauseCreatesNewFile

Prev

Next

TVideoGrabber

Properties

 




































































































Generates a new recording file each time the recording is paused.


Declaration
property RecordingPauseCreatesNewFile: Boolean read GetRecordingPauseCreatesNewFile write SetRecordingPauseCreatesNewFile default DEF_RecordingOnMotion_CreateNewFiles;


__property bool RecordingPauseCreatesNewFile=read=GetRecordingPauseCreatesNewFile, write=SetRecordingPauseCreatesNewFile, default=0


Property RecordingPauseCreatesNewFile As Boolean

Description

When pausing the recording and this property is enabled, a new recording file name is generated automatically.

The new file is not created when resuming the recording, but rather when the recording is paused by invoking PauseRecording.
By this way, the file is already created and opened when invoking ResumeRecording, so no frames are lost at this time.
If the recording is stopped before invoking ResumeRecording, the new empty file (that has just been created before, when PauseRecording has been invoked) is deleted.


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