This topic describes how to specify the format of an Advanced Audio Coding (AAC) stream in Media Foundation.
Two subtypes are defined for AAC audio:
Subtype Description Header MFAudioFormat_AAC Raw AAC or ADTS AAC. mfapi.h MEDIASUBTYPE_RAW_AAC1 Raw AAC. wmcodecdsp.hMFAudioFormat_AAC
For this subtype, the media type gives the sample rate and number of channels prior to the application of spectral band replication (SBR) and parametric stereo (PS) tools, if present. The effect of the SBR tool is to double the decoded sample rate relative to the core AAC-LC sample rate. The effect of the PS tool is to decode stereo from a mono-channel core AAC-LC stream.
This subtype is equivalent to MEDIASUBTYPE_MPEG_HEAAC, defined in wmcodecdsp.h. See Audio Subtype GUIDs.
MEDIASUBTYPE_RAW_AAC1
This subtype is used for AAC contained in an AVI file with the audio format tag equal to WAVE_FORMAT_RAW_AAC1 (0x00FF).
For this subtype, the media type gives the sample rate and number of channels after the SBR and PS tools are applied, if present.
The following media type attributes apply to AAC audio.
Attribute Description MF_MT_MAJOR_TYPE Major type. Must be MFMediaType_Audio. MF_MT_SUBTYPE Audio subtype. Refer to the previous description for details. MF_MT_AAC_AUDIO_PROFILE_LEVEL_INDICATION Audio profile and level.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4