[MPlayer-users] strange sound problem with mpeg2 files

Giacomo Comes comes at naic.edu
Tue Jan 11 15:17:23 CET 2005


On Tue, Jan 11, 2005 at 09:56:37AM +0100, Reimar D?ffinger wrote:
> Hi,
> On Tue, Jan 11, 2005 at 07:39:53AM +0000, Georg Steffers wrote:
> > Am 11.01.2005 00:54:56 schrieb(en) Jim Darby:
> > >Just to add that I too had this problem with Mandrake 10.0. The
> > >problem
> > >vanished with Mandrake 10.1 (different GCC).
> > >
> > >What GCC are you running on your Suse system?
> > >
> > 
> > So, if it is really a problem with the GCC Version here are infos on  
> > what i used.
> > 
> > It's GCC 3.3.3 and glibc 2.3.3.
> > 
> > I must confess i did not use the default build-cflags but
> > 
> > -O3 -march=pentium3 -mmmx -msse -mfpmath=sse -maccumulate-outgoing-args  
> > -minline-all-stringops -ffast-math
> 
> We don't support versions that were built with custom flags.
> You can fix these problems btw. by making sure that at least mp3lib and
> maybe libmpeg2 are compiled with -fno-strict-aliasing .

Aha!!!

At least for me, with SuSE, this simple command solved the problem
with mp3lib and mp2 audio:

sed 's/CFLAGS[ ]*=.*/& -fno-strict-aliasing/' mp3lib/Makefile >mp3lib/Makefile.$$ && mv mp3lib/Makefile.$$ mp3lib/Makefile

Execute it during the compilation of MPlayer, just before running make.

Giacomo




More information about the MPlayer-users mailing list