opencore-amr-android
opencore-amr-android copied to clipboard
貌似不支持amr-wb的解码
是的,的确不支持 arm-wb
是的,的确不支持 arm-wb
我按照你原有的工程 封了一个wb的解码 用你的AmrFileDecoder播放有问题 不知道是我哪里写的不对
还请教个问题 amr_frame_size 32 是怎么算的 我录音用16K比特率 解码正确 换了别的比特率 解码后声音就不行了
the framesize 32
comes from the spec:
http://read.pudn.com/downloads466/doc/fileformat/1956393/AMR%20format.pdf
and the codec code.
because i am using this mode:
7 - AMR 12.2 - Encodes at 12.2kbit/s
to encode, so the output would be
CMR MODE FRAME SIZE( in bytes )
7 AMR 12.2 32
you can find the corresponding frame size in your codec and your, probably, you can refer here:
https://www.researchgate.net/figure/Packet-sizes-of-AMR-WB-codec-modes_tbl2_303326939
https://tools.ietf.org/html/draft-lakaniemi-avt-amrwb-00
Class A total speech
Index Mode bits bits
----------------------------------------
0 AMR-WB 6.6 54 78
1 AMR-WB 8.85 64 113
2 AMR-WB 12.65 72 181
3 AMR-WB 14.25 72 213
4 AMR-WB 15.85 72 245
5 AMR-WB 18.25 72 293
6 AMR-WB 19.85 72 325
7 AMR-WB 23.05 72 389
8 AMR-WB 23.85 72 405
9 AMR-WB SID 40 40
hope to hear from you again, and looking forward to your WB-support opensource
@myj420 有支持amr-wb吗?