TVideoGrabber.AVIDuration

Prev

Next

TVideoGrabber

Methods

 




































































































Returns the duration of the AVI file specified.


Declaration
function AVIDuration(AVIFile: String; out Duration: LargeInteger; out FrameCount: LargeInteger): Boolean;


bool __fastcall AVIDuration(wchar_t *AVIFile, __int64 &Duration, __int64 &FrameCount)


Function AVIDuration(AVIFile As String, AVIDuration, AVIFrameCount) As Boolean

Description

Used to retrieve the duration of the AVI file specified.

Duration: returns the duration of the AVI file, expressed in 100 nanoseconds units, returns 0 upon failure.
FrameCount: returns the total frame count if available, otherwise returns 0.
VideoWidth: width of the video


See Also
Player features TOnPlayerStateChanged TPlayerState TOnPlayerBufferingData AudioChannelRenderMode AudioStreamNumber AutoStartPlayer AVIHeaderInfo AVIInfo AVIInfo2 ClosePlayer FastForwardPlayer IsPlayerAudioStreamAvailable IsPlayerVideoStreamAvailable Last_Clip_Played OnPlayerBufferingData OnPlayerEndOfStream OnPlayerStateChanged OnPlayerUpdateTrackbarPosition OpenPlayer OpenPlayerAtFramePositions OpenPlayerAtTimePositions PausePlayer PlayerAudioCodec PlayerAudioRendering PlayerDuration PlayerDVSize PlayerFastSeekSpeedRatio PlayerFileName PlayerForcedCodec PlayerFrameCount PlayerFramePosition PlayerFrameRate PlayerFrameStep PlayerRefreshPausedDisplay PlayerRefreshPausedDisplayFrameRate PlayerSpeedRatio PlayerTimePosition PlayerTrackBar PlayerTrackBarScale PlayerTrackBarSynchrone PlayerVideoCodec RewindPlayer RunPlayer RunPlayerBackwards ShowDialog SourceStream StopPlayer SynchronizationRole Synchronized VideoHeight_PreferredAspectRatio VideoWidth_PreferredAspectRatio