comparison DOCS/en/documentation.html @ 10130:e1deeb0c30e3

small updates here-and-there
author gabucino
date Mon, 19 May 2003 06:54:52 +0000
parents a0bfc974f504
children b2deb0fdbc69
comparison
equal deleted inserted replaced
10129:074c39b458d3 10130:e1deeb0c30e3
350 you have any other questions, return to the Table of Contents and 350 you have any other questions, return to the Table of Contents and
351 search for the topic, read the <A HREF="faq.html">FAQ</A>, or try grepping 351 search for the topic, read the <A HREF="faq.html">FAQ</A>, or try grepping
352 through the files.</P> 352 through the files.</P>
353 353
354 <P>The main rule of this documentation: if it's not documented, it 354 <P>The main rule of this documentation: if it's not documented, it
355 <U>does not exist</U>. If I don't say you encode audio from TV tuner, you 355 <U>does not exist</U>. If I don't say you can encode audio from TV tuner, you
356 can't. A healthy quantity of combining ability is welcomed, though. 356 can't (you can!:). A healthy quantity of combining ability is welcomed, though.
357 Good luck. You'll need it :) And for another good advice, let me quote 357 Good luck. You'll need it :) And for another good advice, let me quote
358 Chris Phillips from the 358 Chris Phillips from the
359 <A HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A> 359 <A HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A>
360 mailing list:</P> 360 mailing list:</P>
361 361
378 378
379 379
380 <P>MPlayer is a movie player for LINUX (runs on many other Unices, and 380 <P>MPlayer is a movie player for LINUX (runs on many other Unices, and
381 <B>non-x86</B> CPUs, see the <A HREF="#ports">ports section</A>). It plays most 381 <B>non-x86</B> CPUs, see the <A HREF="#ports">ports section</A>). It plays most
382 MPEG, VOB, AVI, OGG/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, 382 MPEG, VOB, AVI, OGG/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg,
383 FILM, RoQ, PVA files, supported by many native, XAnim, RealPlayer, and 383 FILM, RoQ, PVA, Matroska files, supported by many native, XAnim, RealPlayer, and
384 Win32 DLL codecs. You can watch <B>VideoCD</B>, <B>SVCD</B>, <B>DVD</B>, 384 Win32 DLL codecs. You can watch <B>VideoCD</B>, <B>SVCD</B>, <B>DVD</B>,
385 <B>3ivx</B>, <B>RealMedia</B>, and <B>DivX</B> movies too (and you don't need 385 <B>3ivx</B>, <B>RealMedia</B>, <B>Sorenson</B>, <B>Theora</B> and <B>DivX</B>
386 the avifile 386 movies too (and you don't need the avifile
387 library at all!). Another big feature of MPlayer is the wide range of 387 library at all!). Another big feature of MPlayer is the wide range of
388 supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, 388 supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev,
389 AAlib, DirectFB, but you can also use GGI and SDL (and this way all their 389 AAlib, DirectFB, but you can also use GGI and SDL (and this way all their
390 drivers) and some lowlevel card-specific drivers (for Matrox, 3Dfx and Radeon, 390 drivers) and some lowlevel card-specific drivers (for Matrox, 3Dfx and Radeon,
391 Mach64, Permedia3) too! Most 391 Mach64, Permedia3) too! Most
499 came out 2 years after MPlayer v0.01. Happy birthday, MPlayer!</LI> 499 came out 2 years after MPlayer v0.01. Happy birthday, MPlayer!</LI>
500 <LI><B>MPlayer 0.90rc1 "The CodecCounter"</B> Dec 7, 2002<BR> 500 <LI><B>MPlayer 0.90rc1 "The CodecCounter"</B> Dec 7, 2002<BR>
501 Again not a release, but after adding Sorenson 3 (QuickTime) and Windows 501 Again not a release, but after adding Sorenson 3 (QuickTime) and Windows
502 Media 9 support, MPlayer is the world's first movie player with support 502 Media 9 support, MPlayer is the world's first movie player with support
503 for all known video formats!</LI> 503 for all known video formats!</LI>
504 <LI><B>MPlayer 0.90 "?"</B> Date yet unknown</LI> 504 <LI><B>MPlayer 0.90 "The CounterCounter"</B> Apr 6, 2003<BR>
505 After more than 1 year, we finally concluded that the code was indeed
506 stable again, and ready to be published as a release. Unfortunately we
507 forgot even to increase the version number, and other annoying bugs went
508 in, so get ready for...</LI>
509 <LI><B>MPlayer 0.91 "?"</B> date yet unknown</LI>
505 </UL> 510 </UL>
506 511
507 512
508 <H2><A NAME="installation">1.2 Installation</A></H2> 513 <H2><A NAME="installation">1.2 Installation</A></H2>
509 514
519 <H4>Software requirements:</H4> 524 <H4>Software requirements:</H4>
520 525
521 <UL> 526 <UL>
522 <LI><B>binutils</B> - suggested version is <B>2.11.x</B> . This program is 527 <LI><B>binutils</B> - suggested version is <B>2.11.x</B> . This program is
523 responsible for generating MMX/3DNow!/etc instructions, thus very important.</LI> 528 responsible for generating MMX/3DNow!/etc instructions, thus very important.</LI>
524 <LI><B>gcc</B> - suggested versions are: <B>2.95.3</B> (maybe <B>2.95.4</B>) and <B>3.2+</B>. 529 <LI><B>gcc</B> - suggested versions are: <B>2.95.3</B> (maybe <B>2.95.4</B>) and <B>3.3+</B>.
525 <B>NEVER</B> use 2.96 or 3.0.x! They generate faulty code for MPlayer. 530 <B>NEVER</B> use 2.96 or 3.0.x! They generate faulty code for MPlayer.
526 If you decide to change gcc from 2.96, then don't decide in favor of 3.0.x 531 If you decide to change gcc from 2.96, then don't decide in favor of 3.x
527 just because it's newer! Early releases of 3.0.x were even more buggy than 532 just because it's newer! Early releases of 3.x were even more buggy than
528 2.96. So downgrade to 2.95.x (downgrade libstdc++ too, other programs may 533 2.96. So downgrade to 2.95.x (downgrade libstdc++ too, other programs may
529 need it) or don't up/downgrade at all (but in this case, be prepared for 534 need it) or don't up/downgrade at all (but in this case, be prepared for
530 runtime problems). If you vote for 3.x.x, try to use the latest version, 535 runtime problems). If you vote for 3.x, try to use the latest version,
531 early releases had various bugs, so be sure you use at least 3.1, it's 536 early releases had various bugs, so be sure you use at least 3.3, it's
532 tested and working. For detailed information about gcc 2.96's bugs (that are 537 tested and working. For detailed information about gcc 2.96's bugs (that are
533 still NOT fixed, they have been WORKED AROUND in MPlayer!), see the 538 still NOT fixed, they have been WORKED AROUND in MPlayer!), see the
534 <A HREF="users_against_developers.html#gcc">gcc 2.96</A> section and the 539 <A HREF="users_against_developers.html#gcc">gcc 2.96</A> section and the
535 <A HREF="faq.html">FAQ</A>.</LI> 540 <A HREF="faq.html">FAQ</A>.</LI>
536 <LI><B>XFree86</B> - suggested version is <B>always the newest (4.2.1)</B>. 541 <LI><B>XFree86</B> - suggested version is <B>always the newest (4.3)</B>.
537 Normally, everyone wants this, as starting with XFree86 4.0.2, it contains 542 Normally, everyone wants this, as starting with XFree86 4.0.2, it contains
538 the <A HREF="video.html#xv">XVideo</A> extension (somewhere referred to 543 the <A HREF="video.html#xv">XVideo</A> extension (somewhere referred to
539 as <B>Xv</B>) which is needed to enable the hardware YUV acceleration (fast 544 as <B>Xv</B>) which is needed to enable the hardware YUV acceleration (fast
540 image display) on cards that support it.<BR> 545 image display) on cards that support it.<BR>
541 Make sure its <B>development package</B> is installed, too, otherwise 546 Make sure its <B>development package</B> is installed, too, otherwise
561 <LI><B>cdparanoia</B> - optional, for CDDA support</LI> 566 <LI><B>cdparanoia</B> - optional, for CDDA support</LI>
562 <LI><B>libfreetype</B> - optional, for TTF fonts support. At least 2.0.9 is 567 <LI><B>libfreetype</B> - optional, for TTF fonts support. At least 2.0.9 is
563 required.</LI> 568 required.</LI>
564 <LI><B>libxmms</B> - optional, for XMMS input plugin support. At least 1.2.7 is 569 <LI><B>libxmms</B> - optional, for XMMS input plugin support. At least 1.2.7 is
565 required.</LI> 570 required.</LI>
571 <LI><B>libsmb</B> - optional, for Samba support.</LI>
566 </UL> 572 </UL>
567 573
568 <H4>Codecs:</H4> 574 <H4>Codecs:</H4>
569 575
570 <UL> 576 <UL>
571 <LI><B>libavcodec</B>: This codec package is capable of decoding 577 <LI><B>libavcodec</B>: This codec package is capable of decoding
572 H263/MJPEG/RV10/DivX3/DivX4/DivX5/MP41/MP42/WMV1 encoded video streams and 578 H263/MJPEG/RV10/DivX3/DivX4/DivX5/MP41/MP42/WMV1/WMV2/SVQ1/SVQ3 encoded
573 WMA (Windows Media Audio) v1/v2 audio streams, on 579 video streams and WMA (Windows Media Audio) v1/v2 audio streams, on
574 multiple platforms. It is also known to be the fastest for this task. 580 multiple platforms. It is also known to be the fastest for this task.
575 See the <A HREF="codecs.html#libavcodec">libavcodec</A> section for details. 581 See the <A HREF="codecs.html#libavcodec">libavcodec</A> section for details.
576 Features:<BR> 582 Features:<BR>
577 <UL> 583 <UL>
578 <LI>gain decoding of videos mentioned above, on non-x86 machines</LI> 584 <LI>gain decoding of videos mentioned above, on non-x86 machines</LI>
591 (do not worry, avifile works with it without problems). Features:<BR> 597 (do not worry, avifile works with it without problems). Features:<BR>
592 <UL> 598 <UL>
593 <LI>you need this if you want to play or encode for example movies recorded 599 <LI>you need this if you want to play or encode for example movies recorded
594 with various hardware compressors, like tuner cards, digital cameras 600 with various hardware compressors, like tuner cards, digital cameras
595 (example: DV, ATI VCR, MJPEG)</LI> 601 (example: DV, ATI VCR, MJPEG)</LI>
596 <LI>needed if you want to play <B>WMV8, WMV9/WMA9 movies</B>.</LI> 602 <LI>needed if you want to play <B>WMV9/WMA9 movies</B>.</LI>
597 <LI>Not needed for old 603 <LI>Not needed for old
598 ASF's with MP41 or MP42 video (though VoxWare audio is frequent for these 604 ASF's with MP41 or MP42 video (though VoxWare audio is frequent for these
599 files - it's done by the Win32 codec), or WMV7. Also not needed 605 files - it's done by the Win32 codec), or WMV7. Also not needed
600 for WMA (Windows Media Audio), libavcodec has opensource decoder 606 for WMA (Windows Media Audio), libavcodec has opensource decoder
601 for that.</LI> 607 for that.</LI>
602 </UL> 608 </UL>
603 </LI> 609 </LI>
604 <LI><B>QuickTime codecs</B>: on x86 platforms these codecs can be used 610 <LI><B>QuickTime codecs</B>: on x86 platforms these codecs are needed
605 to decode Sorenson v1/v3, RPZA, and other QuickTime video, and 611 to decode RPZA, and other QuickTime video, and QDesign audio streams.
606 QDesign audio streams. Installation instructions can be found in the 612 Installation instructions can be found in the
607 <A HREF="codecs.html#sorenson">Sorenson video codec</A> section.</LI> 613 <A HREF="codecs.html#sorenson">Sorenson video codec</A> section.</LI>
608 <LI><B>DivX4/DivX5</B>: information about this codec is available in the 614 <LI><B>DivX4/DivX5</B>: information about this codec is available in the
609 <A HREF="codecs.html#divx">DivX4/DivX5</A> section. You possibly don't want 615 <A HREF="codecs.html#divx">DivX4/DivX5</A> section. You possibly don't want
610 this codec as <B>libavcodec</B> (see above) is much faster and has better 616 this codec as <B>libavcodec</B> (see above) is much faster and has better
611 quality than this, for both decoding and encoding.<BR> 617 quality than this, for both decoding and encoding.<BR>
800 </PRE> 806 </PRE>
801 807
802 <P>At this point, MPlayer is ready to use. The directory 808 <P>At this point, MPlayer is ready to use. The directory
803 <CODE>$PREFIX/etc/mplayer</CODE> contains the <CODE>codecs.conf</CODE> 809 <CODE>$PREFIX/etc/mplayer</CODE> contains the <CODE>codecs.conf</CODE>
804 file, which is used to tell the program all the codecs and their 810 file, which is used to tell the program all the codecs and their
805 capabilities. This file should always be kept up to date together with the 811 capabilities. This file is needed only when you want to change its
806 main binary.<BR> 812 properties, as the main binary contains an internal copy of it.<BR>
807 Check if you have <CODE>codecs.conf</CODE> in your home directory 813 Check if you have <CODE>codecs.conf</CODE> in your home directory
808 (<CODE>~/.mplayer/codecs.conf</CODE>) left from old MPlayer versions, and remove it.</P> 814 (<CODE>~/.mplayer/codecs.conf</CODE>) left from old MPlayer versions, and remove it.</P>
809 815
810 <P><B>Debian users</B> can build a <CODE>.deb</CODE> package for themselves, 816 <P><B>Debian users</B> can build a <CODE>.deb</CODE> package for themselves,
811 it's very simple. Just exec <CODE>fakeroot debian/rules binary</CODE> in 817 it's very simple. Just exec <CODE>fakeroot debian/rules binary</CODE> in
883 <LI>SubRip: <CODE>-dumpsrtsub</CODE></LI> 889 <LI>SubRip: <CODE>-dumpsrtsub</CODE></LI>
884 <LI>Microdvd: <CODE>-dumpmicrodvdsub</CODE></LI> 890 <LI>Microdvd: <CODE>-dumpmicrodvdsub</CODE></LI>
885 <LI>JACOsub: <CODE>-dumpjacosub</CODE></LI> 891 <LI>JACOsub: <CODE>-dumpjacosub</CODE></LI>
886 <LI>Sami: <CODE>-dumpsami</CODE></LI> 892 <LI>Sami: <CODE>-dumpsami</CODE></LI>
887 </UL> 893 </UL>
894
895 <P>MEncoder can dump DVD subtitles into
896 <A HREF="encoding.html#vobsub">VobSub</A> format.</P>
888 897
889 <P>The command line options differ slightly for the different formats:</P> 898 <P>The command line options differ slightly for the different formats:</P>
890 899
891 <H4>VobSub subtitles</H4> 900 <H4>VobSub subtitles</H4>
892 901
946 designed by Gabucino. Basically its main feature is being 955 designed by Gabucino. Basically its main feature is being
947 <I>dynamically</I> time-based (although it has frame-based mode too). Example 956 <I>dynamically</I> time-based (although it has frame-based mode too). Example
948 (from 957 (from
949 <A HREF="../tech/mpsub.sub">DOCS/tech/mpsub.sub</A>):</P> 958 <A HREF="../tech/mpsub.sub">DOCS/tech/mpsub.sub</A>):</P>
950 959
951 <P><CODE><I># first number : wait this much after previous subtitle disappeared<BR> 960 <P><CODE><I>
961 FORMAT=TIME<BR>
962 # first number : wait this much after previous subtitle disappeared<BR>
952 # second number : display the current subtitle for this many seconds<BR> 963 # second number : display the current subtitle for this many seconds<BR>
953 <BR> 964 <BR>
954 15 3<BR> 965 15 3<BR>
955 A long long, time ago...<BR> 966 A long long, time ago...<BR>
956 <BR> 967 <BR>
976 987
977 <P>You need an MPlayer font package to be able to use OSD/SUB feature. 988 <P>You need an MPlayer font package to be able to use OSD/SUB feature.
978 There are many ways to get it:</P> 989 There are many ways to get it:</P>
979 990
980 <UL> 991 <UL>
992 <LI>using a TrueType (TTF) font, by the means of the <B>freetype</B>
993 library. Version 2.0.9 or greater is mandatory! Then you
994 have two methods:
995 <UL>
996 <LI>use the <CODE>-font /path/to/arial.ttf</CODE> option to specify
997 a TrueType font file on every occasion</LI>
998 <LI>create a symlink: <CODE>ln -s /path/to/arial.ttf ~/.mplayer/subfont.ttf</CODE></LI>
999 </UL>
1000 </LI>
981 <LI>download ready-to-use font packages from MPlayer site. 1001 <LI>download ready-to-use font packages from MPlayer site.
982 Note: Currently available fonts are limited for iso 8859-1/2 support, 1002 Note: Currently available fonts are limited for iso 8859-1/2 support,
983 but there are some other (including Korean, Russian, 8859-8 etc) fonts 1003 but there are some other (including Korean, Russian, 8859-8 etc) fonts
984 at contrib/font section of FTP, made by users.<BR> 1004 at contrib/font section of FTP, made by users.<BR>
985 <BR> 1005 <BR>
1000 <LI>use the font generator tool at TOOLS/subfont-c 1020 <LI>use the font generator tool at TOOLS/subfont-c
1001 It's a complete tool to convert from TTF/Type1/etc font to mplayer font pkg. 1021 It's a complete tool to convert from TTF/Type1/etc font to mplayer font pkg.
1002 (read TOOLS/subfont-c/README for details)</LI> 1022 (read TOOLS/subfont-c/README for details)</LI>
1003 <LI>use the font generator GIMP plugin at TOOLS/subfont-GIMP 1023 <LI>use the font generator GIMP plugin at TOOLS/subfont-GIMP
1004 (note: you must have HSI RAW plugin too, see URL below)</LI> 1024 (note: you must have HSI RAW plugin too, see URL below)</LI>
1005 <LI>using a TrueType (TTF) font, by the means of the <B>freetype</B>
1006 library. Version 2.0.9 or greater is mandatory! Then you
1007 have two methods:
1008 <UL>
1009 <LI>use the <CODE>-font /path/to/arial.ttf</CODE> option to specify
1010 a TrueType font file on every occasion</LI>
1011 <LI>create a symlink: <CODE>ln -s /path/to/arial.ttf ~/.mplayer/subfont.ttf</CODE></LI>
1012 </UL>
1013 </LI>
1014 </UL> 1025 </UL>
1015 1026
1016 <P>If you chose non-TTF fonts, UNZIP the file you downloaded to <CODE>~/.mplayer</CODE> or 1027 <P>If you chose non-TTF fonts, UNZIP the file you downloaded to <CODE>~/.mplayer</CODE> or
1017 <CODE>$PREFIX/share/mplayer</CODE>. Then rename or symlink one of the extracted directories to 1028 <CODE>$PREFIX/share/mplayer</CODE>. Then rename or symlink one of the extracted directories to
1018 <CODE>font</CODE> (like: <CODE>ln -s ~/.mplayer/arial-24 1029 <CODE>font</CODE> (like: <CODE>ln -s ~/.mplayer/arial-24