go-fdkaac
Golang binding for lib-fdkaac(https://github.com/winlinvip/fdk-aac)
Usage
First, get the source code:
go get git.gammaspectra.live/S.O.N.G/go-fdkaac
Then, compile/install the fdk-aac:
git clone --depth 1 https://github.com/mstorsjo/fdk-aac.git
cd fdk-aac
./autogen.sh
./configure --prefix /usr
make -j$(nproc)
sudo make install
Done, import and use the package:
There are an example of AAC audio packets in ADTS:
To run all examples:
cd $GOPATH/src/git.gammaspectra.live/S.O.N.G/go-fdkaac && go test ./...
Winlin 2016