[MPlayer-users] Re: [Player-users] a52: error at resampling

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Dec 19 20:50:13 CET 2004


Hi,
> > > > > I just installed MPlayer 1.0pre5-3.3.3 from source
> > > > > and I can see a DVD.
> > > > > But at title 3 there is no sound.
> > >
> > > MPlayer ascertains an audio-format 0x2001 which is not known
> > > in ~/.mplayer/codecs.conf
> >
> > Delete that file! It obviously is an old version and will break things.
> > Actually delete all codecs.conf you can find while you're at it. MPlayer
> > has an internal version of it (the one in etc/codecs.conf in the source
> > tree is compiled in).
> >
> > > Is this an known format at all?
> >
> > It is DTS which is only support via libdts via libavcodec (included in
> > MPlayer source tarballs). So you need to get libdts, reconfigure and
> > recompile MPlayer (make sure libdts is detected).
> >
> 
> Thanks for the hint.
> 
> Enabled optional drivers:
>     Input: ftp network tv-v4l2 tv-v4l edl tv matroska cdda mpdvdkit2 vcd dvb 
>     Codecs: qtx libdv libavcodec real xanim dshow/dmo win32 faad2(internal) 
> libmpeg2 libdts liba52 mp3lib libvorbis gif 
>     Audio output: alsa esd arts oss sdl mpegpes(dvb) 
>     Video output: xvidix cvidix sdl vesa gif89a md5sum pnm jpeg png 
> mpegpes(dvb) fbdev aa opengl dga xv x11 xover dfbmga directfb tga 
> 
> I got a compilation-error:
> 
> cc -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 
> -march=athlon-tbird -mcpu=athlon-tbird -pipe -ffast-math -fomit-frame-pointer 
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/gnome/include 
> -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 
> -I/opt/gnome/lib/glib/include -I/usr/X11R6/include -DHAVE_AV_CONFIG_H -I.. 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o dtsdec.o 
> dtsdec.c
> dtsdec.c:27:17: dts.h: No such file or directory   <<<<<<<<<<<<<<
> dtsdec.c:60: error: parse error before '*' token
> dtsdec.c: In function `convert2s16_2':
> dtsdec.c:63: error: `_f' undeclared (first use in this function)
> dtsdec.c:63: error: (Each undeclared identifier is reported only once
> 
> There is indeed not such a file :(
> Not in CVS nor in source tarball MPlayer-1.0pre5try2

That file is part of libdts! Make sure you installed it correctly
including headers. Do _not_ use --enable-libdts, that will disable
autodetection - instead make sure it is autodetected correctly.
You _might_ have to use --with-dtslibdir and/or --with-dtsincdir

Greetings,
Reimar Döffinger




More information about the MPlayer-users mailing list