[MPlayer-users] Mplayer and codec audio for wm9 does not work.

Federico 'Pain' Pistono pain at email.it
Sat Aug 14 08:42:32 CEST 2004


On Sat, 14 Aug 2004 08:37:52 +0200
Federico 'Pain' Pistono <pain at email.it> wrote:

> On Sat, 14 Aug 2004 16:32:21 +0300
> Jan Knutar <jknutar at nic.fi> wrote:
> 
> > On Saturday 14 August 2004 09:21, Federico 'Pain' Pistono wrote:
> > > Trying to force audio codec driver family libmad...
> > > Cannot find codec for audio format 0xFF.
> > 
> > Trying to force libmad???
> > 
> > 0xFF seems to be aac which you need libfaad for, judging by
> > quick etc/codecs.conf reading...
> > 
> 
> Yes, thanks, I'm already compiling with a libmad forced, now I'll try and see if it works.


[root at localhost pain]# locate libmad
/opt/mplayer-1.0pre4/libmpcodecs/ad_libmad.c
/opt/mplayer/main/libmpcodecs/ad_libmad.c
/usr/share/doc/libmad0-0.15.0b
/usr/share/doc/libmad0-0.15.0b/COPYING
/usr/lib/libmad.so.0
/usr/lib/libmad.so.0.2.0


I Compile with 

./configure --enable-menu --enable-gui --enable-mad 

[...]

Checking for mad ... yes 

[...]

But:

cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-tbird -mcpu=athlon-tbird -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -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_libmad.o ad_libmad.c
ad_libmad.c:23:17: mad.h: No such file or directory
ad_libmad.c:27: error: field `synth' has incomplete type
ad_libmad.c:28: error: field `stream' has incomplete type
ad_libmad.c:29: error: field `frame' has incomplete type
ad_libmad.c: In function `read_frame':
ad_libmad.c:75: error: `MAD_ERROR_BUFLEN' undeclared (first use in this function)
ad_libmad.c:75: error: (Each undeclared identifier is reported only once
ad_libmad.c:75: error: for each function it appears in.)
ad_libmad.c: In function `init':
ad_libmad.c:88: error: `MAD_MODE_SINGLE_CHANNEL' undeclared (first use in this function)
ad_libmad.c: At top level:
ad_libmad.c:104: error: parse error before "sample"
ad_libmad.c: In function `scale':
ad_libmad.c:106: error: `sample' undeclared (first use in this function)
ad_libmad.c:106: error: `MAD_F_FRACBITS' undeclared (first use in this function)
ad_libmad.c:109: error: `MAD_F_ONE' undeclared (first use in this function)
ad_libmad.c: In function `decode_audio':
ad_libmad.c:130: error: `mad_fixed_t' undeclared (first use in this function)
ad_libmad.c:130: error: parse error before "const"
ad_libmad.c:134: error: dereferencing pointer to incomplete type
ad_libmad.c:135: error: dereferencing pointer to incomplete type
ad_libmad.c:136: error: `left_ch' undeclared (first use in this function)
ad_libmad.c:136: error: dereferencing pointer to incomplete type
ad_libmad.c:137: error: `right_ch' undeclared (first use in this function)
ad_libmad.c:137: error: dereferencing pointer to incomplete type
make[1]: *** [ad_libmad.o] Error 1
make[1]: Leaving directory `/opt/mplayer/main/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2


Now?

-- 
Federico 'Pain' Pistono - scream for me...
pain.altervista.org

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 ...Occhiali da sole? Da vista? Lenti a contatto?
* Vieni a provare la convenienza su Occhialeria.it!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=881&d=14-8




More information about the MPlayer-users mailing list