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

NAME

6       MP4GetTrackType - Get the track type
7

SYNTAX

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

ARGUMENTS

17       hFile  Specifies the mp4 file to which the operation applies.
18
19       trackId
20              Specifies the track for which the type is desired.
21
22

RETURN VALUES

24       Upon  success,  a  string that indicates the track type. Upon an error,
25       NULL.
26
27

DESCRIPTION

29       MP4GetTrackType gets the type of the track with the specified track id.
30
31       Note: the library does not  provide  a  MP4SetTrackType  function,  the
32       track  type  needs  to  be  specified  when  the track is created, e.g.
33       MP4AddSystemsTrack(MP4_OCI_TRACK_TYPE).
34
35       Known track types are:
36
37            MP4_OD_TRACK_TYPE        "odsm"
38            MP4_SCENE_TRACK_TYPE     "sdsm"
39            MP4_AUDIO_TRACK_TYPE     "soun"
40            MP4_VIDEO_TRACK_TYPE     "vide"
41            MP4_HINT_TRACK_TYPE      "hint"
42            MP4_CLOCK_TRACK_TYPE     "crsm"
43            MP4_MPEG7_CLOCK_TYPE     "m7sm"
44            MP4_OCI_TRACK_TYPE       "ocsm"
45            MP4_IPMP_TRACK_TYPE      "ipsm"
46            MP4_MPEGJ_TRACK_TYPE     "mjsm"
47

SEE ALSO

49       MP4(3)
50
51
52
53Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum