MP4GetDuration - Man Page

Get the duration of the movie (file)

Syntax

#include <mp4.h>

MP4Duration MP4GetDuration(
MP4FileHandle hFile
)

Arguments

hFile

Specifies the mp4 file to which the operation applies.

Return Values

The duration of the movie (file) in movie (file) time scale units.

Description

MP4GetDuration returns the maximum duration of all the tracks in the specified mp4 file.

Caveat: the duration is the movie (file) time scale units.

See Also

MP4(3) MP4GetTimeScale(3) MP4ConvertFromMovieDuration(3)

Referenced By

MP4ConvertFromMovieDuration(3).

Version 0.9 Cisco Systems Inc. MP4 File Format Library