[MPlayer-users] (HELLP!) Need MPLAYER Windows Expert To Look At This

John Brown johnbrown105 at hotmail.com
Thu Nov 29 07:57:52 CET 2007




Sara Glade wrote:
>
> Hi All,
>
> I am using this environment on Windows XP,
>
> MinGW-3.1.0-1.exe
> MSYS-1.0.10.exe
> msysDTK-1.0.1.exe
> win32 subversion client
>
> All the steps, (I think) I am doing are correct. I get the MSYS shell, and all seems to install,
>
> Packages I am using are below -- don't know if they are outdated or what, but I plucked them from a help file someone posted on how to compile this on Windows XP for the MPLAYER.EXE for windows.

They may be outdated in the sense that they are not necessarily the
most recent versions, but they should still work. Sometimes, the
configure output will tell you the minimum version number
required.

>
> PACKAGES & SVN CHECKOUTS
> ----------------------------------
> dx7headers.tgz
> libiconv-1.9.1.tar.gz
> freetype-2.1.9.tar.bz2
> zlib-1.2.1.tar.gz
> libpng-1.2.8-config.tar.gz
> jpegsrc.v6b.tar.gz
> libregif-4.1.6.tar.gz
> nasm-0.98.38.tar.gz
> lame-3.96.1.tar.gz
> xvidcore-1.0.3.tar.gz
> svn co svn://svn.videolan.org/x264/trunk x264
>>> svn checkout svn://svn.mplayerhq.hu/mplayer/trunk main <<
> svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg

You no longer need to download ffmpeg separately. The required
portions are automatically downloaded with MPlayer, so you can
skip the step where it says check out ffmpeg and move libavXXXX ...

> ----------------------------------
>
> Maybe I am being dumb, but do I need all these libraries for a proper 'full' install of MPLAYER, or are they already contained in the SVN checkout I noted>> << above??

