TVideoGrabber.OnAVIDurationUpdated

Prev

Next

TVideoGrabber

Events

 




































































































Occurs when the AVI recording ends and the AVIDurationUpdated property is enabled.


Declaration
property OnAVIDurationUpdated: TOnAVIDurationUpdated read FOnAVIDurationUpdated write FOnAVIDurationUpdated;


__property TOnAVIDurationUpdated OnAVIDurationUpdated=read=FOnAVIDurationUpdated, write=FOnAVIDurationUpdated


Event OnAVIDurationUpdated(NewStateValue As Long, NewStateLabel As String)

Description

Occurs when closing an AVI file just recorded and the AVIDurationUpdated property is enabled.

This TOnAVIDurationUpdated event lets you update the frame rate and/or duration of the AVI clip, if needed.

This event is designed only to give access to the frame rate and duration of the AVI. Be sure not to use it as notification for the end of recording.
The end of the recording is notified by the OnRecordingCompleted event, whatever the kind of recording (AVI, ASF, MPEG).

Parameters:

FileName: returns name of the file recorded,
Frames: returns the number of frames recorded,
FrameRate: returns the real frame rate (can be adjusted),
Duration: returns the duration of the recording (can be adjusted).


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