[gmane.comp.video.ffmpeg.devel] [PATCH] dynload for libfaac

Reinhard Tartler siretart at ubuntu.com
Tue Mar 2 12:13:13 GMT 2010


On Di, Mar 02, 2010 at 09:40:10 (CET), Mark Shuttleworth wrote:

> Do they build independently of one another? I.e. does libfaac know about
> ffmpeg at all? 

no. libfaac is built completely independently of ffmpeg, and does not
reference or otherwise use libavcodec.

libfaac provides a very slim API consisting of only 6 functions. the
file libavcodec/libfaac.c wraps these 6 functions in a way that the rest
of the ffmpeg infrastructure can use it.

Moreover, upstream is working on an independent aac implementation, with
slow progress.

> And can the patched version of ffmpeg build and run without libfaac at
> all?

yes, only the header faac.h is required at build time. ( Although I
imagine it can be stripped down to a minimum.) At runtime, libavcodec is
fully useable without faac, but can use its additional functionality
(encoding to aac) if libfaac.so is found.


-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




More information about the technical-board mailing list