GetVideoFPS (DVR version only)
Top  Previous  Next

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=objActiveUSB.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.

ActiveUSB1.OpenVideo "c:\\video1.avi"  
MsgBox ActiveUSB1.GetVideoFPS