2011年(f) 4.81
Ⅰ(r) 6.16
Ⅱ(p) 5.02
Ⅲ(f) 3.48
Ⅳ(f) 4.71
2012年(f) 4.58
Ⅰ(f) 4.01
Ⅱ(f) 3.77
Ⅲ(f) 5.20
Ⅳ(f) 5.25
0 Error 0. Not used. 1 EPERM Operation not permitted. An attempt was made to perform an oper- ation limited to processes with appropriate privileges or to the owner of a file or other resources. 2 ENOENT No such file or directory. A component of a specified pathname did not exist, or the pathname was an empty string. 3 ESRCH No such process. No process could be found corresponding to that specified by the given process ID. 4 EINTR Interrupted function call. An asynchronous signal (such as SIGINT or SIGQUIT) was caught by the process during the execution of an interruptible function. If the signal handler performs a normal return, the interrupted function call will seem to have returned the error condition. 5 EIO Input/output error. Some physical input or output error occurred. This error will not be reported until a subsequent operation on the same file descriptor and may be lost (over written) by any subsequent errors.
Reference |
|
adts_fixed_header()
{
syncword; 12 bits
ID; 1 bit
layer; 2 bits
protection_absent; 1 bit
profile; 2 bits
sampling_frequency_index; 4 bits
private_bit; 1 bit
channel_configuration; 3 bits
frame_length; 13 bits
adts_buffer_fullness; 11 bits
number_of_raw_data_blocks_in_frame; 2 bits
}
syncword 固定字串The bit string ‘1111 1111 1111’ -> 0xFFF,為一個ADTS檔頭的開始。
ID MPEG 標誌, 通常為1
layer Indicates which layer is used. Set to ‘00’
protection_absent 表示是否有錯誤碼校正機制,設1為是
profile 表示使用哪個等級的AAC,如01 Low Complexity(LC)--- AACLC
sampling_frequency_index sampling frequeny [Hz]
0x0 96000
0x1 88200
0x2 64000
0x3 48000
0x4 44100
0x5 32000
0x6 24000
0x7 22050
0x8 16000
0x9 2000
0xa 11025
0xb 8000
0xc reserved
0xd reserved
0xe reserved
0xf reserved
channel_configuration channel數量
frame_length 代表一個AAC Frame的長度包括ADTS檔頭和raw data block.
adts_buffer_fullness 固定值為0x7FF 說明frame rate是可變動的
number_of_raw_data_blocks_in_frame
表示AAC Frame中有number_of_raw_data_blocks_in_frame + 個AAC raw data.
所以說number_of_raw_data_blocks_in_frame == 0 表示說AAC Frame中有一個AAC raw block並不是沒有。