SetVideoFPS (DVR version only)
Top  Previous  Next

Description

Sets the playback frame rate of the currently open video file or memory sequence.

Syntax


[VB]
objActiveGige.SetVideoFPS Value


[C/C++]
HRESULT SetVideoFPS(float Value);


Data Types
[VB]

Value: Single


Parameters
[C/C++]

Value [in]  
The fps value to be set  


Return Values

S_OK  
Success  
E_FAIL  
Failure.  

Example


This VB example opens an AVI file, doubles its frame rate and starts the playback.

ActiveGige1.OpenVideo "c:\\video1.avi"  
fps=ActiveGige1.GetVideoFPS * 2  
ActiveGige1.SetVideoFPS fps  
ActiveGige1.PlayVideo  
 
 

Remarks


The actual frame rate during the playback of a video file may be lower than the set frame rate. This depends on the hard drive performance and the use of compression during the recording. If an AVI file is open with the sound option, the playback rate cannot be higher than 16 times of the recorded fps.