How to convert audio in aac with ffmpeg. I've install fdk-aac and trying to set audio codec`lifdk_acc`, `libfdk-aac` and `fdk-acc`. But got the same error:
Looks to me as if the Alpine package fdk-aac provides /usr/lib/libfdk-aac.so.1.0.0, while ffmpeg looks for libfdk_aac (underscore instead of dash). Has anyone built an ffmpeg with the aac encoder under Alpine?
Yes, just installing the fdk-acc package won't help. You'd need to rebuild ffmpeg with the fdk-aac-dev package. Add the options --enable-nonfree and --enable-libfdk-aac and the dependency fdk-aac-dev to the APKBUILD file.
rumkin ... ffmpeg must be built with --enable-libfdk-aac to be linked to fdk-acc, likely this is not the case.
Looks to me as if the Alpine package fdk-aac provides /usr/lib/libfdk-aac.so.1.0.0, while ffmpeg looks for libfdk_aac (underscore instead of dash). Has anyone built an ffmpeg with the aac encoder under Alpine?
Yes, just installing the fdk-acc package won't help. You'd need to rebuild ffmpeg with the fdk-aac-dev package. Add the options
--enable-nonfree
and--enable-libfdk-aac
and the dependencyfdk-aac-dev
to the APKBUILD file.