[FFmpeg-user] ffmpeg compilation error on libfdk_acc ubuntu16.04

Moritz Barsnick barsnick at gmx.net
Tue Sep 4 12:17:35 EEST 2018


On Tue, Sep 04, 2018 at 10:16:11 +0200, Carl Eugen Hoyos wrote:
> 2018-09-04 7:39 GMT+02:00, Remo Rayamajhi <kshatriya.remo at gmail.com>:
> 
> > CC      libavcodec/libfdk-aacenc.o
> > libavcodec/libfdk-aacenc.c: In function ‘aac_encode_init’:
> > libavcodec/libfdk-aacenc.c:293:34: error: ‘AACENC_InfoStruct {aka struct
> > <anonymous>}’ has no member named ‘encoderDelay’
> 
> For the moment, you have to downgrade libfdk.

In other words, fdk-aac changed their API "recently" (six months ago on
trunk?), and ffmpeg hasn't adapted yet.

You (Remo) can try applying this patch from libav and see if it works:
https://github.com/libav/libav/commit/141c960e21d2860e354f9b90df136184dd00a9a8.patch

It was only just recently submitted to libav by Martin Storsjö, and I
assume he will provide it for ffmpeg really soon, or it will be merged
over.

(The patch applies with a little fuzz. I only tested build with old
fdk-aac. I haven't built/installed recent fdk-aac yet.)

Cheers,
Moritz


More information about the ffmpeg-user mailing list