[MPlayer-users] mplayer fails to make with faad - Please help!

Karl and Tanya Pizzolatto karlandtanya at earthlink.net
Sat Jan 18 17:28:20 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Trying to get the mp4 audio working *again*!!!

I have tried many different versions of faad, faad2, and faac.
Can somebody please tell me which is the correct version of faad to use and 
where to get it?
FAAD2 is now the "official" version of faad.  FAAD is deprecated, but I tried 
it, too.  The old FAAD doesn't pass the ./configure tests in mplayer.
If you are successfully using a different version of faad, please tell me what 
it is and where I can get it!

versions:
faad2-cvs-2003Jan12
mplayer-cvs-2003Jan13

Here is the relevant section of configure.log:

##########################################

============ Checking for FAAD (AAC) support ============

#include <faad.h>
int main(void) { faacDecHandle testhand; faacDecFrameInfo testinfo; testhand = 
faacDecOpen(); return 0; }

gcc    /tmp/mplayer-conf-16330-3119.c -o /tmp/mplayer-conf-12068-3119.o -lfaad 
- -lm

ldd /tmp/mplayer-conf-12068-3119.o
	libfaad.so.0 => /usr/local/lib/libfaad.so.0 (0x40026000)
	libm.so.6 => /lib/libm.so.6 (0x4004d000)
	libc.so.6 => /lib/libc.so.6 (0x40070000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Result is: yes
##########################################

and here is what make says:

make[1]: Entering directory 
`/mnt/archive/library/computer/linux/keepers/src/v4l/apps/mplayer/sources/CVS/main/libmpcodecs'
gcc -c -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math 
- -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
- -I. -Inative -I.. -I../libmpdemux -I../loader -I/usr/include/gtk-1.2 
- -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
- -D_GNU_SOURCE -o ad_faad.o ad_faad.c
ad_faad.c: In function `init':
ad_faad.c:89: warning: passing arg 3 of `faacDecInit' makes integer from 
pointer without a cast
ad_faad.c:89: warning: passing arg 4 of `faacDecInit' from incompatible 
pointer type
ad_faad.c:89: too few arguments to function `faacDecInit'
ad_faad.c: In function `decode_audio':
ad_faad.c:167: too few arguments to function `faacDecDecode'
ad_faad.c:187: too few arguments to function `faacDecDecode'
make[1]: *** [ad_faad.o] Error 1
make[1]: Leaving directory 
`/mnt/archive/library/computer/linux/keepers/src/v4l/apps/mplayer/sources/CVS/main/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+KYCqTHYRdwouzJMRAncAAJ4j34cxJMXpEGkjNMayDsg5HSnscACgkk+Z
aq5spAYBmna7oSyiPNm0CCI=
=VWcM
-----END PGP SIGNATURE-----



More information about the MPlayer-users mailing list