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

NAME

6       MP4AddTrack - Add a user defined track
7

SYNTAX

9       #include <mp4.h>
10
11       MP4TrackId MP4AddTrack(
12            MP4FileHandle hFile,
13            const char* type
14       )
15

ARGUMENTS

17       hFile  Specifies the mp4 file to which the operation applies.
18
19       type   Specifies the type of track to be added.
20

RETURN VALUES

22       Upon   success,  the  track  id  of  the  new  track.  Upon  an  error,
23       MP4_INVALID_TRACK_ID.
24
25

DESCRIPTION

27       MP4AddTrack adds a user defined track to the mp4 file. Care  should  be
28       taken  to avoid any of the standardized track type names. A useful con‐
29       vention is use only uppercase characters for user defined track  types.
30       The string should be exactly four characters in length, e.g. "MINE".
31
32       Note  this  should  not  be  used  to  add any of the known track types
33       defined in the MP4 standard (ISO/IEC 14496-1:2001).
34
35
36

SEE ALSO

38       MP4(3)
39
40
41
42Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum