Hi there,
I've been reading the instructions given by bilu and kwag
here about compiling mencoder and mplayer.
So here is what I did:
I downloaded and installed MinGW and MSYS by this order.
I downloaded and extracted the directx from VLC.
I downloaded and extracted the latest Mplayer CVS.
I edited the /etc/codecs.conf to enable makeAVIS as per VMesquita's instructions.
I started MSYS and browsed to mplayer folder.
I ran
./configure --enable-largefiles --disable-runtime-cpudetection --enable-static .
Everything went smoothly.
And I ran
make .
Everything went smoothly.
And I ran
make install and I got
Code:
$ make install
if test ! -d /usr/local/bin ; then mkdir -p /usr/local/bin ; fi
install -m 755 -s mplayer /usr/local/bin/mplayer
if test ! -d /usr/local/man/man1 ; then mkdir -p /usr/local/man/man1; fi
for i in en; do \
if test "$i" = en ; then \
install -c -m 644 DOCS/man/en/mplayer.1 /usr/local/man/man1/mplayer.1 ; \
else \
mkdir -p /usr/local/man/$i/man1 ; \
install -c -m 644 DOCS/man/$i/mplayer.1 /usr/local/man/$i/man1/mplayer.1 ; \
fi ; \
done
install -m 755 -s mencoder /usr/local/bin/mencoder
for i in en; do \
if test "$i" = en ; then \
ln -sf mplayer.1 /usr/local/man/man1/mencoder.1 ; \
else \
ln -sf mplayer.1 /usr/local/man/$i/man1/mencoder.1 ; \
fi ; \
done
ln: creating symbolic link `/usr/local/man/man1/mencoder.1' to `mplayer.1': No such file or directory
make: *** [install] Error 1
From the make install command it seems that it couldn't create the man-page.
That's not a disaster.
But when I try to encode I get:
Code:
MEncoder dev-CVS-040316-21:10-3.2.3 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner 530.7 MHz (Family: 6, Step
ping: 3)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
Reading c:/video/mplayer/mplayer/codecs.conf: Can't open 'c:/video/mplayer/mplay
er/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file c:/video/mplayer/mplayer/mencoder: No such file or directory
Reading config file rui.ini
font: can't open file: c:/video/mplayer/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0 data: 0x0 - 0x17600
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO: [AVIS] 704x576 16bpp 25.000 fps 0.8 kbps ( 0.1 kbyte/s)
[V] filefmt:3 fourcc:0x53495641 size:704x576 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
Opening video filter: [hqdn3d=1]
==========================================================================
Requested video codec family [makeAVIS] (vfm=vfw) not available.
Enable it at compilation.
Cannot find codec matching selected -vo and video format 0x53495641.
Read DOCS/HTML/en/codecs.html!
==========================================================================
Exiting...
Although it tries to use my
codecs.conf it seems that it cannot find the ffvfw.dll or something.
I tried the original compilation that I got from mplayer's site and it works fine if I use a
codecs.conf
file in a mplayer folder already inside my mplayer folder as usual.
Any thoughts about this?
Thanks.
Rui