TAutoFileName

Prev

Next

 






































































































Type used by the AutoFileName property.


Unit
VidGrab

Declaration
TAutoFileName=(fn_Sequential, fn_DateTime);


enum TAutoFileName fn_Sequential, fn_DateTime ;

Description

fn_Sequential:

The file name is based on a sequential number prefixed by AutoFilePrefix , starting from 000001.
e.g.: vg000010.avi, vg000011.avi

fn_DateTime:

The file name is based on the yymmdd_hhmmss_zzz date/time format (zzz = milliseconds) prefixed by AutoFilePrefix .
e.g. vg030616_090603_904.jpg

fn_Counter:

equivalent to fn_Sequential, but existing files are overwritten.

fn_Modulo:

used to capture the last N frames.

If you set BurstMode = true and BurstCount = N, the last N frames are generated, and when N is reached the file number restarts from 1.
E.g. if BurstCount = 5, the files are written in the following order:

vg000001.jpg vg000002.jpg vg000003.jpg vg000004.jpg vg000005.jpg vg000001.jpg vg000002.jpg vg000003.jpg ...



See Also
Recording methods and properties TAVIMuxConfig TASFDeinterlaceMode TFrameCaptureDest TOnFrameCaptureCompleted TOnRecordingCompleted TOnRecordingReadyToStart TRecordingMethod TSyncPreview AudioRecording AudioSyncAdjustment AutoFileNameMinDigits AVIDurationUpdated AVIFormatOpenDML AVIHeaderInfo AVIInfo BurstCount BurstInterval BurstMode BurstType CaptureFrameSyncTo CaptureFrameTo Encoder_SetInt FrameCaptureHeight FrameCaptureWidth FrameCaptureWithoutOverlay FrameCaptureZoomSize GetFrameInfoString GetLastFrameAsHBITMAP GetLastFrameAsTBitmap GetLastFrameBitmapBits GetLastFrameBitmapBits2 GetLastFrameWaitTimeoutMs HoldRecording IsRecordingPaused JPEGPerformance JPEGProgressiveDisplay JPEGQuality Last_BurstFrameCapture_FileName Last_CaptureFrameTo_FileName Last_Recording_FileName OnBacktimedFramesCountReached OnCopyPreallocDataCompleted OnCopyPreallocDataProgress OnCopyPreallocDataStarted OnCreatePreallocFileCompleted OnCreatePreallocFileStarted OnDiskFull OnFrameBitmap 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 SetFrameCaptureBounds SetMultiplexerFilterByName StartAudioRecording StartRecording StartSynchronized StopRecording StoragePath Synchronized SyncPreview WebcamStillCaptureButton