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

NAME

6       MP4GetTrackFixedSampleDuration - Get the fixed duration of samples in a
7       track
8

SYNTAX

10       #include <mp4.h>
11
12       MP4Duration MP4GetTrackFixedSampleDuration(
13            MP4FileHandle hFile,
14            MP4TrackId trackId
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

RETURN VALUES

24       Upon success, the number of fixed duration of the samples in the  track
25       in track time scale units. Upon an error, MP4_INVALID_DURATION.
26

DESCRIPTION

28       MP4GetTrackFixedSampleDuration  returns  the duration of samples in the
29       specified track in the mp4 file, if this value is fixed  for  all  sam‐
30       ples.  This is typically the case for audio tracks and video tracks. If
31       the track samples have variable duration, then MP4_INVALID_DURATION  is
32       returned.
33

SEE ALSO

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