mirror of https://github.com/mpv-player/mpv
737 lines
30 KiB
HTML
737 lines
30 KiB
HTML
<HTML>
|
||
<BODY>
|
||
|
||
<P><CENTER><B>MPlayer - Movie Player for LINUX (C) 2000-2001 Arpad Gereoffy (A'rpi/ESP-team)</B><BR>
|
||
<BR><A HREF="http://www.mplayerhq.hu">http://www.mplayerhq.hu</A></CENTER></P>
|
||
|
||
<P><HR></P>
|
||
|
||
<P>Table of Contents</P>
|
||
|
||
<P><HR></P>
|
||
|
||
<P><UL>
|
||
<LI><A HREF="#1">1. Introduction</A>
|
||
<UL><LI><A HREF="#1.1">1.1 Overview</A></LI>
|
||
<LI><A HREF="#1.2">1.2 History</A></LI>
|
||
<LI><A HREF="#1.3">1.3 Installation</A></LI>
|
||
<LI><A HREF="#1.4">1.4 What about the GUI?</A>
|
||
</LI></UL>
|
||
</LI><LI><A HREF="#2">2. Features</A>
|
||
<UL><LI><A HREF="codecs.html">2.1 Video Formats, Audio & Video Codecs</A>
|
||
<UL><LI><A HREF="codecs.html#2.1.1">2.1.1 Supported input formats</A></LI>
|
||
<LI><A HREF="codecs.html#2.1.2">2.1.2 Supported audio & video codecs</A>
|
||
<UL><LI><A HREF="codecs.html#2.1.2.1">2.1.2.1 DivX4</A></LI>
|
||
<LI><A HREF="codecs.html#2.1.2.2">2.1.2.2 ffmpeg's DivX/libavcodec</A></LI>
|
||
</UL>
|
||
</LI><LI><A HREF="codecs.html#2.1.4">2.1.4 Codec importing howto</A></LI>
|
||
<UL><LI><A HREF="codecs.html#2.1.4.1">2.1.4.1 VFW codecs</A></LI>
|
||
<LI><A HREF="codecs.html#2.1.4.2">2.1.4.2 DirectShow codecs</A></LI>
|
||
</UL>
|
||
</LI></UL>
|
||
</LI><LI><A HREF="video.html">2.2 Video & Audio output devices</A>
|
||
<UL><LI><A HREF="video.html#2.2.1">2.2.1 Video output devices</A>
|
||
<UL><LI><A HREF="video.html#2.2.1.1">2.2.1.1 MTRR</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.2">2.2.1.2 Xv</A>
|
||
<UL><LI><A HREF="video.html#2.2.1.2.1">2.2.1.2.1 3dfx cards</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.2.2">2.2.1.2.2 S3 cards</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.2.3">2.2.1.2.3 nVidia cards</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.2.4">2.2.1.2.4 ATI cards</A>
|
||
</LI></UL>
|
||
</LI><LI><A HREF="video.html#2.2.1.3">2.2.3.2 DGA</A>
|
||
<UL><LI><A HREF="video.html#2.2.1.3.1">2.2.1.3.1 Summary</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.3.2">2.2.1.3.2 What is DGA</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.3.3">2.2.1.3.3 Installing DGA support for MPlayer</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.3.4">2.2.1.3.4 Resolution switching</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.3.5">2.2.1.3.5 DGA & MPlayer</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.3.6">2.2.1.3.6 Features of the DGA driver</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.3.7">2.2.1.3.7 Speed issues</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.3.8">2.2.1.3.8 Known bugs</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.3.9">2.2.1.3.9 Future work</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.3.A">2.2.1.3.A Some modelines</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.3.B">2.2.1.3.B Bug Reports</A>
|
||
</LI></UL>
|
||
</LI><LI><A HREF="video.html#2.2.1.4">2.2.1.4 SDL</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.5">2.2.1.5 SVGAlib</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.6">2.2.1.6 Framebuffer output (FBdev)</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.7">2.2.1.7 Matrox framebuffer (mga_vid)</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.8">2.2.1.8 SiS 6326 framebuffer (sis_vid)</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.9">2.2.1.9 3dfx YUV support</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.10">2.2.1.10 OpenGL output</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.11">2.2.1.11 AAlib - text mode displaying</A>
|
||
</LI><LI><A HREF="video.html#2.2.1.A">2.2.1.A TVout</A>
|
||
<UL><LI><A HREF="video.html#2.2.1.A.1">2.2.1.A.1 Matrox cards</A>
|
||
</UL></LI></LI>
|
||
</LI><LI><A HREF="sound.html#2.2.2">2.2.2 Audio output devices</A>
|
||
<UL><LI><A HREF="sound.html#2.2.2.1">2.2.2.1 Soundcard experiences, recommendations</A>
|
||
</LI></UL>
|
||
</LI></UL>
|
||
</LI></UL>
|
||
</LI><LI><A HREF="#3">3. Usage</A>
|
||
<UL><LI><A HREF="#3.1">3.1 Control from keyboard</A>
|
||
</LI><LI><A HREF="#3.2">3.2 Control from LIRC (Linux Infrared Remote Control)</A>
|
||
</LI><LI><A HREF="#3.3">3.3 Streaming from network or pipes</A>
|
||
</LI></UL>
|
||
</LI><LI><A HREF="cd-dvd.html#4">4. CD/DVD section</A>
|
||
<UL><LI><A HREF="cd-dvd.html#4.1">4.1 CD drives</A>
|
||
</LI><LI><A HREF="cd-dvd.html#4.2">4.2 DVD playback</A>
|
||
</LI><LI><A HREF="cd-dvd.html#4.3">4.3 DVD playback FAQ</A>
|
||
</LI></UL>
|
||
</LI><LI><A HREF="faq.html">5. FAQ section</A>
|
||
<UL><LI><A HREF="faq.html#5.1">5.1 Compilation</A>
|
||
</LI><LI><A HREF="faq.html#5.2">5.2 General questions</A>
|
||
</LI><LI><A HREF="faq.html#5.3">5.3 File playing problems</A>
|
||
</LI><LI><A HREF="faq.html#5.4">5.4 Video/audio driver problems</A>
|
||
</LI><LI><A HREF="faq.html#5.5">5.5 Feature requests</A>
|
||
</LI></UL>
|
||
</LI><LI><A HREF="#6">6. Misc OS'es</A>
|
||
<UL><LI><A HREF="#6.1">6.1 Debian packaging</A>
|
||
</LI><LI><A HREF="#6.2">6.2 FreeBSD</A>
|
||
</LI><LI><A HREF="#6.3">6.3 Solaris 8</A>
|
||
</LI><LI><A HREF="#6.4">6.4 StrongARM</A>
|
||
</LI></UL>
|
||
</LI><LI><A HREF="#A">A. Authors</A>
|
||
</LI><LI><A HREF="#B">B. Mailing lists</A>
|
||
</LI><LI><A HREF="bugreports.html">C. How to report bugs</A>
|
||
|
||
</LI></UL></P>
|
||
|
||
<P><HR></P>
|
||
|
||
<P><B><A NAME=1>1. Introduction</A></B></P>
|
||
|
||
<P><B><A NAME=1.1>1.1. Overview</A></B></P>
|
||
|
||
<P><B>MPlayer</B> is a movie player for LINUX. It plays most MPEG, AVI and ASF files,
|
||
supported by many native and Win32 DLL codecs. You can watch VCD, DVD and
|
||
even DivX movies too. The another big feature of mplayer is the wide range of
|
||
supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev,
|
||
AAlib, but you can use SDL (and this way all drivers of SDL) and some
|
||
lowlevel card-specific drivers (for Matrox) too! Most of them supports
|
||
software or hardware scaling, so you can enjoy movies in fullscreen. And what
|
||
about the nice big antialiased shaded subtitles (7 supported types!!!) with
|
||
hungarian, english, cyrillic, czech, korean fonts, and OSD?</P>
|
||
|
||
<P>I didn't write any codecs, just some players. I spent
|
||
a lot of time finding the best way to parse bad damaged input files
|
||
(both MPEG and AVI) and to do perfect A-V sync with seeking ability.
|
||
My player is rock solid playing damaged MPEG files (useful for some VCDs),
|
||
and it plays bad AVI files which are unplayable with the famous
|
||
windows media player. Even AVI files without index chunk are playable, and
|
||
you can rebuild their indexes with the -idx option, thus enabling seeking!
|
||
As you see, stability and quality are the most important things for me,
|
||
but the speed is also amazing.</P>
|
||
|
||
<P><B><A NAME=1.2>1.2. History</A></B></P>
|
||
|
||
<P>This began a year ago...
|
||
I've tried lots of players under linux (mtv,xmps,dvdview,livid/oms,VideoLAN,
|
||
xine,xanim,avifile,xmmp) but they all have some problem. Mostly with special
|
||
files or with audio/video sync. Most of them is unable to play both MPEG1,
|
||
MPEG2 and AVI (DivX) files. Many players have image quality or speed problems
|
||
too. So I've decided to write/modify one...</P>
|
||
|
||
<P><UL>
|
||
<LI><B>mpg12play v0.1-v0.3:</B><BR>
|
||
The first try, hacked together in a half hour!
|
||
I've used libmpeg3 from www.heroinewarrior.com up to the version 0.3,
|
||
but there were image quality and speed problems with it.
|
||
<LI><B>mpg12play v0.5-v0.87:</B><BR>
|
||
Mpeg codec replaced with DVDview by Dirk Farin, it was a great stuff,
|
||
but it was slow and was written in C++ (I hate C++!!!)
|
||
<LI><B>mpg12play v0.9-v0.95pre5:</B><BR>
|
||
Mpeg codec was libmpeg2 (mpeg2dec) by Aaron Holtzman & Michel Lespinasse.
|
||
It's great, optimized very fast C code with perfect image quality and
|
||
100% MPEG standard conformance.
|
||
<LI><B>MPlayer v0.3-v0.9:</B><BR>
|
||
It was a pack of two programs: mpg12playv0.95pre6 and my new simple AVI
|
||
player 'avip' based on avifile's Win32 DLL loader.
|
||
<LI><B>MPlayer v0.10:</B><BR>
|
||
The MPEG and AVI player in a single binary!
|
||
<LI><B>MPlayer v0.11:</B><BR>
|
||
Some new developers joined and from 0.11 the mplayer project is a team-work!
|
||
Added .ASF file support, and OpenDivX (see www.projectmayo.com) en/decoding.
|
||
<LI><B>MPlayer v0.17 "The IdegCounter"</B><BR>
|
||
The release version of the 0.11pre after 4 months of heavy development!
|
||
Try it, and be amazed! Thousands of new features added... and of course
|
||
old code was improved too, bugs removed etc.
|
||
<LI><B>MPlayer 0.18 "The BugCounter"</B><BR>
|
||
2 months since 0.17 and here's a new release.. Completed ASF support,
|
||
more subtitle formats, introduced libao (similar to libvo but to audio),
|
||
even more stable than ever, and so on. It's a MUST !
|
||
</UL></P>
|
||
|
||
<P><B><A NAME=1.3>1.3. Installation</A></B></P>
|
||
|
||
<P>If you plan to use <B>MPlayer</B> on x86 architecture, you possibly want to use
|
||
Win32 codecs. Download and unzip w32codecs.zip to /usr/lib/win32 .
|
||
Note: the avifile project has similar codecs package, but it differs
|
||
from our, so if you want to use all supported codecs, then use
|
||
our package! However, you can use our codecs package with avifile.</P>
|
||
|
||
<P>If you own a Matrox G200/G400/G450 card, then please see the <A HREF="video.html#2.2.1.7">2.2.1.7</A>
|
||
section in order to gain big speedup. It is important to do these steps
|
||
_before_ compiling <B>MPlayer</B>, otherwise no Matrox-specific support will be
|
||
built.</P>
|
||
|
||
<P>If you plan to use the ProjectMayo's <B>DivX4</B> codec, check the
|
||
<A HREF="codecs.html#2.1.2.1">2.1.2.1</A> section before compiling.</P>
|
||
|
||
<P>Then build <B>MPlayer</B>:</P>
|
||
|
||
<PRE> ./configure
|
||
make
|
||
make install</PRE>
|
||
|
||
<P>It is recommended to browse the output of ./configure , it contains info
|
||
about what will be built, and what won't. You may also want to view
|
||
config.h and config.mak files.</P>
|
||
|
||
<P>Though not mandatory, the fonts should be installed in order to gain
|
||
OSD, and subtitle functionality. Download mp_font3.zip and optional
|
||
(if exists) language updates.</P>
|
||
|
||
<PRE> mkdir ~/.mplayer/font
|
||
cd ~/.mplayer/font
|
||
unzip mp_font3.zip
|
||
unzip mp_font3_hu.zip</PRE>
|
||
|
||
|
||
<P><B><A NAME=1.4>1.4. What about the GUI?</A></B></P>
|
||
|
||
<P>I'm not a GUI programmer. I hate GUIs, I like the pure black 80x25 console.
|
||
So the player has only keyboard control from the controlling console/xterm now.
|
||
There is a GUI development for the player, coordinated by Pontscho/Fresh!
|
||
It's still under development, but it will be merged and released real soon.
|
||
BTW he needs some nice skins, if you are a good graphician, contact him!!!</P>
|
||
|
||
<P><B><A NAME=2>2. Features</A></B></P>
|
||
|
||
<P><A NAME=2.1>2.1. <A HREF="codecs.html">Video Formats, Audio & Video Codecs</A></P>
|
||
|
||
<P><A NAME=2.2>2.2. <A HREF="video.html">Video</A> & <A HREF="sound.html">Audio</A> output devices</P>
|
||
|
||
<P><B><A NAME=3>3. Usage</A></B></P>
|
||
|
||
<P><TABLE BORDER=0>
|
||
<TD> </TD><TD>file</TD><TD> </TD><TD><CODE>mplayer [options] [path/]filename</CODE></TD><TR>
|
||
<TD></TD><TD>VCD</TD><TD></TD><TD><CODE>mplayer [options] -vcd trackno /dev/cdrom</CODE></TD><TR>
|
||
<TD></TD><TD>DVD</TD><TD></TD><TD><CODE>mplayer [options] -dvd titleno [/dev/dvd]</CODE></TD><TR>
|
||
<TD></TD><TD>net</TD><TD></TD><TD><CODE>mplayer [options] http://site.com/file.[mpg|avi]</CODE></TD><TR>
|
||
</TABLE></P>
|
||
|
||
<P><PRE> mplayer -vo x11 /mnt/Films/Contact/contact2.mpg
|
||
mplayer -vcd 2 /dev/cdrom
|
||
mplayer -afm 3 /mnt/DVDtrailers/alien4.vob
|
||
mplayer -dvd /dev/dvd /mnt/dvd/matrix.vob
|
||
mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi</PRE></P>
|
||
|
||
|
||
<P><B><A NAME=3.1>3.1. Control from keyboard</A></B></P>
|
||
|
||
<P><TABLE BORDER=0>
|
||
<TD> </TD><TD><- or -></TD><TD> </TD><TD>seek backward/forward 10 seconds</TD><TR>
|
||
<TD></TD><TD>up or down</TD><TD></TD><TD>seek backward/forward 1 minute</TD><TR>
|
||
<TD></TD><TD>pgup/pgdown</TD><TD></TD><TD>seek backward/forward 10 minutes</TD><TR>
|
||
<TD></TD><TD>p or SPACE</TD><TD></TD><TD>pause movie (press any key)</TD><TR>
|
||
<TD></TD><TD>q or ESC</TD><TD></TD><TD>stop playing and quit program</TD><TR>
|
||
<TD></TD><TD>+ or -</TD><TD></TD><TD>adjust audio delay by +/- 0.1 second</TD><TR>
|
||
<TD></TD><TD>/ or *</TD><TD></TD><TD>decrease/increase volume</TD><TR>
|
||
<TD></TD><TD>o</TD><TD></TD><TD>toggle OSD: none / seek / seek+timer</TD><TR>
|
||
<TD></TD><TD>m</TD><TD></TD><TD>toggle using master/pcm volume</TD><TR>
|
||
<TD></TD><TD>z or x</TD><TD></TD><TD>adjust subtitle delay by +/- 0.1 second</TD><TR>
|
||
|
||
<TD COLSPAN=4><P><I>(the following keys are valid only when using DirectShow DivX codec)</I></P></TD><TR>
|
||
|
||
<TD></TD><TD>1 or 2</TD><TD></TD><TD>adjust contrast</TD><TR>
|
||
<TD></TD><TD>3 or 4</TD><TD></TD><TD>adjust brightness</TD><TR>
|
||
<TD></TD><TD>5 or 6</TD><TD></TD><TD>adjust ?</TD><TR>
|
||
<TD></TD><TD>7 or 8</TD><TD></TD><TD>adjust saturation</TD><TR>
|
||
</TABLE></P>
|
||
|
||
<P><B><A NAME=3.2>3.2. Control from LIRC</A></B></P>
|
||
|
||
<P>Linux Infrared Remote Control - use an easy to build home-brewn IR-receiver,
|
||
an (almost) arbitrary remote control and control your linux box with it!
|
||
More about it at <A HREF="http://www.lirc.org">www.lirc.org</A>.</P>
|
||
|
||
<P>If you have installed the lirc-package, you can compile <B>MPlayer</B> with LIRC
|
||
support using ./configure --enable-lirc</P>
|
||
|
||
<P>If everything went fine, <B>MPlayer</B> will print a message like
|
||
LIRC init was successful.
|
||
on startup. If an error occurs it will tell you. If it doens't tell you
|
||
anything about LIRC there's no support compiled in. That's it :-)</P>
|
||
|
||
<P>The application name for <B>MPlayer</B> is - oh wonder - mplayer_lirc.
|
||
It understands the following commands:</P>
|
||
|
||
<P><TABLE BORDER=0>
|
||
<TD> </TD><TD>PAUSE</TD><TD> </TD><TD>pause playing. Any other keystroke will continue replay.</TD><TR>
|
||
<TD></TD><TD>QUIT</TD><TD></TD><TD>exit mplayer</TD><TR>
|
||
<TD></TD><TD>RWND</TD><TD></TD><TD>10 secs back</TD><TR>
|
||
<TD></TD><TD>FRWND</TD><TD></TD><TD>60 secs back</TD><TR>
|
||
<TD></TD><TD>FWD</TD><TD></TD><TD>skip 10 secs</TD><TR>
|
||
<TD></TD><TD>FFWD</TD><TD></TD><TD>skip 60 secs</TD><TR>
|
||
<TD></TD><TD>INCVOL</TD><TD></TD><TD>increase volume one percent</TD><TR>
|
||
<TD></TD><TD>DECVOL</TD><TD></TD><TD>decrease volmue one percent</TD><TR>
|
||
<TD></TD><TD>MASTER</TD><TD></TD><TD>use master mixer channel</TD><TR>
|
||
<TD></TD><TD>PCM</TD><TD></TD><TD>use pcm mixer channel</TD><TR>
|
||
</TABLE></P>
|
||
|
||
<P> Don't forget to enable the repeat flag for RWND/FWD in .lircrc. Here's an
|
||
excerpt from my .lircrc:</P>
|
||
|
||
<P><PRE> begin
|
||
remote = CU-SX070
|
||
prog = mplayer_lirc
|
||
button = Tape_Play
|
||
repeat = 1
|
||
config = FFWD
|
||
end
|
||
|
||
begin
|
||
remote = CU-SX070
|
||
prog = mplayer_lirc
|
||
button = Tape_Stop
|
||
config = QUIT
|
||
end</PRE></P>
|
||
|
||
<P>If you don't like the standard location for the lirc-config file (~/.lircrc)
|
||
use the -lircconf [filename] switch to specify another file.</P>
|
||
|
||
<P><B><A NAME=3.3>3.3. Streaming from network or pipes</A></B></P>
|
||
|
||
<P><B>MPlayer</B> can play media from network, by using the HTTP protocol, and even
|
||
beta ASF streaming (FROM network) is available.
|
||
Configuring it is simple, just recompile <B>MPlayer</B> with</P>
|
||
|
||
<P><CODE> ./configure --enable-streaming</CODE></P>
|
||
|
||
<P><B>MPlayer</B> can read from stdin (NOT named pipes). This can be for example
|
||
used to play from FTP:</P>
|
||
|
||
<P><CODE> wget ftp://micorsops.com/something.avi -O - | mplayer -</CODE></P>
|
||
|
||
<P><B><A NAME=4>4. <A HREF="faq.html">FAQ section</A></A></B></P>
|
||
|
||
<P><B><A NAME=5>5. <A HREF="cd-dvd.html">CD/DVD section</A></A></B></P>
|
||
|
||
<P><B><A NAME=6>6. Misc OS'es</A></B></P>
|
||
|
||
<P><B><A NAME=6.1>6.1. Debian packaging</A></B></P>
|
||
|
||
<P>To build the package, get the cvs version, or .tgz and uncompress it,
|
||
and cd into programs directory:</P>
|
||
|
||
<P><PRE> cd main
|
||
fakeroot debian/rules binary</PRE></P>
|
||
|
||
<P>(... mplayer detects hardware/software, builds itself and.. )
|
||
dpkg-deb: building package `mplayer' in `../mplayer_0.18-1_i386.deb'.</P>
|
||
|
||
<P>And now just become root, and:</P>
|
||
|
||
<P><PRE> dpkg -i ../mplayer_0.18-1_i386.deb as root.</PRE></P>
|
||
|
||
<P>Here's how it looks like:</P>
|
||
|
||
<P><PRE> eyck@incubus:/src/main$ sudo dpkg -i ../mplayer_0.18-1_i386.deb
|
||
Password:
|
||
(Reading database ... 26946 files and directories currently installed.)
|
||
Preparing to replace mplayer 0.17a-1 (using ../mplayer_0.18-1_i386.deb)
|
||
Unpacking replacement mplayer ...
|
||
Setting up mplayer (0.18-1) ...</PRE></P>
|
||
|
||
|
||
<P><B><A NAME=6.2>6.2. FreeBSD</A></B></P>
|
||
|
||
<P>To build the package you will need GNU make (gmake, /usr/ports/devel/gmake),
|
||
native BSD make will not work.</P>
|
||
|
||
<P>To run <B>MPlayer</B> you will need to re-compile the kernel with
|
||
"options USER_LDT" (unless you are running -CURRENT, where this is default).
|
||
If you have a CPU with SSE also use "options CPU_ENABLE_SSE" to use it
|
||
(FreeBSD-STABLE required, or use kernel patches).</P>
|
||
|
||
<P>If <B>MPlayer</B> complains about "CD-ROM Device '/dev/cdrom' not found!" make a
|
||
symbolic link: <CODE>ln -s /dev/(your_cdrom_device) /dev/cdrom</CODE></P>
|
||
|
||
<P>There's no DVD support for FreeBSD yet.
|
||
Feel free to add it :-)</P>
|
||
|
||
|
||
<P><B><A NAME=6.3>6.3. Solaris 8</A></B></P>
|
||
|
||
<P>AVI file playback works best on Solaris x86, because you have the
|
||
option to use the win32 codecs on the x86 platform. On Solaris SPARC,
|
||
you'll find quite a few AVI files with non working video and/or
|
||
audio playback, because the video/audio codecs using the win32 DLLs
|
||
are not available. However, <B>DivX/OpenDivX</B> movies should work,
|
||
when using libavcodec.</P>
|
||
|
||
<P>To build the package you will need GNU make (gmake, /opt/sfw/gmake), native
|
||
Solaris make will not work. Typical error you get when building with solaris'
|
||
make instead of GNU make:</P>
|
||
|
||
<P><PRE> % /usr/ccs/bin/make
|
||
make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen</P></PRE>
|
||
|
||
<P>On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter
|
||
if GNU C/C++ compiler is configured with or without the GNU assembler.</P>
|
||
|
||
<P>On Solaris x86, you need the GNU assembler and the GNU C/C++
|
||
compiler, configured to use the GNU assembler! The mplayer code on
|
||
the x86 platform makes heavy use of MMX, SSE and 3DNOW!
|
||
instructions that cannot be compiled using Sun's assembler
|
||
<CODE>/usr/ccs/bin/as</CODE>.</P>
|
||
|
||
<P>The configure script tries to find out, which assembler program is
|
||
used by your "gcc" command (in case the autodetection fails, use
|
||
the "--as=/whereever/you/have/installed/gnu-as" option to tell the
|
||
configure script where it can find GNU "as" on your system).</P>
|
||
|
||
<P>Error message from configure on a Solaris x86 system using GCC
|
||
without GNU assembler:</P>
|
||
|
||
<P><PRE> % configure
|
||
...
|
||
Checking assembler (/usr/ccs/bin/as) ... , failed
|
||
Please upgrade(downgrade) binutils to 2.10.1...</PRE></P>
|
||
|
||
<P>(Solution: Install and use a gcc configured with "--with-as=gas")</P>
|
||
|
||
<P>Typical error you get when building with a GNU C compiler that does
|
||
not use GNU as:</P>
|
||
|
||
<P><PRE> % gmake
|
||
...
|
||
gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
|
||
-fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
|
||
Assembler: mplayer.c
|
||
"(stdin)", line 3567 : Illegal mnemonic
|
||
"(stdin)", line 3567 : Syntax error
|
||
... more "Illegal mnemonic" and "Syntax error" errors ...</PRE></P>
|
||
|
||
<P>For DVD support you must have the patched libcss installed. Patch:
|
||
<A HREF="http://www.tools.de/solaris/mplayer/">http://www.tools.de/solaris/mplayer/</A>.</P>
|
||
|
||
<P>Due to two bugs in solaris 8 x86, you cannot reliably play DVDs using a
|
||
capacity >4GB:</P>
|
||
|
||
<P><UL><LI>The sd(7D) driver on solaris 8 x86 driver has bug when accessing a
|
||
disk block >4GB on a device using a logical blocksize != DEV_BSIZE
|
||
(i.e. CDROM and DVD media). Due to a 32bit int overflow, a disk
|
||
address modulo 4GB is accessed.
|
||
(http://groups.yahoo.com/group/solarisonintel/message/22516)
|
||
<LI>The similar bug is present in the hsfs(7FS) filesystem code (aka
|
||
ISO9660), hsfs currently does not support partitions/disks >4GB,
|
||
all data is accessed modulo 4GB
|
||
(http://groups.yahoo.com/group/solarisonintel/message/22592)
|
||
</UL></P>
|
||
|
||
<P><B><A NAME=6.4>6.4. StrongARM</A></B></P>
|
||
|
||
<P><B>MPlayer</B> is reported to compile on StrongARM. Use the following command line:</P>
|
||
|
||
<P><PRE> ./configure --target=arm-linux --disable-css --with-x11libdir=/usr/arm/lib
|
||
--with-x11incdir=/usr/arm/lib --disable-gcc-checking</PRE></P>
|
||
|
||
<P><B><A NAME=A>Appendix A - Authors</A></B></P>
|
||
|
||
<P>NOTE: Do *NOT* send bugreports, help & feature requests directly to the authors!</P>
|
||
|
||
<P>Read Appendix <A HREF="#C">C</A> and subscribe to mplayer-users mailing lists.</P>
|
||
|
||
<P ALIGN=center><B><U>The <B>MPlayer</B> project:</U></B></P>
|
||
|
||
<P><UL>
|
||
<LI><EFBFBD>rp<EFBFBD>d Gere<72>ffy (A'rpi/ESP-team): [arpi@thot.banki.hu]
|
||
<UL><LI>player code (mpeg stream demultiplexer and avi/asf parser, A-V sync, seek...)
|
||
</LI><LI>mp3lib, based on mpglib sources [MP3 audio decoder]
|
||
</LI><LI>getch2 [keyboard handler]
|
||
</LI><LI>some changes in libmpeg2 code (progressive frames, bitrate & fps support)
|
||
</LI><LI>libvo improvements: adding OpenGL support, bugfix in mga driver...
|
||
</LI><LI>triple buffering & YUY2 support (for DivX/MPEG4) into mga_vid driver
|
||
</LI><LI>scripts in the TVout directory (TVout on Matrox G400DH, read documentation)
|
||
</LI><LI>hacking DivX/Mpeg4 VfW codecs to get YUV output
|
||
</LI><LI>opendivx decoder speed optimizations (see opendivx/ChangeLog)
|
||
</LI><LI>OSD & SUB display code
|
||
</LI><LI>ffmpeg/libavcodec integration
|
||
</LI><LI>DivX4Linux (ProjectMayo) support (see documentation)
|
||
</LI></UL>
|
||
|
||
</LI><LI>Zolt<EFBFBD>n Ponekker (Pontscho/Fresh!): [pontscho@makacs.poliod.hu]
|
||
<UL><LI>configure script and Makefiles for easy compile
|
||
</LI><LI>GUI system (near complete!?)
|
||
</LI><LI>3DNow! support into mp3lib
|
||
</LI><LI>3DNow! support into fastmemcpy.h
|
||
</LI><LI>various X11 driver changes (keyboard handling, fullscreen, bpp detect, etc)
|
||
</LI><LI>libvo: adding xmga driver, and fullscreen support to xv
|
||
</LI><LI>audio mixer (volume) support
|
||
</LI></UL>
|
||
|
||
</LI><LI>G<EFBFBD>bor L<>n<EFBFBD>rt (LGB): [lgb@lgb.hu]
|
||
<UL><LI>./configure script improvements
|
||
</LI><LI>Makefile improvements
|
||
</LI><LI>prelimenary DVD support
|
||
</LI><LI>another GUI code (is that so..?)
|
||
</LI><LI>various X11 cleanups and fixes
|
||
</LI></UL>
|
||
|
||
</LI><LI>G<EFBFBD>bor B<>rczi (Gabucino): [gabucino@k2.jozsef.kando.hu]
|
||
<UL><LI>documentation maintainer
|
||
</LI><LI>hungarian translation of documentation
|
||
</LI><LI>second webpage design&gfx
|
||
</LI><LI>webpage maintainer
|
||
</LI><LI>testing, codecs quality & speed comparsions
|
||
</LI><LI>IRC channel #<B>MPlayer</B> operator
|
||
(devel channel, users earn kickban)
|
||
</LI><LI>experimental MINIX port :)
|
||
</LI></UL>
|
||
|
||
</LI><LI>Szabolcs Berecz (Szabi): [szabi@inf.elte.hu]
|
||
<UL><LI>codecs.conf file parser
|
||
</LI><LI>config file and command line parser
|
||
</LI><LI>mga_vid fixes, module option etc.
|
||
</LI><LI>fbdev support in libvo
|
||
</LI><LI>type #7 subtitle support
|
||
</LI></UL>
|
||
|
||
</LI><LI>L<EFBFBD>szl<EFBFBD> Megyer (Lez, Laaz): [lez@sch.bme.hu]
|
||
<UL><LI>SUB reader
|
||
</LI><LI>screensaver+DPMS disable for libvo
|
||
</LI></UL>
|
||
|
||
</LI><LI>Gyula L<>szl<7A> (Chass, T<>gla): [chass-@freemail.hu]
|
||
<UL><LI>first fonts (mp_font1.zip)
|
||
</LI><LI>third (current) homepage design&gfx
|
||
</LI></UL>
|
||
|
||
</LI><LI>Zolt<EFBFBD>n M<>rk Vici<63>n (Se7en): [se7en@sch.bme.hu]
|
||
<UL><LI>SVGAlib support in libvo
|
||
</LI></UL>
|
||
|
||
</LI><LI>Alex Beregszaszi (Al3x): [alex@naxine.org]
|
||
<UL><LI>ALSA output driver in libao2
|
||
</LI><LI>vo_ggi output driver in libvo (www.ggi-project.org)
|
||
</LI></UL>
|
||
|
||
</LI><LI>Andreas Ackermann (Acki): [asackerm@stud.informatik.uni-erlangen.de]
|
||
<UL><LI>LIRC support (see documentation)
|
||
</LI><LI>DGA support in libvo
|
||
</LI></UL>
|
||
|
||
</LI><LI>Felix B<>nemann (Atmos): [atmosfear@users.sourceforge.net]
|
||
<UL><LI>SDL driver maintainer
|
||
</LI><LI>Additional YUV formats fixes
|
||
</LI><LI>New font (mp_font2.zip)
|
||
</LI><LI>PNG file output support in libvo
|
||
</LI><LI>flipping support (for Indeo 3/4, etc)
|
||
</LI><LI>SDL audio driver in libao2
|
||
</LI><LI>RAW PCM/WAVE file writer for libao2
|
||
</LI></UL>
|
||
|
||
</LI><LI>TeLeNiEkO: [telenieko@telenieko.com]
|
||
<UL><LI>spanish translation of documentation
|
||
</LI></UL>
|
||
|
||
</LI><LI>Michael Graffam: [mgraffam@idsi.net]
|
||
<UL><LI>XF86VidMode support to vo_x11 and vo_dga
|
||
</LI><LI>Video mode switching code to vo_dga
|
||
</LI></UL>
|
||
|
||
</LI><LI>Jens Hoffmann: [hoffmajs@gmx.de]
|
||
<UL><LI>Additional YUV formats support
|
||
</LI><LI>found the big BITMAPINFOHEADER problem -> solved ASV2 pixelization
|
||
</LI></UL>
|
||
|
||
</LI><LI>Nick Kurshev: [nickols_k@mail.ru]
|
||
<UL><LI>memcpy optimizations for AMD K7 and Intel Pentium III (fastmemcpy.h)
|
||
</LI><LI>CDROM tune info
|
||
</LI><LI>further 3DNow! optimizations into mp3lib and libac3 and ffmpeg
|
||
</LI><LI>russian translation of documentation
|
||
</LI></UL>
|
||
|
||
</LI><LI>German Gomez Garcia: [german@piraos.com]
|
||
<UL><LI>DVD .ifo parser and chapter selection [not yet in the main trunk]
|
||
</LI><LI>SPDIF AC3 output for SBLive!
|
||
</LI></UL>
|
||
|
||
</LI><LI>Dariush Pietrzak (Eyck): [eyck@incubus.ar.lublin.pl]
|
||
<UL><LI>debian packaging support (see debian/* and this documentation)
|
||
</LI><LI>support for vplayer subtitle format
|
||
</LI><LI>prelimenary support for .RT subtitle format
|
||
</LI></UL>
|
||
|
||
</LI><LI>Marcus Comstedt: [marcus@idonex.se]
|
||
<UL><LI>initial solaris8-x86 support
|
||
</LI></UL>
|
||
|
||
</LI><LI>J<EFBFBD>rgen Keil and Marcus Comstedt: [jk@tools.de] [marcus@idonex.se]
|
||
<UL><LI>patched <B>MPlayer</B> to work on Solaris 8 x86
|
||
</LI><LI>configure fixes
|
||
</LI><LI>various fixes (win32, configure, etc)
|
||
</LI><LI>SUN audio driver in libao2
|
||
</LI></UL>
|
||
|
||
</LI><LI>Vladimir Kushnir: [vkushnir@Alfacom.net]
|
||
<UL><LI>patched <B>MPlayer</B> to work on FreeBSD x86
|
||
</LI></UL>
|
||
|
||
</LI><LI>Bertrand BAUDET: [bertrand_baudet@yahoo.com]
|
||
<UL><LI>network streaming support
|
||
</LI></UL>
|
||
|
||
</LI><LI>Artur Zaprzala: <zybi@fanthom.irc.pl>
|
||
<UL><LI>Complete font generator prog + OSD font (TOOLS/subfont-c)
|
||
</LI></UL>
|
||
|
||
</LI><LI>lanzz@lanzz.org:
|
||
<UL><LI>GIMP font generator plugin (TOOLS/subfont-gimp)
|
||
</LI></UL>
|
||
|
||
</LI><LI>Adam Tla/lka: [atlka@pg.gda.pl]
|
||
<UL><LI>osd/sub review, fixes, optimization, utf8 support
|
||
</LI></LI>various fixes
|
||
</LI></UL>
|
||
|
||
</LI><LI>Folke Ashberg: [folke@ashberg.de]
|
||
<UL><LI>native AAlib driver (-vo aa)
|
||
</LI></UL>
|
||
|
||
</LI></UL></P>
|
||
|
||
<P>Main testers:</P>
|
||
|
||
<P><UL>
|
||
<LI>Tibor Bal<61>zs (Tibcu)
|
||
<LI>P<EFBFBD>ter Sasi (SaPe)
|
||
<LI>Christoph H. Lampert
|
||
<LI>Attila Kinali
|
||
<LI>Dirk Vornheder
|
||
</UL></P>
|
||
|
||
<P ALIGN=center><B><U>The codecs, libs:</U></B></P>
|
||
|
||
<P><UL>
|
||
<LI>Aaron Holtzman: [aholtzma@engr.uvic.ca]
|
||
<UL><LI>ac3dec (and libac3) author [AC3 audio decoder]
|
||
</LI><LI>mga_vid driver [Matrox G200/G400 YUV Back-end Scaler]
|
||
</LI><LI>mpeg2dec [Fast MPEG1/MPEG2 video decoder, currently used in player]
|
||
</LI></UL>
|
||
|
||
</LI><LI>Michel Lespinasse: [walken@zoy.org]
|
||
<UL><LI>did large libmpeg2 changes for better speed and mpeg conformance
|
||
</LI></UL>
|
||
|
||
</LI><LI>Eugene Kuznetsov: [divx@euro.ru]
|
||
<UL><LI>avifile author [AVI player library for linux, using Win32 VfW/ACM codecs]
|
||
</LI><LI>technical help about AVI and ASF formats, and how to get YUV using VfW...
|
||
</LI><LI>divx4linux techical support
|
||
</LI></UL>
|
||
|
||
</LI><LI>Zdenek Kabelac: [kabi@informatics.muni.cz]
|
||
<UL><LI>current avifile maintainer(?)
|
||
</LI><LI>some technical help about the win32 stuff and timers
|
||
</LI></UL>
|
||
|
||
</LI><LI>Gerard Lantau: [glantau@yahoo.fr]
|
||
<UL><LI>ffmpeg/libavcodec author,maintainer (opensource mpeg, mjpeg, divx en/decoder)
|
||
</LI></UL>
|
||
|
||
</LI><LI>Project Mayo: [http://www.projectmayo.com]
|
||
<UL><LI>the OpenDivX codec authors
|
||
</LI></UL>
|
||
|
||
</LI><LI>Michael Hipp:
|
||
<UL><LI>mpglib author [isn't used directly but some parts in mp3lib]
|
||
</LI></UL>
|
||
|
||
</LI><LI>Mark Podlipec:
|
||
<UL><LI>xa_gsm.c author [MS-GSM audio codec]
|
||
[from a GSM library by Jutta Degener and Carsten Bormann]
|
||
</LI></UL>
|
||
|
||
</LI></UL></P>
|
||
|
||
<P>Their code is not used in current player version, but I've got some ideas or
|
||
other technical help from:</P>
|
||
|
||
<P><UL>
|
||
<LI>John F. McGowan http://www.jmcgowan.com/
|
||
<UL><LI>AVI FAQ author/collector. [site with many useful docs on codecs and avi fmt]
|
||
</LI></UL>
|
||
|
||
</LI><LI>Dirk Farin: [farin@ti.uni-mannheim.de]
|
||
<UL><LI>dvdview author [MPEG1/MPEG2 video decoder, used in v0.5-v0.8]
|
||
</LI></UL>
|
||
|
||
</LI><LI>Adam Williams: [broadcast@earthling.net]
|
||
<UL><LI>libmpeg3 (and xmovie) author [MPEG1/MPEG2 video decoder, used in v0.1-v0.4]
|
||
</LI></UL>
|
||
|
||
</UL></P>
|
||
|
||
<P><B><A NAME=B>Appendix B - Mailing lists</A></B></P>
|
||
|
||
<P>There are some public mailing lists on <B>MPlayer</B>. Subscribing can be
|
||
achieved on the following addresses:</P>
|
||
|
||
<P><UL>
|
||
<LI>MPlayer core/hungarian developers list:<BR>
|
||
<A HREF="http://mp.dev.hu/mailman/listinfo/mplayer-devel">http://mp.dev.hu/mailman/listinfo/mplayer-devel</A>
|
||
<P>I dunno, it is the FLAME list in hungarian language :)
|
||
Also some talking about mplayer core team internals, like mplayer
|
||
party, sponsors etc can be here.</P>
|
||
|
||
</LI><LI>MPlayer developers list:<BR>
|
||
<A HREF="http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng">http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng</A>
|
||
<P>This list is about mplayer development! Talking about interface/API changes,
|
||
new libraryes, code optimization, ./configure changes, and send patches here.
|
||
Do NOT send bugreports, user questions, feature requests here!
|
||
This list should be kept low-traffic.</P>
|
||
|
||
</LI><LI>MPlayer users list:<BR>
|
||
<A HREF="http://lists.sourceforge.net/lists/listinfo/mplayer-users">http://lists.sourceforge.net/lists/listinfo/mplayer-users</A>
|
||
<P><UL>
|
||
<LI>send bugreports here (after reading DOCS/BUGS, Appendix <A HREF="#C">C</A>)</LI>
|
||
<LI>send feature requests here (after reading DOCS/TODO)</LI>
|
||
<LI>send user questions here (after reading all this documentation)</LI>
|
||
</UL></P>
|
||
|
||
</LI><LI>MPlayer & Matrox G200/G400/G450 users:<BR>
|
||
<A HREF="http://lists.sourceforge.net/lists/listinfo/mplayer-matrox">http://lists.sourceforge.net/lists/listinfo/mplayer-matrox</A>
|
||
<P>Send matrox-related questions here<UL>
|
||
<LI>things about mga_vid</LI>
|
||
<LI>matrox's official beta drivers (for X 4.x.x)</LI>
|
||
<LI>and about matroxfb-TVout stuff.</LI></UL></P>
|
||
|
||
</LI><LI>mpg12play-portable developers:<BR>
|
||
<A HREF="http://lists.sourceforge.net/lists/listinfo/mplayer-mpg12play">http://lists.sourceforge.net/lists/listinfo/mplayer-mpg12play</A>
|
||
<P>This list is for talking about mplayer ports to non-x86 platforms
|
||
(IRIX, Solaris-SPARC, Alpha, Commodore64, Sharp Calculator,
|
||
Teapot etc...)</P>
|
||
|
||
</LI><LI>MPlayer announce:<BR>
|
||
<A HREF="http://lists.sourceforge.net/lists/listinfo/mplayer-announce">http://lists.sourceforge.net/lists/listinfo/mplayer-announce</A>
|
||
<P>Very low traffic list :)
|
||
And it's read-only. I'll post something shit there if a new release is done.</P>
|
||
|
||
</LI><LI>MPlayer CVS-log: <BR>
|
||
<A HREF="http://mp.dev.hu/mailman/listinfo/mplayer-cvslog">http://mp.dev.hu/mailman/listinfo/mplayer-cvslog</A>
|
||
<P>Send only questions about CVS changes here.
|
||
(if you don't understand why a change is required or you've better fix)
|
||
Be sure in that your target developer reads this list!</P>
|
||
|
||
</LI></UL></P>
|
||
|
||
<P>NOTE: language of above lists are ENGLISH, unless explicitly stated
|
||
otherwise. Please do not send messages using other language!</P>
|
||
|
||
|
||
<P><B><A NAME=C><A HREF="bugreports.html">Appendix C</A> - How to report bugs</A></B></P>
|
||
|
||
</BODY>
|
||
</HTML>
|