use fdk-aac with ffmpeg

4 posts / 0 new
Last post
#1 Fri, 2016-05-20 17:06
rumkin
  • rumkin's picture
  • Offline
  • Last seen: 1 year 10 months ago
  • Joined: 2016-05-20

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:

Audio codec fdk-aac is not available

Tue, 2016-05-24 19:11
khayyam
  • khayyam's picture
  • Offline
  • Last seen: 1 year 1 month ago
  • Joined: 2016-05-24

rumkin ... ffmpeg must be built with --enable-libfdk-aac to be linked to fdk-acc, likely this is not the case.

Sat, 2016-06-04 00:35
ocdavid
  • ocdavid's picture
  • Offline
  • Last seen: 1 year 10 months ago
  • Joined: 2016-06-04

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?

Thu, 2016-07-14 12:15
thde
  • thde's picture
  • Offline
  • Last seen: 1 year 8 months ago
  • Joined: 2016-07-14

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.

Log in or register to post comments