1MP4(3)                      MP4 File Format Library                     MP4(3)
2
3
4

NAME

6       MP4GetSampleSize - Get the size of a track sample
7

SYNTAX

9       #include <mp4.h>
10
11       u_int32_t MP4GetSampleSize(
12            MP4FileHandle hFile,
13            MP4TrackId trackId,
14            MP4SampleId sampleId
15       );
16

ARGUMENTS

18       hFile  Specifies the mp4 file to which the operation applies.
19
20       trackId
21              Specifies the track to which the operation applies.
22
23       sampleId
24              Specifies the sample to which the operation applies. Caveat: the
25              first sample has id 1 not 0.
26
27

RETURN VALUES

29       Upon success, the sample size in bytes. Upon an error, 0.
30

DESCRIPTION

32       MP4GetSampleSize returns the size in bytes of the specified sample from
33       the specified track.
34

SEE ALSO

36       MP4(3)
37
38
39
40Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum