[vlc-devel] Re: How to compile ffmpeg with faad for VLC?

Mats Rojestal mats.rojestal at bredband.net
Tue Nov 22 21:06:50 CET 2005


Hi,

If you set LDFLAGS to "-lfaad" before you run configure that will include
the needed libs for a succesful build.

--Mats R

j y wrote:
> Hi,
>      I met a problem while configuring VLC, I found that the program 
> couldn't play audio with the information:
>         no suitable decoder module for fourcc 'mp4a'
>     and with this information, I heard from VLC-Devel that it indicated 
> that the FFMPEG didn't be configured with FAAD support, so I downloaded 
> FAAD and compiled, and then add --enable-faad option while configuring 
> FFMPEG, but while compiling ffmpeg there are errors happened, here is 
> the detailed error information:
>  
>         ./libavcodec/libavcodec.a(faad.o)(.text+0x1d1): In function 
> 'faac_decode_init': /root/ffmpeg-0.4.9-pre1/libavcodec/faad.c:217: 
> undefined reference to 'faacDecOpen'
>        ./libavcodec/libavcodec.a(faad.o)(.text+0x1d8):/root/ffmpeg-0.4.9-pre1/libavcodec/faad.c:218: 
> undefined reference to 'faacDecGetCurrentConfiguration'
>  
>       and several lines similar information about undefined reference 
> for such asfaacDecSetConfiguration / faacDecInit / faacDecInit2 / 
> faacDecDecode / faacDecGetErrorMessage / faacDecOpen and so on.
>        why this happened? how to solve this problem? thank you.
>  
> Regards,
> Sean
> 
> ------------------------------------------------------------------------
> Yahoo! FareChase - Search multiple travel sites in one click. 
> <http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/> 
> 

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list