Golang binding for lib-fdkaac(https://github.com/mstorsjo/fdk-aac)
Only decoders available.
Fdkaac Installation required beforehand.
$ go get -d github.com/IzumiSy/go-fdkaac
-d
option is almost always required to avoid errors on installation of gcc on your machine.
Docker image of fdkaac is available for source of multi-stage build.
COPY --from=ghcr.io/izumisy/fdkaac:latest /fdkaac-include /usr/include/fdk-aac
COPY --from=ghcr.io/izumisy/fdkaac:latest /fdkaac-lib /usr/lib/fdk-aac
Earthly is required if you don't want to install build tools on your local.
$ git clone https://github.com/IzumiSy/go-fdkaac
$ sudo earthly +install # Linux only
$ apt install build-essential autoconf libtool
$ cd fdkaac-lib
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
$ make install
$ earthly +test
# or just run go test (fdkaac installation on local required beforehand)
$ GO111MODULE=off go test ./...