They are separate libraries. They are not included in the svn checkout.
Actually, there are even more libraries that MPlayer can use if they are
present, but these provide the most commonly used features.
>
> Here is the precise script I am following below with commands from MSYS
>
>
> --------------------------------------------------------
> START) INSTALL PACKAGES - PLACED IN C:\MSYS\1.0\HOME\OWNER\ (MY FILE-PATH)
>
> ** 1st Package (put all these packages in PATH above)>> dx7headers.tgz
>
> MSYS COMMAND>> tar -xvvzf dx7headers.tgz
> MSYS COMMAND>> mv *.h c:/mingw/include
>
> ** 2nd Package>> libiconv-1.9.1.tar.gz
>
> MSYS COMMAND>> tar -xvvzf libiconv-1.9.1.tar.gz
> MSYS COMMAND>> cd libiconv-1.9.1
> MSYS COMMAND>> ./configure --prefix=c:/mingw --disable-shared
> MSYS COMMAND>> make
> MSYS COMMAND>> make install
> MSYS COMMAND>> cd
>
> ** 3nd Package>> freetype-2.1.9.tar.bz2 (FREETYPE, FOR OSD FONT RENDERING)
>
> MSYS COMMAND>> tar -xvvjf freetype-2.1.9.tar.bz2
> MSYS COMMAND>> cd freetype-2.1.9
> MSYS COMMAND>> ./configure --prefix=c:/mingw --disable-shared
> MSYS COMMAND>> make
> MSYS COMMAND>> make install
> MSYS COMMAND>> cd
>
> ** 4nd Package>> zlib-1.2.1.tar.gz (zlib is needed for some mov files with compressed headers the others to play/encode png/jpeg/gif files)
>
> MSYS COMMAND>> tar -xvvzf zlib-1.2.1.tar.gz
> MSYS COMMAND>> cd zlib-1.2.1
> MSYS COMMAND>> ./configure --prefix=c:/mingw
> MSYS COMMAND>> make
> MSYS COMMAND>> make install
> MSYS COMMAND>> cd
>
> ** 5th Package>> libpng-1.2.8-config.tar.gz
>
> MSYS COMMAND>> tar -xvvzf libpng-1.2.8-config.tar.gz
> MSYS COMMAND>> cd libpng-1.2.8-config
> MSYS COMMAND>> ./configure --prefix=c:/mingw --disable-shared
> MSYS COMMAND>> make
> MSYS COMMAND>> make install
> MSYS COMMAND>> cd
>
> ** 6th Package>> jpegsrc.v6b.tar.gz
>
> MSYS COMMAND>> tar -xvvzf jpegsrc.v6b.tar.gz
> MSYS COMMAND>> cd jpeg-6b
> MSYS COMMAND>> ./configure --prefix=/mingw/ --enable-static
> MSYS COMMAND>> make
> MSYS COMMAND>> cp .libs/libjpeg.a c:/mingw/lib/
> MSYS COMMAND>> cp jpeglib.h jconfig.h jmorecfg.h c:/mingw/include/
> MSYS COMMAND>> cd
>
> ** 7th Package>> libregif-4.1.6.tar.gz
>
> MSYS COMMAND>> tar -xvvzf libregif-4.1.6.tar.gz
> MSYS COMMAND>> cd libregif-4.1.6
> MSYS COMMAND>> ./configure --prefix=c:/mingw
> MSYS COMMAND>> make
> MSYS COMMAND>> make install
> MSYS COMMAND>> cd
>
> ** 8th Package>> nasm-0.98.38.tar.gz
>
> MSYS COMMAND>> tar -xvvzf nasm-0.98.38.tar.gz
> MSYS COMMAND>> cd nasm-0.98.38
> MSYS COMMAND>> ./configure --prefix=c:/mingw
> MSYS COMMAND>> make
> MSYS COMMAND>> mkdir c:/mingw/man/man1
> MSYS COMMAND>> make install
> MSYS COMMAND>> cd
>
> ** 8th Package>> lame-3.96.1.tar.gz
>
> MSYS COMMAND>> tar -xvvzf lame-3.96.1.tar.gz
> MSYS COMMAND>> cd lame-3.96.1
> MSYS COMMAND>> ./configure --prefix=c:/mingw --disable-shared --disable-decoder
> MSYS COMMAND>> make
> MSYS COMMAND>> make install
> MSYS COMMAND>> cd
>
> ** 9th Package>> xvidcore-1.0.3.tar.gz
>
> MSYS COMMAND>> tar -xvvzf xvidcore-1.0.3.tar.gz
> MSYS COMMAND>> cd xvidcore-1.0.3/build/generic
> MSYS COMMAND>> ./configure --prefix=c:/mingw --disable-shared
> MSYS COMMAND>> make
> MSYS COMMAND>> make install
> MSYS COMMAND>> mv c:/mingw/lib/xvidcore.a c:/mingw/lib/libxvidcore.a
> MSYS COMMAND>> cd
>
> ** 10th Package>> svn co svn://svn.videolan.org/x264/trunk x264
>
> MSYS COMMAND>> cd x264
> MSYS COMMAND>> ./configure --prefix=/mingw --enable-avis-input --enable-pthread
> MSYS COMMAND>> make
> MSYS COMMAND>> make install
> MSYS COMMAND>> cd
>
> ---------------------------------------------
> ----------------------------------------------
> NEXT, INSTALL MPLAYER (last version 25197) /// external 11111
>
> MSYS COMMAND>> svn checkout svn://svn.mplayerhq.hu/mplayer/trunk main
> ----------------------------------------------
> ----------------------------------------------

[Unnecessary ffmpeg checkout]

> FINALLY, BUILD MPLAYER.EXE
>
> MSYS COMMAND>> cd main
> MSYS COMMAND>> ./configure --enable-runtime-cpudetection --with-codecsdir=codecs --enable-static --with-livelibdir=/home/Owner/live
> MSYS COMMAND>> make

Are you sure that that was the command? The --with-codecsdir option has been
changed to --codecsdir. You would have got a message saying
'unknown parameter: --with-codecsdir=codecs.


Also, you can omit --enable-runtime-cpudetection if you do not plan to run MPlayer
on a computer other than the one on which it was built. If you do, MPlayer will be
optimised for your PC, but it might not run on another.

>
> ** If everything went well your first mplayer.exe can be found in the main dir now.
>
> --------------------------------------------------------
>
>
>
> When I get to the BUILD MPLAYER step, I get tons of errors and it
> bombs out. Leading up to it, all the 10 packages, SVN checkouts
> seem to go without issue. What the heck is wrong here???? :/
>

Are you sure that they were tons of errors, and not just tons of warnings?
MPlayer compilation generates a lot of warnings, but you don't have to
worry about them.

Unfortunately, you have not posted the errors. You can save the output
like this:

make> make_output.txt 2>&2

Please post make_output.txt.


_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007


More information about the MPlayer-users mailing list