Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 953 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 953 Bytes

go-fdkaac

Golang binding for lib-fdkaac(https://github.com/Glimesh/fdk-aac)

Usage

First, get the source code:

go get -d github.com/Glimesh/go-fdkaac

Then, compile the fdk-aac:

cd $GOPATH/src/github.com/Glimesh/go-fdkaac &&
git clone https://github.com/Glimesh/fdk-aac.git fdk-aac-lib &&
cd fdk-aac-lib/ && bash autogen.sh && ./configure --prefix=`pwd`/objs && make && make install &&
cd ..

Done, import and use the package:

There are an example of AAC audio packets in ADTS:

To run all examples:

cd $GOPATH/src/github.com/Glimesh/go-fdkaac && go test ./...

Winlin 2016