MP4GetTrackDuration - Get the duration of a track
#include <mp4.h>
MP4Duration MP4GetTrackDuration(
MP4FileHandle hFile,
MP4TrackId trackId
)
The duration in track time scale units of the track in the mp4 file.
MP4GetTrackDuration returns the total duration of all the samples in the specified track in the mp4 file.
Caveat: The value is in units of the track time scale.
MP4(3)