MP4GetTrackVideoFrameRate - Man Page

Get the video frame rate of the specified video track

Syntax

#include <mp4.h>

float MP4GetTrackVideoFrameRate(
MP4FileHandle hFile,
MP4TrackId trackId
)

Arguments

hFile

Specifies the mp4 file to which the operation applies.

trackId

Specifies the track for which the video frame rate is desired.

Return Values

Upon success, the number of video frames per second of the track. Upon an error, 0.

Description

MP4GetTrackVideoFrameRate returns the frame rate of the video in the specified track in the mp4 file. If the video is variable rate, the average frame rate is returned.

See Also

MP4(3)

Info

Version 0.9 Cisco Systems Inc. MP4 File Format Library