VideoEdit Gold ActiveX Control

GetFileFrameRate Method

Description

Get the specific video file's frame rate.

Syntax

Public Function GetFileFrameRate ( _
   ByVal strFileName as string
) As Double

 

Parameters

strFileName
    the file you want get the framerate

 

Return Value

Return duration of file
 

Example

[Visual Basic Syntax]
iFrameRate= VideoEdit1.GetFileFrameRate ("c:\hello.mpg")