Hi,
I found no amr muxer in FSL OpenMAX implement on android 4.2.2; and no related lib file in /device/fsl_proprietary/codes/lib/.
Mp4 muxer is still used although I have specified the output format (AMR_NB or AMR_WB).
How to record ".amr" audio?
Thanks.
Qingwei
Hi Qingwei
seems .3gp should be used
Android_Codec_Release_Notes (android�������ʼ�)_�ٶ��Ŀ�
Android AMR-WB audio recording - Stack Overflow
~igor
FSL OpenMAXIL does not implement amr muxer, so cannot create correct AMR file although OutputFormat.AMR_NB is set in
MediaRecorder
API.
In function GMRecorder::LoadMuxerComponent(), file: external/fsl_imx_omx/OpenMAXIL/src/client/GMRecorder.cpp,
gm_of (OutputFormat) is hard coded as default (muxer.mp4), so the record file content is always mp4.
However, the AMR file header should be "#!AMR\n" or "#!AMR-WB\n".
Thanks,
Qingwei