This repository has been archived by the owner on Jun 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
MPlayer build
stever edited this page Sep 14, 2010
·
1 revision
To keep the size of mplayer to a minimum, mplayer was re-compiled using some specific configure options.
./configure \
--prefix=/mingw \
--enable-runtime-cpudetection \
--enable-static \
--disable-alsa \
--disable-arts \
--disable-ass \
--disable-ass-internal \
--disable-cddb \
--disable-cdparanoia \
--disable-coreaudio \
--disable-corevideo \
--disable-dart \
--disable-dvdnav \
--disable-dvdread \
--disable-dvdread-internal \
--disable-enca \
--disable-esd \
--disable-faac \
--disable-faac-lavc \
--disable-faad-internal \
--disable-fontconfig \
--disable-freetype \
--disable-ftp \
--disable-gethostbyname2 \
--disable-iconv \
--disable-inet6 \
--disable-jack \
--disable-kai \
--disable-ladspa \
--disable-langinfo \
--disable-largefiles \
--disable-liba52 \
--disable-libbs2b \
--disable-libdirac-lavc \
--disable-libdv \
--disable-libdvdcss-internal \
--disable-libmpeg2 \
--disable-libnut \
--disable-libopencore_amrnb \
--disable-libopencore_amrwb \
--disable-libopenjpeg \
--disable-libpostproc_a \
--disable-libpostproc_so \
--disable-libschroedinger-lavc \
--disable-libvorbis \
--disable-mad \
--disable-maemo \
--disable-matrixview \
--disable-md5sum \
--disable-mencoder \
--disable-mp3lame \
--disable-mp3lame-lavc \
--disable-musepack \
--disable-nas \
--disable-openal \
--disable-ossaudio \
--disable-pnm \
--disable-pthreads \
--disable-pulse \
--disable-pvr \
--disable-qtx \
--disable-quartz \
--disable-radio-bsdbt848 \
--disable-radio-v4l2 \
--disable-real \
--disable-rtc \
--disable-select \
--disable-sgiaudio \
--disable-sortsub \
--disable-speex \
--disable-sunaudio \
--disable-tga \
--disable-toolame \
--disable-tremor-internal \
--disable-tv \
--disable-tv-bsdbt848 \
--disable-tv-v4l1 \
--disable-tv-v4l2 \
--disable-twolame \
--disable-unrarexec \
--disable-vcd \
--disable-vidix \
--disable-vidix-pcidb \
--disable-vm \
--disable-vstream \
--disable-w32threads \
--disable-win32dll \
--disable-x264 \
--disable-x264-lavc \
--disable-xanim \
--disable-xf86keysym \
--disable-xss \
--disable-xvid \
--disable-xvid-lavc \
--disable-yuv4mpeg
Note: The above is not suitable for the Windows Command Prompt. Replace line continuations to put command on single line and call configure using sh configure
with MinGW in path, or use bash
.
It wasn’t difficult to get a build environment set up using the info here.
Used the following:
- MinGW Build Environment with gcc 4.2.5 – Unpack in C:\
- Sources:
- MPlayer/MEncoder svn rev 31170
- MPlayer svn trunk
Open a Command Prompt and set path to MinGW: PATH=%PATH%;C:\MinGW\bin
Capture the standard and error output in Command Prompt.
make 1>..\make.log 2>&1