AAC Audio Encoding¶
AAC (Advanced Audio Coding) is a lossy audio compression format commonly used for streaming, broadcast, mobile, and MP4-family media. These encoder samples produce AAC in ADTS format, where each audio frame carries its own header so the output can be stored or streamed as an elementary audio stream.
These samples show how to encode uncompressed audio to AAC/ADTS with Transcoder::run, Transcoder::pull, and Transcoder::push.
AAC ADTS Encoder (Run) - Encode uncompressed audio to an AAC/ADTS file with Transcoder::run.
AAC ADTS Encoder (Pull) - Pull encoded AAC samples from the transcoder and write them to an ADTS file.
AAC ADTS Encoder (Push) - Push uncompressed audio samples into the transcoder to produce AAC/ADTS output.