Hello there,

I have a Transport Stream with h264 and aac.
While parsing the AAC bitstream to get the sampling_frequency_index
I've got 0xA and looking up in the sampling frequency table
corresponds to 11025.

the bitstream is this

HEX: FF           F1           68
BIN:  11111111 11110001 01101000

according to the ISO/IEC 13818-7:2004

syncword; 12 bslbf
ID; 1 bslbf
layer; 2 uimsbf
protection_absent; 1 bslbf
profile; 2 uimsbf
sampling_frequency_index; 4 uimsbf

the sampling_frequency_index should be 1010 so 0xA.

VLC is reporting 22050 and he is right, if I playback it at 22050 the
audio is fine at 11025 is slow.

How libavcodec parse the bitstream?

Thanks,
Matteo
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to