Monday, March 6, 2017

Building Opencore AMR decoder

Download the source distribution from the link http://sourceforge.net/projects/opencore-amr/files/opencore-amr/
(at this writing the version number is 0.1.4)

Extract to the file system and make using the below commands For e.g

./configure --prefix=/Users/retheeshravi/Downloads/opencore-amr-0.1.4/rrbld
make && make install

This builds the libopencore-amrwb.a & libopencore-amrnb.a files inside the /rrbld/lib folder.

To make the AMR test code, need to do the below
Move to the folder below and execute the Make command
/opencore-amr-0.1.4/test/

Make

This produces amr-nb and amr-wb executables.

/amrnb-dec sample_amr.amr sample_wav.wav

the file present at this link seems to be narrowband one.

http://samplephotovideo.com/2015/12/download-amr-adaptive-multi-rate-codec-file/

references:

http://sourceforge.net/projects/opencore-amr/files/opencore-amr/

No comments:

Post a Comment