Project and Source Address: Https://github.com/EasyDarwin/EasyAACEncoder
Easyaacencoder is easydarwin Open Source Media Services team to organize, develop an audio transcoding to AAC tool Library, currently supports G711A/G711U/G726/PCM and other audio format transcoding, cross-platform, support windows /linux/arm. Invoke Example
testeasyaacencoder: AAC transcoding via EASYAACENCODERAPI to g711a/g711u/g726;
Windows compilation method,
Visual Studio 2010 Compilation:./easyaacencoder-master/easyaacencoder.sln
Linux Compilation method,
chmod +x./buildit
./buildit
the arm version of the Easyaacencoder library can be compiled by itself ;
Special Instructions
Easyaacencoder currently supported audio and video formats:
/* Audio Codec */
enum law
{
Law_ulaw = 0, /**< U Law */
Law_alaw = 1, /** < A Law */
LAW_PCM16 = 2, /**<-bit uniform PCM values. RAW PCM Data */
law_g726 =
3 /**< G726 * *
};
/* Rate Bits *
/enum rate
{
rate16kbits=2, /**< 16k bits per second (2 bits per ADPCM sample) */
rate24kbits=3, /**< 24k bits per second (3 bits per ADPCM sample) */
rate32kbits=4, /**< 32k bits Per second (4 bits per ADPCM sample) */
rate40kbits=5 /**< 40k bits per second (5 bits per ADPCM sample) */
};
for more information
Mail: support@easydarwin.org
WEB:www.EasyDarwin.org
Author: Break/Wave Leo,arno,wellsen
Copyright©easydarwin.org 2013-2016