Mercurial > mplayer.hg
comparison DOCS/documentation.html @ 1731:07e2dfca67a3
can't stop commiting :)
| author | gabucino |
|---|---|
| date | Tue, 28 Aug 2001 16:10:50 +0000 |
| parents | b8b17db5e3cc |
| children | 63b6876090da |
comparison
equal
deleted
inserted
replaced
| 1730:bea87c823666 | 1731:07e2dfca67a3 |
|---|---|
| 105 | 105 |
| 106 <P><B><A NAME=1>1. Introduction</A></B></P> | 106 <P><B><A NAME=1>1. Introduction</A></B></P> |
| 107 | 107 |
| 108 <P><B><A NAME=1.1>1.1. Overview</A></B></P> | 108 <P><B><A NAME=1.1>1.1. Overview</A></B></P> |
| 109 | 109 |
| 110 <P><B>MPlayer</B> is a movie player for LINUX. It plays most MPEG, AVI and ASF files, | 110 <P><B>MPlayer</B> is a movie player for LINUX (runs on many other Unices, and |
| 111 supported by many native and Win32 DLL codecs. You can watch VCD, DVD and | 111 <B>non-x86</B> CPUs, see <A HREF="#6">section 6</A>). It plays most MPEG, AVI |
| 112 even DivX movies too. The another big feature of mplayer is the wide range of | 112 and ASF files, supported by many native and Win32 DLL codecs. You can watch |
| 113 supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, | 113 <B>VideoCD</B>, <B>SVCD</B>, <B>DVD</B> and even <B>DivX</B> movies too. The |
| 114 AAlib, but you can use SDL (and this way all drivers of SDL) and some | 114 another big feature of mplayer is the wide range of supported output drivers. |
| 115 lowlevel card-specific drivers (for Matrox) too! Most of them supports | 115 It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, but you can use SDL |
| 116 software or hardware scaling, so you can enjoy movies in fullscreen. And what | 116 (and this way all drivers of SDL) and some lowlevel card-specific drivers (for |
| 117 about the nice big antialiased shaded subtitles (7 supported types!!!) with | 117 Matrox) too! Most of them supports software or hardware scaling, so you can |
| 118 hungarian, english, cyrillic, czech, korean fonts, and OSD?</P> | 118 enjoy movies in fullscreen. And what about the nice big antialiased shaded |
| 119 subtitles (7 supported types!!!) with hungarian, english, cyrillic, czech, | |
| 120 korean fonts, and OSD?</P> | |
| 119 | 121 |
| 120 <P>I didn't write any codecs, just some players. I spent | 122 <P>I didn't write any codecs, just some players. I spent |
| 121 a lot of time finding the best way to parse bad damaged input files | 123 a lot of time finding the best way to parse bad damaged input files |
| 122 (both MPEG and AVI) and to do perfect A-V sync with seeking ability. | 124 (both MPEG and AVI) and to do perfect A-V sync with seeking ability. |
| 123 My player is rock solid playing damaged MPEG files (useful for some VCDs), | 125 My player is rock solid playing damaged MPEG files (useful for some VCDs), |
| 170 | 172 |
| 171 <UL> | 173 <UL> |
| 172 <LI>If you plan to use <B>MPlayer</B> on x86 architecture, you possibly want to use | 174 <LI>If you plan to use <B>MPlayer</B> on x86 architecture, you possibly want to use |
| 173 Win32 codecs. Download and unzip w32codecs.zip to /usr/lib/win32 . | 175 Win32 codecs. Download and unzip w32codecs.zip to /usr/lib/win32 . |
| 174 Note: the avifile project has similar codecs package, but it differs | 176 Note: the avifile project has similar codecs package, but it differs |
| 175 from our, so if you want to use all supported codecs, then use | 177 from ours, so if you want to use all supported codecs, then use |
| 176 our package! However, you can use our codecs package with avifile.</LI> | 178 our package! However, you can use our codecs package with avifile.</LI> |
| 177 | 179 |
| 178 <LI>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> | 180 <LI>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> |
| 179 section in order to gain big speedup. It is important to do these steps | 181 section in order to gain big speedup. It is important to do these steps |
| 180 _before_ compiling <B>MPlayer</B>, otherwise no Matrox-specific support will be | 182 _before_ compiling <B>MPlayer</B>, otherwise no Matrox-specific support will be |
| 181 built.</LI> | 183 built.</LI> |
| 182 | 184 |
| 183 <LI>If you plan to use the ProjectMayo's <B>DivX4</B> codec, check the | 185 <LI>If you plan to use the ProjectMayo's <B>DivX4</B> codec, check the |
| 184 <A HREF="codecs.html#2.1.2.1">2.1.2.1</A> section before compiling.</LI> | 186 <A HREF="codecs.html#2.1.2.1">2.1.2.1</A> section before compiling. |
| 187 This codec can play <B>DivX</B> movies much faster than the Win32 DLL, and | |
| 188 <B>ffmpeg</B>. It's closed-source, and only an x86 version is available.</LI> | |
| 189 | |
| 190 <LI>If you plan to use ffmpeg's <B>libavcodec</B>, check the | |
| 191 <A HREF="codecs.html#2.1.2.2">2.1.2.2</A> section before compiling. | |
| 192 You'll need this to gain <B>DivX</B> playing on non-x86 machines, or want to | |
| 193 gain bigger speed than the Win32 codec does.</LI> | |
| 185 | 194 |
| 186 <LI>For DVD support, you'll have to compile libdvdread and libcss. | 195 <LI>For DVD support, you'll have to compile libdvdread and libcss. |
| 187 See <A HREF="cd-dvd.html#4.2">section 4.2</A> for more information.</LI> | 196 See <A HREF="cd-dvd.html#4.2">section 4.2</A> for more information.</LI> |
| 188 </UL> | 197 </UL> |
| 189 | 198 |
| 252 <LI><A HREF="ftp://ftp.mplayerhq.hu/MPlayer/releases/">ftp://ftp.mplayerhq.hu/MPlayer/releases/</A> - ISO fonts, OBSOLETED! | 261 <LI><A HREF="ftp://ftp.mplayerhq.hu/MPlayer/releases/">ftp://ftp.mplayerhq.hu/MPlayer/releases/</A> - ISO fonts, OBSOLETED! |
| 253 <LI><A HREF="ftp://ftp.mplayerhq.hu/MPlayer/contrib/fonts/">ftp://ftp.mplayerhq.hu/MPlayer/contrib/fonts/</A> - various fonts by users | 262 <LI><A HREF="ftp://ftp.mplayerhq.hu/MPlayer/contrib/fonts/">ftp://ftp.mplayerhq.hu/MPlayer/contrib/fonts/</A> - various fonts by users |
| 254 <LI><A HREF="http://realtime.ssu.ac.kr/~lethean/mplayer">http://realtime.ssu.ac.kr/~lethean/mplayer</A> - korean fonts & RAW plugin | 263 <LI><A HREF="http://realtime.ssu.ac.kr/~lethean/mplayer">http://realtime.ssu.ac.kr/~lethean/mplayer</A> - korean fonts & RAW plugin |
| 255 </UL> | 264 </UL> |
| 256 </P> | 265 </P> |
| 266 </UL> | |
| 257 <P>After that, UNZIP the files to ~/.mplayer/font/ . | 267 <P>After that, UNZIP the files to ~/.mplayer/font/ . |
| 258 Now you have to see a clock at the upper left corner of the movie | 268 Now you have to see a timer at the upper left corner of the movie |
| 259 (switch it off with 'o') .</P> | 269 (switch it off with 'o') .</P> |
| 260 | 270 |
| 261 <P>OSD has 3 states: (switch with 'o')<BR> | 271 <P>OSD has 3 states: (switch with 'o')<BR> |
| 262 <UL> | 272 <UL> |
| 263 <LI>clock + volume bar + seek bar + subtitles (default) | 273 <LI>timer + volume bar + seek bar + subtitles (default) |
| 264 <LI>volume bar + seek bar + subtitles | 274 <LI>volume bar + seek bar + subtitles |
| 265 <LI>subtitles only | 275 <LI>subtitles only |
| 266 </UL> | 276 </UL> |
| 267 | 277 |
| 268 <P>You can change default behaviour by setting <CODE>osdlevel=</CODE> variable in config file.</P> | 278 <P>You can change default behaviour by setting <CODE>osdlevel=</CODE> variable in config file.</P> |
| 283 </TABLE></P> | 293 </TABLE></P> |
| 284 | 294 |
| 285 <P><PRE> mplayer -vo x11 /mnt/Films/Contact/contact2.mpg | 295 <P><PRE> mplayer -vo x11 /mnt/Films/Contact/contact2.mpg |
| 286 mplayer -vcd 2 /dev/cdrom | 296 mplayer -vcd 2 /dev/cdrom |
| 287 mplayer -afm 3 /mnt/DVDtrailers/alien4.vob | 297 mplayer -afm 3 /mnt/DVDtrailers/alien4.vob |
| 288 mplayer -dvd /dev/dvd /mnt/dvd/matrix.vob | 298 mplayer -dvd 1 /dev/dvd |
| 289 mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi</PRE></P> | 299 mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi</PRE></P> |
| 290 | 300 |
| 291 | 301 |
| 292 <P><B><A NAME=3.1>3.1. Control from keyboard</A></B></P> | 302 <P><B><A NAME=3.1>3.1. Control from keyboard</A></B></P> |
| 293 | 303 |
| 417 (FreeBSD-STABLE required, or use kernel patches).</P> | 427 (FreeBSD-STABLE required, or use kernel patches).</P> |
| 418 | 428 |
| 419 <P>If <B>MPlayer</B> complains about "CD-ROM Device '/dev/cdrom' not found!" make a | 429 <P>If <B>MPlayer</B> complains about "CD-ROM Device '/dev/cdrom' not found!" make a |
| 420 symbolic link: <CODE>ln -s /dev/(your_cdrom_device) /dev/cdrom</CODE></P> | 430 symbolic link: <CODE>ln -s /dev/(your_cdrom_device) /dev/cdrom</CODE></P> |
| 421 | 431 |
| 422 <P>There's no DVD support for FreeBSD yet. | 432 <P>There's no DVD support for FreeBSD yet. (??? libdvdread?)</P> |
| 423 Feel free to add it :-)</P> | |
| 424 | |
| 425 | 433 |
| 426 <P><B><A NAME=6.3>6.3. Solaris</A></B></P> | 434 <P><B><A NAME=6.3>6.3. Solaris</A></B></P> |
| 427 | 435 |
| 428 <P>MPlayer should work on Solaris 2.6 or newer.</P> | 436 <P>MPlayer should work on Solaris 2.6 or newer.</P> |
| 429 | 437 |
| 430 <P>AVI file playback works best on Solaris x86, because you have the | 438 <P>AVI file playback works best on Solaris x86, because you have the |
| 431 option to use the win32 codecs on the x86 platform. On Solaris SPARC, | 439 option to use the win32 codecs on the x86 platform, or can use MMX/MMX2/3DNow/etc |
| 440 instructions for MP3/DivX/DVD/whatever. On Solaris SPARC, | |
| 432 you'll find quite a few AVI files with non working video and/or | 441 you'll find quite a few AVI files with non working video and/or |
| 433 audio playback, because the video/audio codecs using the win32 DLLs | 442 audio playback, because the video/audio codecs using the Win32 DLLs |
| 434 are not available. However, <B>DivX/OpenDivX</B> movies should work, | 443 are not available. However, <B>DivX/OpenDivX</B> movies should work, |
| 435 when using libavcodec.</P> | 444 when using libavcodec.</P> |
| 445 | |
| 446 <P>On <B>UltraSPARC</B>s, <B>MPlayer</B> takes advantage of their <B>VIS</B> | |
| 447 extensions (equivalent to MMX), currently only(?) in <I>libmpeg2</I> and <I>libvo</I>, not | |
| 448 libavcodec/mp3lib. You can watch a VOB file on a 400Mhz CPU. You'll need | |
| 449 <A HREF="http://www.sun.com/sparc/vis/mediaLib.html">mLib</A> installed.</P> | |
| 436 | 450 |
| 437 <P>To build the package you will need GNU make (gmake, /opt/sfw/gmake), native | 451 <P>To build the package you will need GNU make (gmake, /opt/sfw/gmake), native |
| 438 Solaris make will not work. Typical error you get when building with solaris' | 452 Solaris make will not work. Typical error you get when building with solaris' |
| 439 make instead of GNU make:</P> | 453 make instead of GNU make:</P> |
| 440 | 454 |
| 485 | 499 |
| 486 <P><UL><LI>The sd(7D) driver on solaris 8 x86 driver has bug when accessing a | 500 <P><UL><LI>The sd(7D) driver on solaris 8 x86 driver has bug when accessing a |
| 487 disk block >4GB on a device using a logical blocksize != DEV_BSIZE | 501 disk block >4GB on a device using a logical blocksize != DEV_BSIZE |
| 488 (i.e. CDROM and DVD media). Due to a 32bit int overflow, a disk | 502 (i.e. CDROM and DVD media). Due to a 32bit int overflow, a disk |
| 489 address modulo 4GB is accessed. | 503 address modulo 4GB is accessed. |
| 490 (http://groups.yahoo.com/group/solarisonintel/message/22516) | 504 (<A HREF="http://groups.yahoo.com/group/solarisonintel/message/22516">http://groups.yahoo.com/group/solarisonintel/message/22516</A>) |
| 491 | 505 |
| 492 <LI>The similar bug is present in the hsfs(7FS) filesystem code (aka | 506 <LI>The similar bug is present in the hsfs(7FS) filesystem code (aka |
| 493 ISO9660), hsfs currently does not support partitions/disks >4GB, | 507 ISO9660), hsfs currently does not support partitions/disks >4GB, |
| 494 all data is accessed modulo 4GB | 508 all data is accessed modulo 4GB |
| 495 (http://groups.yahoo.com/group/solarisonintel/message/22592) | 509 (<A HREF="http://groups.yahoo.com/group/solarisonintel/message/22592">http://groups.yahoo.com/group/solarisonintel/message/22592</A>) |
| 496 </UL></P> | 510 </UL></P> |
| 497 | 511 |
| 498 <P>On Solaris with an UltraSPARC CPU, you can get some extra speed by | 512 <P>On Solaris with an UltraSPARC CPU, you can get some extra speed by |
| 499 using the CPU's VIS instructions for certain time consuming operations. | 513 using the CPU's VIS instructions for certain time consuming operations. |
| 500 VIS acceleration can be used in MPlayer by calling functions in Sun's | 514 VIS acceleration can be used in MPlayer by calling functions in Sun's |
| 663 <UL><LI>GIMP font generator plugin (TOOLS/subfont-gimp) | 677 <UL><LI>GIMP font generator plugin (TOOLS/subfont-gimp) |
| 664 </LI></UL> | 678 </LI></UL> |
| 665 | 679 |
| 666 </LI><LI>Adam Tla/lka: <atlka@pg.gda.pl> | 680 </LI><LI>Adam Tla/lka: <atlka@pg.gda.pl> |
| 667 <UL><LI>osd/sub review, fixes, optimization, utf8 support | 681 <UL><LI>osd/sub review, fixes, optimization, utf8 support |
| 668 </LI></LI>various fixes | 682 </LI><LI>various fixes |
| 669 </LI></UL> | 683 </LI></UL> |
| 670 | 684 |
| 671 </LI><LI>Folke Ashberg: <folke@ashberg.de> | 685 </LI><LI>Folke Ashberg: <folke@ashberg.de> |
| 672 <UL><LI>native AAlib driver (-vo aa) | 686 <UL><LI>native AAlib driver (-vo aa) |
| 673 </LI></UL> | 687 </LI></UL> |
| 710 | 724 |
| 711 </LI><LI>Gerard Lantau: <glantau@yahoo.fr> | 725 </LI><LI>Gerard Lantau: <glantau@yahoo.fr> |
| 712 <UL><LI>ffmpeg/libavcodec author,maintainer (opensource mpeg, mjpeg, divx en/decoder) | 726 <UL><LI>ffmpeg/libavcodec author,maintainer (opensource mpeg, mjpeg, divx en/decoder) |
| 713 </LI></UL> | 727 </LI></UL> |
| 714 | 728 |
| 715 </LI><LI>Project Mayo: <http://www.projectmayo.com> | 729 </LI><LI>Project Mayo: <<A HREF="http://www.projectmayo.com">http://www.projectmayo.com</A>> |
| 716 <UL><LI>the OpenDivX codec authors | 730 <UL><LI>the OpenDivX codec authors |
| 717 </LI></UL> | 731 </LI></UL> |
| 718 | 732 |
| 719 </LI><LI>Michael Hipp: | 733 </LI><LI>Michael Hipp: |
| 720 <UL><LI>mpglib author [isn't used directly but some parts in mp3lib] | 734 <UL><LI>mpglib author [isn't used directly but some parts in mp3lib] |
