GetVideoFPS (DVR version only)
Description
Returns the playback frame rate of the currently open video file or memory sequence. The default frame rate at which the video was recorded can be changed by calling
SetVideoFPS
.
Syntax
[VB]
Value=objActiveGige.GetVideoFPS
[C/C++]
HRESULT GetVideoFPS(float* pValue);
Data Types
[VB]
Return value
: Single
Parameters
[C/C++]
pValue
[out,retval]
Pointer to the fps value
Return Values
S_OK
Success
E_FAIL
Failure.
Example
This VB example opens an AVI file and displays its frame rate.
ActiveGige1.OpenVideo "c:\\video1.avi"
MsgBox ActiveGige1.GetVideoFPS