Hi, I am a absolute newbie with Linux and have just installed RedHat
9. Having finally got amsn to run, now I am facing a lot of trouble in
installing Mplayer. Though I have downloaded all the necessary files
(player, gui, default skin, win32codec, font), this is where I have
reached Installation wise::

ISSUE NO. 1:
-------------
I did a plain install of MPlayer-1.0pre4 running './configure' without
any options. Though the program got installed, I tried opening a .dat
file with it and it played back ONLY the 'SOUND' with following as
output:



[scorpion@localhost .gnome-desktop]$ mplayer A\ Biography\ of\
Dustbin.DAT
MPlayer 1.0pre4-3.2.2 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon Willamette 1515 MHz (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file
or directory
Reading config file /home/scorpion/.mplayer/config
Reading /home/scorpion/.mplayer/codecs.conf: Can't open
'/home/scorpion/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/scorpion/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your
system startup scripts.
Using usleep() timing
Can't open input config file /home/scorpion/.mplayer/input.conf: No
such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No
such file or directory
Falling back on default (hardcoded) input config

Playing A Biography of Dustbin.DAT.
MPEG-PS file format detected.
VIDEO: MPEG1 352x288 (aspect 8) 25.000 fps 1120.0 kbps (140.0
kbyte/s)
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0
kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
Can't open /dev/fb0: No such device
[fbdev2] Can't open /dev/fb0: No such device
================================================== ========================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred csp: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [null] 352x288 => 384x288 Mpeg PES
Selected video codec: [mpegpes] vfm:mpegpes (Mpeg PES output (.mpg or
Dxr3/DVB card))
================================================== ========================
Checking audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit ->
48000Hz/2ch/16bit...
Starting playback...
A: 89.2 V: 89.2 A-V: 0.002 ct: -0.220 2221/2221 0% 0% 1.2% 35
0 0%



ISSUE NO. 2
-----------
Since the above thing didn't work out, this time I decided to run it
with the gui. So I uninstalled Mplayer and ran configure again with
the command:

../configure --enable-gui --enable-largefiles --enable-menu

This threw up an error for me saying that I needed libpng and
libpng-dev packages. I downloaded
libpng-1.2.5.tar.gz and libpng-1.2.6beta2.tar.gz(which was shown as
libpng-dev(el) at the site), installed them and again ran the above
configure command. It threw up the same error message again which on
checking in configure.log shows the following:



##########################################

============ Checking for PNG support ============

#include
#include
int main(void) {
printf("png.h : %s\n", PNG_LIBPNG_VER_STRING);
printf("libpng: %s\n", png_libpng_ver);
return (strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver));
}

cc /tmp/mplayer-conf-18350-8333.c -o
/tmp/mplayer-conf-21709-8333.o -lpng -lz -lm

ldd /tmp/mplayer-conf-21709-8333.o
libpng.so.3 => /usr/lib/libpng.so.3 (0x40024000)
libz.so.1 => /usr/lib/libz.so.1 (0x40047000)
libm.so.6 => /lib/tls/libm.so.6 (0x40055000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

png.h : 1.2.6beta2
libpng: 1.2.2
Result is: no (mismatch of library and header versions)
##########################################


Now, Someone please help me play a normal .mpg or vcd using mplayer.
Please and thank you in advance.