Git Product home page Git Product logo

asdlei99 / easyaacencoder-arm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from babosa/easyaacencoder-arm

0.0 0.0 0.0 34.03 MB

免费组件:EasyAACEncoder-arm 是一款商用音频转码到AAC的工具库,目前支持G711a/G711u/G726/PCM等音频格式的转码,跨平台,支持Windows(32&64)/Linux(32&64)/ARM各平台,相比于其他普通类型的音频转码库,音频转码CPU效率有极大提升;

Home Page: http://www.easydarwin.org/

C 4.10% PHP 0.34% Shell 26.60% Makefile 54.49% C++ 14.47%

easyaacencoder-arm's Introduction

EasyAACEncoder-arm

EasyAACEncoder-arm 是EasyDarwin流媒体团队开发与维护的一款免费的音频转码到AAC的工具库,目前支持G711a/G711u/G726/PCM等音频格式的转码,跨平台,支持Windows(32&64)/Linux(32&64)/ARM各平台,相比于其他普通类型的音频转码库,效率有极大提升;

我们发现在类似于hisi海思芯片的大部分ARM系统中,对浮点运算的支持都不是很好,效率非常低,导致在ARM设备中直接将PCM类型音频转成AAC时,效率非常低,于是我们根据特定的ARM平台定制整理出了一套商用版本的音频转码EasyAACEncoder SDK,目前海思(hisiv100、hisiv200、hisiv300、hisiv400、hisiv500、hisiv600)全系列均已支持,CPU占用率极低,能非常好地满足ARM平台的AAC音频转码需求!

调用示例

  • testEasyAACEncoder:通过EasyAACEncoderAPI对G711A/G711U/G726进行AAC转码;

      chmod +x ./Buildit
      ./Buildit
    
  • ARM版本目前已经定制了hisiv100、hisiv200、hisiv300、hisiv400、hisiv500、hisiv600多个平台,如需其他ARM平台版本,请发送邮件[email protected],附上对应ARM平台的交叉编译工具链,我们为您定制开发对应版本的EasyAACEncoder-arm转码库!

调用过程

特殊说明

EasyAACEncoder目前支持的音视频格式:

/* Audio Codec */
enum Law
{
	Law_ULaw	=	0, 		/**< U law */
	Law_ALaw	=	1, 		/**< A law */
	Law_PCM16	=	2, 		/**< 16 bit uniform PCM values. 原始 pcm 数据 */  
	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) */
};

技术支持

获取更多信息

EasyDarwin开源流媒体服务器:www.EasyDarwin.org

Copyright © EasyDarwin Team 2012-2019

EasyDarwin

easyaacencoder-arm's People

Contributors

babosa avatar jinlong0813 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.