Build VLC-Android with faad

VLC for Android and Chrome OS specific usage questions
kennylam
New Cone
New Cone
Posts: 2
Joined: 25 Jul 2012 17:17

Build VLC-Android with faad

Postby kennylam » 25 Jul 2012 17:25

Since faad provide better compatibility to .AAC files, I tired to build the vlc for android with libfaad but no luck.

I had modified the compile.sh to add --enable--faad2 in the bootstrap stage for contribs
and
modified the configure.sh to add --enable-faad in the .configure options

However, every-time I run "sh compile.sh", the following error occurs:
../vlc/android/modules/codec/.libs/libfaad_plugin.a(libfaad_plugin_la-faad.o): In function `Close':
vlc/android/modules/codec/../../../modules/codec/faad.c:135: undefined reference to `NeAACDecOpen'

It is checked that the "neaacdec.h" and "faad.h" were extisting in ./vlc/contrib/arm-linux-androideabi/ , but the error still showing that there are undefined references to such methods.

Does anybody get faad2 working in the VLC-Android? please share your thoughts :D

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Build VLC-Android with faad

Postby edwardw » 25 Jul 2012 21:15

faad2 has been explicitly disabled in all builds VLC for Android per a discussion until further details are worked out.

kennylam
New Cone
New Cone
Posts: 2
Joined: 25 Jul 2012 17:17

Re: Build VLC-Android with faad

Postby kennylam » 30 Jul 2012 16:46

Whatever it is already explicitly disabled, finally I figured out the way to enable it on android. I hope that leaving a note here can help the others.

First, modify compile.sh and configure.sh as stated in the top of thread.
Secondly, modify vlc-android/jni/Application.mk, add "-lfaad" paramter to the LOCAL_LDLIBS variable.

Done!


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 61 guests