1MP4(3) MP4 File Format Library MP4(3)
2
3
4
6 MP4GetTrackAudioMpeg4Type - Get the encoding type of an MPEG-4 audio
7 track
8
10 #include <mp4.h>
11
12 u_int8_t MP4GetTrackAudioMpeg4Type(
13 MP4FileHandle hFile,
14 MP4TrackId trackId
15 )
16
18 hFile Specifies the mp4 file to which the operation applies.
19
20 trackId
21 Specifies the track for which the MPEG-4 audio type is desired.
22
24 Upon success, the MPEG-4 audio type of the track. Upon error,
25 MP4_MPEG4_INVALID_AUDIO_TYPE is returned.
26
28 MP4GetTrackAudioMpeg4Type returns the MPEG-4 encoding type of the spec‐
29 ified MPEG-4 audio track in the mp4 file. If an mp4 audio track has
30 type MP4_MPEG4_AUDIO_TYPE, this call can be used to determine which
31 specific MPEG-4 audio encoding is contained in the track. (Note: This
32 information is retrieved from the audio track ES configuration.)
33
34 Known audio encoding types are:
35
36 MP4_MPEG4_AAC_MAIN_AUDIO_TYPE
37 MPEG-4 AAC Main profile
38
39 MP4_MPEG4_AAC_LC_AUDIO_TYPE
40 MPEG-4 AAC Low Complexity profile
41
42 MP4_MPEG4_AAC_SSR_AUDIO_TYPE
43 MPEG-4 AAC SSR profile
44
45 MP4_MPEG4_AAC_LTP_AUDIO_TYPE
46 MPEG-4 AAC Long Term Prediction profile
47
48 MP4_MPEG4_AAC_SCALABLE_AUDIO_TYPE
49 MPEG-4 AAC Scalable
50
51 MP4_MPEG4_CELP_AUDIO_TYPE
52 MPEG-4 CELP
53
54 MP4_MPEG4_HVXC_AUDIO_TYPE
55 MPEG-4 HVXC
56
57 MP4_MPEG4_TTSI_AUDIO_TYPE
58 MPEG-4 Text To Speech
59
60 MP4_MPEG4_MAIN_SYNTHETIC_AUDIO_TYPE
61 MPEG-4 Main Synthetic profile
62
63 MP4_MPEG4_WAVETABLE_AUDIO_TYPE
64 MPEG-4 Wavetable Synthesis profile
65
66 MP4_MPEG4_MIDI_AUDIO_TYPE
67 MPEG-4 MIDI profile
68
69 MP4_MPEG4_ALGORITHMIC_FX_AUDIO_TYPE
70 MPEG-4 Algorithmic Synthesis and Audio FX profile
71
72
74 MP4(3) MP4GetTrackAudioType(3)
75
76
77
78Cisco Systems Inc. Version 0.9 MP4(3)