1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4GetTrackNumberOfSamples - Get the number of samples in a track
7
9 #include <mp4.h>
10
11 u_int32_t MP4GetTrackNumberOfSamples(
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 number of samples is desired.
21
23 Upon success, the number of samples in the track. Upon an error, 0.
24
26 MP4GetTrackNumberOfSamples returns the number of samples in the speciā
27 fied track in the mp4 file. Sample id's are the consecutive sequence of
28 numbers from 1 to the total number of samples, i.e. 1-based indexing,
29 not 0-based indexing.
30
32 MP4(3)
33
34
35
36Cisco Systems Inc. Version 0.9 MP4(3)