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

NAME

6       MP4GetTrackEditTotalDuration  - Get the total duration of a sequence of
7       track edit segments
8

SYNTAX

10       #include <mp4.h>
11
12       MP4Duration MP4GetTrackEditTotalDuration(
13            MP4FileHandle hFile,
14            MP4TrackId trackId,
15            MP4EditId editId = MP4_INVALID_EDIT_ID
16       )
17

ARGUMENTS

19       hFile  Specifies the mp4 file to which the operation applies.
20
21       trackId
22              Specifies the track to which the operation applies.
23
24       editId Specifies the edit segment  for  which  the  total  duration  is
25              desired.  A value of MP4_INVALID_EDIT_ID specifies that all edit
26              segments should be included.
27

RETURN VALUES

29       The total duration of the edit segment sequence  in  track  time  scale
30       units of the track in the mp4 file.
31

DESCRIPTION

33       MP4GetTrackEditTotalDuration  returns  the total duration of the speci‐
34       fied sequence of track edit segments from the first edit segment up  to
35       and  including  the  specified  edit  segment.  If the edit id value is
36       MP4_INVALID_EDIT_ID, then the total duration of all of  the  edit  seg‐
37       ments is returned.
38
39       Caveat: The value is in units of the track time scale.
40

SEE ALSO

42       MP4(3) MP4GetTrackEditDuration(3)
43
44
45
46Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum