1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4GetTrackDuration - Get the duration of a track
7
9 #include <mp4.h>
10
11 MP4Duration MP4GetTrackDuration(
12 MP4FileHandle hFile,
13 MP4TrackId trackId
14 )
15
17 hFile Specifies the mp4 file to which the operation applies.
18
19 trackId
20 Specifies the track for which the duration is desired.
21
23 The duration in track time scale units of the track in the mp4 file.
24
26 MP4GetTrackDuration returns the total duration of all the samples in
27 the specified track in the mp4 file.
28
29 Caveat: The value is in units of the track time scale.
30
32 MP4(3)
33
34
35
36Cisco Systems Inc. Version 0.9 MP4(3)