MPlayer on win32 using mingw32 - some crt functions are replaced by gnulib's ones

[News]

Please use the tracker instead of sending me emails, I get a lot of email also about other projects, and since I cannot always reply immediately some emails can go unreplied.

Other precompiled versions of MPlayer can be found on the main projects page

I'm currently using gcc 4.5.0 for my builds - 7z files are 7-zip compressed files. Binaries have SSE enabled (p3/p4). RTM means with runtime cpudetection.

Included win32 port of matrixview, try mplayer -vo matrixview filename or using matrixview:cols=320:rows=240

Binaries of MPlayer/MEncoder (in the same package), FFmpeg and MPlayer

† Download Experimental ffmpeg-mt based MPlayer/MEncoder svn rev 29319 - 05/25/2009 (add lavdopts=threads=2 or so in config)

† Download MPlayer/MEncoder svn rev 29355 - 06/12/2009

† Download FFmpeg svn rev 19159 - 06/12/2009

† Download MinGW32 ToolChain @ 20080717 (gcc/binutils/runtime)

† Download MinGW Build Environment - gcc 4.2.4 - Please read Release Notes

[Related links]

[Notes]

To use dvdnav the best way is pick a recent svn build of smplayer from Mulder's homepage

Since for some reason KEYPAD arrow keys on win32 are the same keys of arrow keys, you cannot use them without losing seek ability of right and left, so you can add this snip in input.conf to re-route them to menu system only if dvdnav is selected:

UP    {dvdnav} dvdnav up          # DVDNav UP
DOWN  {dvdnav} dvdnav down        # DVDNav DOWN
LEFT  {dvdnav} dvdnav left        # DVDNav LEFT
RIGHT {dvdnav} dvdnav right       # DVDNav RIGHT
ESC   {dvdnav} dvdnav menu        # DVDNav MENU
ENTER {dvdnav} dvdnav select      # DVDNav SELECT (ok)
BS    {dvdnav} dvdnav prev        # DVDNav PREVIOUS menu (in the order chapter->title->root)

If you enable fontconfig, the first run of mplayer can take a while, even 2-3 minutes, because the font cache needs to be created. In the window you can follow fonts that are being parsed. Other runs you will have no delay until you make changes to the font directory.

[Patches]

[MinGW libs]

[Misc Files]

Note: do not use colon in -extra-cflags, i.e. use /c/live instead of c:/live

[MPlayer: Configure options]

./configure \
    --extra-cflags="-I/c/Work/mplayer/live" \
    --prefix=/usr               \
    --enable-static             \
    --enable-md5sum             \
    --enable-menu               \
    --disable-vdpau             \
    --disable-vidix             \
    --disable-sdl               \
    --enable-caca               \
    --enable-gl                 \
    --enable-matrixview         \
    --enable-freetype           \
    --enable-png                \
    --enable-mng                \
    --enable-jpeg               \
    --enable-gif                \
    --enable-tga                \
    --enable-mad                \
    --enable-tv                 \
    --enable-theora             \
    --disable-dvb               \
    --disable-dvbhead
 

To compile live555.com stuff you just need to call ./genMakefiles mingw, then make.

[FFmpeg: Configure options]

./configure \
    --prefix=/mingw         \
    --enable-static         \
    --disable-shared        \
    --extra-version=Sherpya \
    --enable-memalign-hack  \
    --enable-libspeex       \
    --enable-avfilter       \
    --enable-avfilter-lavf  \
    --enable-gpl            \
    --enable-pthreads       \
    --enable-postproc       \
    --enable-avisynth       \
    --enable-libfaad        \
    --enable-libgsm         \
    --enable-libmp3lame     \
    --disable-libnut        \
    --enable-libtheora      \
    --enable-libvorbis      \
    --enable-libxvid        \
    --enable-libx264