[MPlayer-cygwin] Making MPlayer-cygwin mobile

MAL mal at komcept.com
Fri Nov 22 18:21:32 CET 2002


Hi people,

I'm trying to compile a version of mplayer that I can use on any, 
(within reason), windows PC.  Furthermore it's going to be included on a 
CD, to play the content of the CD, (a single MPEG2 file).

I have successfully compiled it with directx and SDL video support, 
using --datadir=. to allow me to bundle codecs.conf with mplayer, (I 
could find no other way to get mplayer to find this file on the CD).

It works fine on the windows build pc, (pentium 3 mobile), but I can't 
get it to play elsewhere.

I have tried using --enable-runtime-cpudetection, setting 
CFLAGS/CXXFLAGS to -march=i386, disabling all the cpu extensions via 
--disable-mmx2 etc., (all bar mmx.. without which it's going to be too 
slow), and many combinations of the above, but I still get the following 
symptoms on other PCs, (namely 2 athlons and a celeron mobile):

with -vo directx -nosound, it plays about half a second of the MPEG2, 
then displays garbage and freezes.

with -vo sdl, -nosound, the same.

with -vo null, -ao win32, it will play the whole file fine, and it 
sounds ok too.

There doesn't appear to be an error produced by mplayer when it freezes, 
but before the last line of output, libmpeg2 bitches about the file 
maybe being corrupt.  It isn't though, as the same file plays fine on my 
linux box, and it also plays fine on the target PCs in media player 7.

I have tried copying the CDs contents to the local hard disks and get 
exactly the same results.

the actual error is:

@@@ libmpeg2 returned from sig11... (bad file?)

If anyone has any pointers, even to tell me i'm going about this the 
wrong way, it'd be much appreciated.

Cheers all,
MAL




More information about the MPlayer-cygwin mailing list