[Audio and Video] AAC audio compression format

AAC audio compression format

ADTSvsADIF

Insert image description here
Summarize:

  • ADTS can be decoded at any frame, which means that each frame has header information [default format]

  • ADIF has only one unified header, so all data must be obtained and decoded [generally not used]

Each frame structure

Insert image description here
The ADTS header file of each frame contains information such as the audio sampling rate, channel, frame length, etc., for the decoder to parse and read.

header information

  • 7 bytes in total
  • 2 parts
    • adts_fixed_header();——Fixed header information
    • adts_variable_header();——Variable header information
  • The data in the fixed header information is the same every frame, while the variable header information changes from frame to frame.
Fixed header information


Insert image description hereDescription of important parameters of structure attributes
Insert image description here

Variable header information

Structure Properties
Insert image description here
Important Parameter Description
Insert image description here

Supongo que te gusta

Origin blog.csdn.net/qq_43537701/article/details/132912701
Recomendado
Clasificación