1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4GetTrackAudioType - Get the encoding type of an audio track
7
9 #include <mp4.h>
10
11 u_int8_t MP4GetTrackAudioType(
12 MP4FileHandle hFile,
13 MP4TrackId trackId
14 )
15
17 hFile Specifies the mp4 file to which the operation applies.
18
19 trackId
20 Specifies the track for which the audio type is desired.
21
23 Upon success, the audio type of the track. Upon error,
24 MP4_INVALID_AUDIO_TYPE is returned.
25
27 MP4GetTrackAudioType returns the encoding type of the specified audio
28 track in the mp4 file.
29
30 Known audio encoding types are:
31
32 MP4_MPEG1_AUDIO_TYPE
33 MPEG-1 Audio Layers I, II, & III
34
35 MP4_MPEG2_AUDIO_TYPE
36 MPEG-2 low bitrate extensions to MPEG-1 Audio
37 MP4_MP3_AUDIO_TYPE is an alias for this value
38
39 MP4_MPEG2_AAC_MAIN_AUDIO_TYPE
40 MPEG-2 AAC Main profile
41
42 MP4_MPEG2_AAC_LC_AUDIO_TYPE
43 MPEG-2 AAC Low Complexity profile
44
45 MP4_MPEG2_AAC_SSR_AUDIO_TYPE
46 MPEG-2 AAC SSR profile
47
48 MP4_MPEG4_AUDIO_TYPE
49 MPEG-4 Audio, includes MPEG-4 extensions to AAC
50
51 MP4_PRIVATE_AUDIO_TYPE
52 User private type
53
55 MP4(3) MP4AddAudioTrack(3)
56
57
58
59Cisco Systems Inc. Version 0.9 MP4(3)