Mercurial > mplayer.hg
annotate DOCS/documentation.html @ 8133:630360b15089
Redundant compilation section removed, MEncoder features section moved to
documentation.html below MPlayer features section, sections renumbered to
reflect these changes.
author | diego |
---|---|
date | Sat, 09 Nov 2002 02:07:14 +0000 |
parents | cd5a4de959b8 |
children | 1f00a3d29b20 |
rev | line source |
---|---|
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
1612 | 2 <HTML> |
4982
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
3 |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
4 <HEAD> |
6882
f3f87f6bf5cf
Added a uniform title: something - MPlayer - The Movie Player for Linux.
diego
parents:
6878
diff
changeset
|
5 <TITLE>Documentation - MPlayer - The Movie Player for Linux</TITLE> |
6391 | 6 <LINK REL="stylesheet" TYPE="text/css" HREF="default.css"> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
7 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> |
4982
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
8 </HEAD> |
6cb9d9a1716d
HTML: different font handling - idea from new hp dezign
gabucino
parents:
4928
diff
changeset
|
9 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
10 <BODY> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
11 |
7047 | 12 <H1 ALIGN="center">MPlayer - The Movie Player for LINUX</H1> |
13 | |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
14 <H2 ALIGN="center">© 2000-2002 Arpad Gereoffy (A'rpi/ESP-team)<BR> |
7047 | 15 <A HREF="http://www.mplayerhq.hu">http://www.mplayerhq.hu</A></H2> |
16 | |
17 <P ALIGN="center">[ English ] | |
6974 | 18 <A HREF="Hungarian/documentation.html">[ Hungarian ]</A> |
19 <A HREF="German/documentation.html">[ German ]</A> | |
20 <A HREF="French/documentation.html">[ French ]</A> | |
21 <A HREF="Polish/documentation.html">[ Polish ]</A> | |
8079
714d18011757
Link to Chinese documentation, ports etc mentioned in *BSD section.
diego
parents:
8070
diff
changeset
|
22 <A HREF="Italian/documentation.html">[ Italian ]</A> |
714d18011757
Link to Chinese documentation, ports etc mentioned in *BSD section.
diego
parents:
8070
diff
changeset
|
23 <A HREF="Chinese/documentation.html">[ Chinese ]</A></P> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
24 |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
25 <HR> |
1682 | 26 |
7047 | 27 <H2>Table of Contents</H2> |
1612 | 28 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
29 <HR> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
30 |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
31 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
32 <LI><A HREF="#reading">0. How to read this documentation</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
33 <LI><A HREF="#introduction">1. Introduction</A> |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
34 <UL> |
7054 | 35 <LI><A HREF="#history">1.1 History</A></LI> |
36 <LI><A HREF="#installation">1.2 Installation</A></LI> | |
37 <LI><A HREF="#gui">1.3 What about the GUI?</A></LI> | |
7138 | 38 <LI><A HREF="#subtitles_osd">1.4 Subtitles and OSD</A> |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
39 <UL> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
40 <LI><A HREF="#mpsub">1.4.1 MPlayer's own subtitle format (MPsub)</A></LI> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
41 <LI><A HREF="#install_osd">1.4.2 Installing OSD and subtitles</A></LI> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
42 </UL> |
7138 | 43 </LI> |
7054 | 44 <LI><A HREF="#rtc">1.5 RTC</A></LI> |
2745 | 45 </UL> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
46 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
47 <LI><A HREF="#features">2. Features</A> |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
48 <UL> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
49 <LI><A HREF="formats.html">2.1 Supported formats</A> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
50 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
51 <LI><A HREF="formats.html#video_formats">2.1.1 Video formats</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
52 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
53 <LI><A HREF="formats.html#mpeg">2.1.1.1 MPEG files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
54 <LI><A HREF="formats.html#avi">2.1.1.2 AVI files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
55 <LI><A HREF="formats.html#asf">2.1.1.3 ASF/WMV files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
56 <LI><A HREF="formats.html#mov">2.1.1.4 QuickTime/MOV files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
57 <LI><A HREF="formats.html#vivo">2.1.1.5 VIVO files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
58 <LI><A HREF="formats.html#fli">2.1.1.6 FLI files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
59 <LI><A HREF="formats.html#real">2.1.1.7 RealMedia (RM) files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
60 <LI><A HREF="formats.html#nuppelvideo">2.1.1.8 NuppelVideo files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
61 <LI><A HREF="formats.html#yuv4mpeg">2.1.1.9 yuv4mpeg files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
62 <LI><A HREF="formats.html#film">2.1.1.10 FILM files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
63 <LI><A HREF="formats.html#roq">2.1.1.11 RoQ files</A></LI> |
7787
05e518badc1b
doc fixes part 1 (more will come when i find the time to read the rest)
attila
parents:
7700
diff
changeset
|
64 <LI><A HREF="formats.html#ogg">2.1.1.12 OGG/OGM files</A></LI> |
7992 | 65 <LI><A HREF="formats.html#sdp">2.1.1.13 SDP files</A></LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
66 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
67 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
68 <LI><A HREF="formats.html#audio_formats">2.1.2 Audio formats</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
69 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
70 <LI><A HREF="formats.html#mp3">2.1.2.1 MP3 files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
71 <LI><A HREF="formats.html#wav">2.1.2.2 WAV files</A></LI> |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
72 <LI><A HREF="formats.html#ogg_vorbis">2.1.2.3 OGG/OGM files (Vorbis)</A></LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
73 <LI><A HREF="formats.html#wma">2.1.2.4 WMA/ASF files</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
74 <LI><A HREF="formats.html#mp4">2.1.2.5 MP4 files</A></LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
75 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
76 </LI> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
77 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
78 </LI> |
6981 | 79 <LI><A HREF="codecs.html">2.2 Supported codecs</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
80 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
81 <LI><A HREF="codecs.html#video_codecs">2.2.1 Video codecs</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
82 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
83 <LI><A HREF="codecs.html#divx">2.2.1.1 DivX4/DivX5</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
84 <LI><A HREF="codecs.html#libavcodec">2.2.1.2 FFmpeg DivX/libavcodec</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
85 <LI><A HREF="codecs.html#xanim">2.2.1.3 XAnim codecs</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
86 <LI><A HREF="codecs.html#vivo_video">2.2.1.4 VIVO video</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
87 <LI><A HREF="codecs.html#mpeg">2.2.1.5 MPEG 1/2 video</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
88 <LI><A HREF="codecs.html#ms_video1">2.2.1.6 MS Video1</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
89 <LI><A HREF="codecs.html#cinepak">2.2.1.7 Cinepak CVID</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
90 <LI><A HREF="codecs.html#realvideo">2.2.1.8 RealVideo</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
91 <LI><A HREF="codecs.html#xvid">2.2.1.9 XViD</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
92 <LI><A HREF="codecs.html#sorenson">2.2.1.10 Sorenson</A></LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
93 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
94 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
95 <LI><A HREF="codecs.html#audio_codecs">2.2.2 Audio codecs</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
96 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
97 <LI><A HREF="codecs.html#software_ac3">2.2.2.1 Software AC3 decoding</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
98 <LI><A HREF="codecs.html#hardware_ac3">2.2.2.2 Hardware AC3 decoding</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
99 <LI><A HREF="codecs.html#libmad">2.2.2.3 libmad support</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
100 <LI><A HREF="codecs.html#vivo_audio">2.2.2.4 VIVO audio</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
101 <LI><A HREF="codecs.html#realaudio">2.2.2.5 RealAudio</A></LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
102 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
103 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
104 <LI><A HREF="codecs.html#importing">2.2.3 Win32 codec importing HOWTO</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
105 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
106 <LI><A HREF="codecs.html#importing_vfw">2.2.3.1 VFW codecs</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
107 <LI><A HREF="codecs.html#importing_directshow">2.2.3.2 DirectShow codecs</A></LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
108 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
109 </LI> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
110 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
111 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
112 <LI><A HREF="#output">2.3 Output devices</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
113 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
114 <LI><A HREF="video.html">2.3.1 Video output devices</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
115 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
116 <LI><A HREF="video.html#mtrr">2.3.1.1 Setting up MTRR</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
117 <LI><A HREF="video.html#xv">2.3.1.2 Xv</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
118 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
119 <LI><A HREF="video.html#xv_3dfx">2.3.1.2.1 3dfx cards</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
120 <LI><A HREF="video.html#xv_s3">2.3.1.2.2 S3 cards</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
121 <LI><A HREF="video.html#xv_nvidia">2.3.1.2.3 nVidia cards</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
122 <LI><A HREF="video.html#xv_ati">2.3.1.2.4 ATI cards</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
123 <LI><A HREF="video.html#xv_neomagic">2.3.1.2.5 NeoMagic cards</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
124 <LI><A HREF="video.html#xv_trident">2.3.1.2.6 Trident cards</A></LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
125 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
126 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
127 <LI><A HREF="video.html#dga">2.3.1.3 DGA</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
128 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
129 <LI><A HREF="video.html#dga_summary">2.3.1.3.1 Summary</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
130 <LI><A HREF="video.html#dga_whatis">2.3.1.3.2 What is DGA</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
131 <LI><A HREF="video.html#dga_installation">2.3.1.3.3 Installing DGA support for MPlayer</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
132 <LI><A HREF="video.html#dga_resolution">2.3.1.3.4 Resolution switching</A></LI> |
6981 | 133 <LI><A HREF="video.html#dga_mplayer">2.3.1.3.5 DGA & MPlayer</A></LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
134 <LI><A HREF="video.html#dga_features">2.3.1.3.6 Features of the DGA driver</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
135 <LI><A HREF="video.html#dga_speed">2.3.1.3.7 Speed issues</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
136 <LI><A HREF="video.html#dga_bugs">2.3.1.3.8 Known bugs</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
137 <LI><A HREF="video.html#dga_future">2.3.1.3.9 Future work</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
138 <LI><A HREF="video.html#dga_modelines">2.3.1.3.A Some modelines</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
139 <LI><A HREF="video.html#dga_bug_reports">2.3.1.3.B Bug Reports</A></LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
140 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
141 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
142 <LI><A HREF="video.html#sdl">2.3.1.4 SDL</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
143 <LI><A HREF="video.html#svgalib">2.3.1.5 SVGAlib</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
144 <LI><A HREF="video.html#fbdev">2.3.1.6 Framebuffer output (FBdev)</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
145 <LI><A HREF="video.html#mga_vid">2.3.1.7 Matrox framebuffer (mga_vid)</A></LI> |
7281 | 146 <LI><A HREF="video.html#tdfxfb">2.3.1.8 3dfx YUV support (tdfxfb)</A></LI> |
147 <LI><A HREF="video.html#opengl">2.3.1.9 OpenGL output</A></LI> | |
148 <LI><A HREF="video.html#aalib">2.3.1.10 AAlib - text mode displaying</A></LI> | |
149 <LI><A HREF="video.html#vesa">2.3.1.11 VESA - output to VESA BIOS</A></LI> | |
150 <LI><A HREF="video.html#x11">2.3.1.12 X11</A></LI> | |
151 <LI><A HREF="video.html#vidix">2.3.1.13 VIDIX</A></LI> | |
152 <LI><A HREF="video.html#zr">2.3.1.14 Zr</A></LI> | |
153 <LI><A HREF="video.html#dvb">2.3.1.15 DVB</A></LI> | |
154 <LI><A HREF="video.html#dxr3">2.3.1.16 DXR3/Hollywood+</A></LI> | |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
155 <LI><A HREF="video.html#tv-out">2.3.1.A TV-out support</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
156 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
157 <LI><A HREF="video.html#tv-out_matrox">2.3.1.A.1 Matrox G400 cards</A></LI> |
7377 | 158 <LI><A HREF="video.html#tv-out_matrox_g450">2.3.1.A.2 Matrox G450/G550 cards</A></LI> |
159 <LI><A HREF="video.html#tv-out_ati">2.3.1.A.3 ATI cards</A></LI> | |
160 <LI><A HREF="video.html#tv-out_voodoo">2.3.1.A.4 Voodoo 3</A></LI> | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
161 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
162 </LI> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
163 </UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
164 <LI><A HREF="sound.html">2.3.2 Audio output devices</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
165 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
166 <LI><A HREF="sound.html#experiences">2.3.2.1 Sound card experiences, recommendations</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
167 <LI><A HREF="sound.html#plugins">2.3.2.2 Audio plugins</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
168 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
169 <LI><A HREF="sound.html#resample">2.3.2.2.1 Up/Downsampling</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
170 <LI><A HREF="sound.html#surround_decoding">2.3.2.2.2 Surround Sound decoding</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
171 <LI><A HREF="sound.html#format">2.3.2.2.3 Sample format converter</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
172 <LI><A HREF="sound.html#delay">2.3.2.2.4 Delay</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
173 <LI><A HREF="sound.html#volume">2.3.2.2.5 Software volume control</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
174 <LI><A HREF="sound.html#extrastereo">2.3.2.2.6 Extrastereo</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
175 <LI><A HREF="sound.html#normalizer">2.3.2.2.7 Volume Normalizer</A></LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
176 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
177 </LI> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
178 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
179 </LI> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
180 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
181 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
182 <LI><A HREF="encoding.html">2.4 Encoding with MEncoder</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
183 <UL> |
8133
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
184 <LI><A HREF="encoding.html#2pass">2.4.1 Encoding 2 or 3-pass DivX4</A></LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
185 <LI><A HREF="encoding.html#rescaling">2.4.2 Rescaling movies</A></LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
186 <LI><A HREF="encoding.html#copying">2.4.3 Stream copying</A></LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
187 <LI><A HREF="encoding.html#fixing">2.4.4 Fixing AVIs with broken index</A></LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
188 <LI><A HREF="encoding.html#libavcodec">2.4.5 Encoding with the libavcodec codec family</A></LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
189 <LI><A HREF="encoding.html#image_files">2.4.6 Encoding from multiple input image files (JPEGs or PNGs)</A></LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
190 <LI><A HREF="encoding.html#vobsub">2.4.7 Extracting DVD subtitles to a Vobsub file</A></LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
191 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
192 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
193 <LI><A HREF="#tv">2.5 TV input</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
194 <UL> |
7054 | 195 <LI><A HREF="#tv_compilation">2.5.1 Compilation</A></LI> |
7955 | 196 <LI><A HREF="#tv_tips">2.5.2 Usage tips</A></LI> |
197 <LI><A HREF="#tv_examples">2.5.3 Examples</A></LI> | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
198 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
199 </LI> |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
200 </UL> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
201 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
202 <LI><A HREF="#usage">3. Usage</A> |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
203 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
204 <LI><A HREF="#command_line">3.1 Command line</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
205 <LI><A HREF="#control">3.2 Control</A> |
5850 | 206 <UL> |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
207 <LI><A HREF="#controls_configuration">3.2.1 Controls configuration</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
208 <UL> |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
209 <LI><A HREF="#key_names">3.2.1.1 Key names</A></LI> |
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
210 <LI><A HREF="#commands">3.2.1.2 Commands</A></LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
211 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
212 </LI> |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
213 <LI><A HREF="#lirc">3.2.2 Control from LIRC</A></LI> |
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
214 <LI><A HREF="#slave">3.2.3 Slave mode</A></LI> |
5850 | 215 </UL> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
216 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
217 <LI><A HREF="#streaming">3.3 Streaming from network or pipes</A></LI> |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
218 </UL> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
219 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
220 <LI><A HREF="cd-dvd.html">4. CD/DVD section</A> |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
221 <UL> |
6907 | 222 <LI><A HREF="cd-dvd.html#drives">4.1 CD/DVD drives</A></LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
223 <LI><A HREF="cd-dvd.html#dvd">4.2 DVD playback</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
224 <LI><A HREF="cd-dvd.html#vcd">4.3 VCD playback</A></LI> |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
225 </UL> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
226 </LI> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
227 <LI><A HREF="faq.html">5. FAQ section</A> |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
228 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
229 <LI><A HREF="faq.html#compilation">5.1 Compilation</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
230 <LI><A HREF="faq.html#general">5.2 General questions</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
231 <LI><A HREF="faq.html#playback">5.3 playback problems</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
232 <LI><A HREF="faq.html#driver">5.4 Video/audio driver problems (vo/ao)</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
233 <LI><A HREF="faq.html#dvd">5.5 DVD playback</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
234 <LI><A HREF="faq.html#features">5.6 Feature requests</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
235 <LI><A HREF="faq.html#encoding">5.7 Encoding</A></LI> |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
236 </UL> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
237 </LI> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
238 <LI><A HREF="#ports">6. Ports</A> |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
239 <UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
240 <LI><A HREF="#debian">6.1 Debian packaging</A></LI> |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
241 <LI><A HREF="#bsd">6.2 *BSD</A></LI> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
242 <UL> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
243 <LI><A HREF="#freebsd">6.2.1 FreeBSD</A></LI> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
244 <LI><A HREF="#openbsd">6.2.2 OpenBSD</A></LI> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
245 </UL> |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
246 <LI><A HREF="#solaris">6.3 Solaris</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
247 <LI><A HREF="#strongarm">6.4 StrongARM</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
248 <LI><A HREF="#sgi">6.5 Silicon Graphics / Irix</A></LI> |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
249 <LI><A HREF="#qnx">6.6 QNX</A></LI> |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
250 <LI><A HREF="#cygwin">6.7 Cygwin</A></LI> |
2277
22452cfc3a55
YEAH!!!! Finally broke free from LGB's Table of Contents !!! :)
gabucino
parents:
2257
diff
changeset
|
251 </UL> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
252 </LI> |
7365
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
253 <LI><A HREF="#mailing_lists">Appendix A - Mailing lists</A></LI> |
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
254 <LI><A HREF="bugreports.html">Appendix B - How to report bugs</A> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
255 <UL> |
7365
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
256 <LI><A HREF="tech/patches.txt">Appendix B2 - How to send patches</A></LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
257 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
258 </LI> |
7365
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
259 <LI><A HREF="#known_bugs">Appendix C - Known bugs</A></LI> |
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
260 <LI><A HREF="skin-en.html">Appendix D - MPlayer skin format</A></LI> |
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
261 <LI><A HREF="users_against_developers.html">Appendix E - Developer Cries</A> |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
262 <UL> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
263 <LI><A HREF="users_against_developers.html#gcc">GCC 2.96</A></LI> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
264 <LI><A HREF="users_against_developers.html#binary">Binary distribution</A></LI> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
265 <LI><A HREF="users_against_developers.html#nvidia">nVidia</A></LI> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
266 <LI><A HREF="users_against_developers.html#barr">Joe Barr</A></LI> |
7363
8acd8cb8fd52
Small HTML fix by Andras Mohari <mayday@varoshaza.nagyatad.hu>.
diego
parents:
7323
diff
changeset
|
267 </UL> |
8acd8cb8fd52
Small HTML fix by Andras Mohari <mayday@varoshaza.nagyatad.hu>.
diego
parents:
7323
diff
changeset
|
268 </LI> |
3937 | 269 </UL> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
270 |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
271 <HR> |
1612 | 272 |
6974 | 273 |
274 | |
7047 | 275 <H1><A NAME="reading">0. How to read this documentation</A></H1> |
3984 | 276 |
277 <P>If you are a first-time installer: be sure to read everything from here to | |
278 the end of the Installation section, and follow the links you will find. If | |
7015
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
279 you have any other questions, return to the Table of Contents and |
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
280 search for the topic, read the <A HREF="faq.html">FAQ</A>, or try grepping |
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
281 through the files.</P> |
3984 | 282 |
283 <P>The main rule of this documentation: if it's not documented, it | |
284 <U>does not exist</U>. If I don't say you encode audio from TV tuner, you | |
285 can't. A healthy quantity of combining ability is welcomed, though. | |
6358 | 286 Good luck. You'll need it :) And for another good advice, let me quote |
7015
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
287 Chris Phillips from the |
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
288 <A HREF="http://mplayerhq.hu/pipermail/mplayer-users/">mplayer-users</A> |
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
289 mailing list:</P> |
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
290 |
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
291 <BLOCKQUOTE> |
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
292 I said a while ago that there is such a difference between a newbie and |
6583 | 293 a dumbass. No matter what you actually know about a system (linux, cars, |
6358 | 294 girls :D) you should ALWAYS be able to take a step back and be objective, |
295 otherwise, you're just dumb IMHO. A girl i live with assumed the vacuum | |
296 cleaner was broken because it didn't suck things up. never thought to change | |
297 the bag, becasue she'd never done it before... now that's just stupid, not a | |
298 case of simply not knowing what to do... Simply not being that familiar with | |
299 your surroundings is no excuse for a) laziness and b) ignorance. So many | |
300 people seem to see the word "error" and then stop... few seem to actually | |
7015
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
301 read the words on the OTHER side of the colon. |
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
302 </BLOCKQUOTE> |
3984 | 303 |
304 | |
6974 | 305 |
7047 | 306 <H1><A NAME="introduction">1. Introduction</A></H1> |
307 | |
308 | |
7814 | 309 <P>MPlayer is a movie player for LINUX (runs on many other Unices, and |
6974 | 310 <B>non-x86</B> CPUs, see the <A HREF="#ports">ports section</A>). It plays most |
8125 | 311 MPEG, VOB, AVI, OGG/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, |
7373 | 312 FILM, RoQ, PVA files, supported by many native, XAnim, RealPlayer, and |
6974 | 313 Win32 DLL codecs. You can watch <B>VideoCD</B>, <B>SVCD</B>, <B>DVD</B>, |
314 <B>3ivx</B>, <B>RealMedia</B>, and <B>DivX</B> movies too (and you don't need | |
315 the avifile | |
7814 | 316 library at all!). Another big feature of MPlayer is the wide range of |
6974 | 317 supported output drivers. It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, |
7787
05e518badc1b
doc fixes part 1 (more will come when i find the time to read the rest)
attila
parents:
7700
diff
changeset
|
318 AAlib, DirectFB, but you can also use GGI and SDL (and this way all their |
05e518badc1b
doc fixes part 1 (more will come when i find the time to read the rest)
attila
parents:
7700
diff
changeset
|
319 drivers) and some lowlevel card-specific drivers (for Matrox, 3Dfx and Radeon, |
6974 | 320 Mach64, Permedia3) too! Most |
321 of them supports software or hardware scaling, so you can enjoy movies in | |
7814 | 322 fullscreen. MPlayer supports displaying through some hardware MPEG |
6974 | 323 decoder boards, such as the <B><A HREF="video.html#dvb">DVB</A></B> and |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
324 <B><A HREF="video.html#dxr3">DXR3/Hollywood+</A></B>. And what about the nice big antialiased |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
325 shaded subtitles (<B>10 supported types</B>) with European/ISO 8859-1,2 |
6974 | 326 (Hungarian, English, Czech, etc), Cyrillic, Korean fonts, and the onscreen |
327 display (OSD)?</P> | |
1612 | 328 |
6583 | 329 <P>The player is rock solid playing damaged MPEG files (useful for some VCDs), |
6974 | 330 and it plays bad AVI files which are unplayable with the famous |
331 windows media player. Even AVI files without index chunk are playable, and | |
332 you can temporarily rebuild their indexes with the <CODE>-idx</CODE> option, or | |
7814 | 333 permanently with MEncoder, thus enabling seeking! |
6974 | 334 As you see, stability and quality are the most important things, |
335 but the speed is also amazing.</P> | |
1612 | 336 |
8133
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
337 <P>MEncoder (MPlayer's Movie Encoder) is a simple movie encoder, |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
338 designed to encode MPlayer-playable movies |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
339 (<B>AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET/PVA</B>) to other |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
340 MPlayer-playable formats (see below). It can encode with various codecs, like |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
341 <B>DivX4</B> (1 or 2 passes), libavcodec, |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
342 <B>PCM</B>/<B>MP3</B>/<B>VBR MP3</B> audio. Also has powerful plugin system |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
343 for video manipulation.</P> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
344 |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
345 <H4>MEncoder features</H4> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
346 |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
347 <UL> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
348 <LI>encoding from the wide range of fileformats and decoders of MPlayer</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
349 <LI>encoding to all the codecs of ffmpeg's |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
350 <A HREF="codecs.html#libavcodec">libavcodec</A></LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
351 <LI>video encoding from <B>V4L compatible TV tuners</B></LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
352 <LI>encoding/multiplexing to interleaved AVI files with proper index</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
353 <LI>creating files from external audio stream</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
354 <LI>1, 2 or 3 pass encoding</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
355 <LI><B>VBR</B> MP3 audio - <B>IMPORTANT NOTE:</B> VBR MP3 audio doesn't |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
356 always play nicely on Windows players! On the other hand, currently |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
357 MEncoder's CBR encoding is totally broken on Win32 players :)</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
358 <LI>PCM audio</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
359 <LI>stream copying</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
360 <LI>input A/V synchronizing (PTS-based, can be disabled with -mc 0 option)</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
361 <LI>FPS correction with <CODE>-ofps</CODE> option (useful when encoding |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
362 29.97fps VOB to 24fps AVI)</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
363 <LI>using our very powerful plugin system (crop, expand, flip, postprocess, |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
364 rotate, scale, rgb/yuv conversion)</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
365 <LI>can encode DVD/VOBsub <B>AND</B> text subtitles into the output file</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
366 <LI>can rip DVD subtitles to Vobsub format</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
367 </UL> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
368 |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
369 <H4>Planned features</H4> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
370 |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
371 <UL> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
372 <LI>even wider variety of available en/decoding formats/codecs |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
373 (creating VOB files with DivX4/Indeo5/VIVO streams :)</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
374 <LI>audio encoding from v4l (DONE for FreeBSD ?)</LI> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
375 </UL> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
376 |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
377 <P>MPlayer and MEncoder can be distributed under the terms of the GNU General |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
378 Public License Version 2.</P> |
630360b15089
Redundant compilation section removed, MEncoder features section moved to
diego
parents:
8125
diff
changeset
|
379 |
4680 | 380 |
7054 | 381 <H2><A NAME="history">1.1 History</A></H2> |
1612 | 382 |
1682 | 383 <P>This began a year ago... |
6974 | 384 I (A'rpi) have tried lots of players under linux (mtv,xmps,dvdview,livid/oms,videolan, |
385 xine,xanim,avifile,xmmp) but they all have some problem. Mostly with special | |
386 files or with audio/video sync. Most of them is unable to play both MPEG1, | |
387 MPEG2 and AVI (DivX) files. Many players have image quality or speed problems | |
388 too. So I've decided to write/modify one...</P> | |
1612 | 389 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
390 <UL> |
6974 | 391 <LI><B>mpg12play v0.1-v0.3:</B> Sep 22-25, 2000<BR> |
1612 | 392 The first try, hacked together in a half hour! |
393 I've used libmpeg3 from www.heroinewarrior.com up to the version 0.3, | |
4090 | 394 but there were image quality and speed problems with it.</LI> |
6974 | 395 <LI><B>mpg12play v0.5-v0.87:</B> Sep 28-Oct 20, 2000<BR> |
1612 | 396 Mpeg codec replaced with DVDview by Dirk Farin, it was a great stuff, |
4090 | 397 but it was slow and was written in C++ (I hate C++!!!)</LI> |
6974 | 398 <LI><B>mpg12play v0.9-v0.95pre5:</B> Oct 21-Nov 2, 2000<BR> |
6981 | 399 Mpeg codec was libmpeg2 (mpeg2dec) by Aaron Holtzman & Michel Lespinasse. |
1612 | 400 It's great, optimized very fast C code with perfect image quality and |
4090 | 401 100% MPEG standard conformance.</LI> |
6974 | 402 <LI><B>MPlayer v0.3-v0.9:</B> Nov 18-Dec 4, 2000<BR> |
5105 | 403 It was a pack of two programs: mpg12play v0.95pre6 and my new simple AVI |
4090 | 404 player 'avip' based on avifile's Win32 DLL loader.</LI> |
6974 | 405 <LI><B>MPlayer v0.10:</B> Jan 1, 2001<BR> |
4090 | 406 The MPEG and AVI player in a single binary!</LI> |
6974 | 407 <LI><B>MPlayer v0.11pre series:</B><BR> |
1612 | 408 Some new developers joined and from 0.11 the mplayer project is a team-work! |
4090 | 409 Added .ASF file support, and OpenDivX (see www.projectmayo.com) en/decoding.</LI> |
6974 | 410 <LI><B>MPlayer v0.17a "The IdegCounter"</B> Apr 27, 2001<BR> |
1612 | 411 The release version of the 0.11pre after 4 months of heavy development! |
412 Try it, and be amazed! Thousands of new features added... and of course | |
4090 | 413 old code was improved too, bugs removed etc.</LI> |
6974 | 414 <LI><B>MPlayer 0.18 "The BugCounter"</B> Jul 9, 2001<BR> |
1612 | 415 2 months since 0.17 and here's a new release.. Completed ASF support, |
416 more subtitle formats, introduced libao (similar to libvo but to audio), | |
6868
f6e17d2b448e
The rectangle of the rectangle plugin is not necessarily white.
diego
parents:
6849
diff
changeset
|
417 even more stable than ever, and so on. It's a MUST!</LI> |
6974 | 418 <LI><B>MPlayer 0.50 "The Faszom(C)ounter"</B> Oct 8, 2001<BR> |
2002 | 419 Hmm. Release again. Tons of new features, beta GUI version, bugs fixed, |
420 new vo and ao drivers, ported to many systems, including opensource DivX | |
4090 | 421 codecs and much more. Try it!</LI> |
6974 | 422 <LI><B>MPlayer 0.60 "The RTFMCounter"</B> Jan 3, 2002<BR> |
4090 | 423 MOV/VIVO/RM/FLI/NUV fileformats support, native CRAM, Cinepak, ADPCM codecs, |
424 and support for XAnim's binary codecs; DVD subtitles support, first | |
425 release of MEncoder, TV grabbing, cache, liba52, countless fixes.</LI> | |
6974 | 426 <LI><B>MPlayer 0.90 "?"</B> Aug? ??, 2002</LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
427 </UL> |
1612 | 428 |
6974 | 429 |
7054 | 430 <H2><A NAME="installation">1.2 Installation</A></H2> |
1612 | 431 |
3288 | 432 <P>In this chapter I'll try to guide you through the compiling and |
7814 | 433 configuring process of MPlayer. It's not easy, but it won't necessarily |
6974 | 434 be hard. If you experience a different behavior than what I explain, please |
435 search through this documentation and you'll find your answers. If you | |
436 see links, please follow them and read carefully what they contain. It | |
437 will take some time, but it DOES worth it.</P> | |
3288 | 438 |
4177 | 439 <P>You need a fairly recent system. On Linux, 2.4.x kernels are recommended.</P> |
3288 | 440 |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
441 <H4>Software requirements:</H4> |
3238 | 442 |
1748 | 443 <UL> |
444 <LI><B>binutils</B> - suggested version is <B>2.11.x</B> . This program is | |
3288 | 445 responsible for generating MMX/3DNow!/etc instructions, thus very important.</LI> |
6574 | 446 <LI><B>gcc</B> - suggested versions are: <B>2.95.3</B>, <B>2.95.4</B> and <B>3.1</B>. |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
447 <B>NEVER</B> use 2.96 or 3.0.x! They generate faulty code for MPlayer. |
6574 | 448 If you decide to change gcc from 2.96, then don't decide in favor of 3.0.x |
449 just because it's newer! Early releases of 3.0.x were even more buggy than | |
450 2.96. So downgrade to 2.95.x (downgrade libstdc++ too, other programs may | |
451 need it) or don't up/downgrade at all (but in this case, be prepared for | |
452 runtime problems). If you vote for 3.x.x, try to use the latest version, | |
453 early releases had various bugs, so be sure you use at least 3.1, it's | |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
454 tested and working. For detailed information about gcc 2.96's bugs (that are |
7814 | 455 still NOT fixed, they have been WORKED AROUND in MPlayer!), see the |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
456 <A HREF="users_against_developers.html#gcc">gcc 2.96</A> section and the |
6669
917fa27c7d32
Update about gcc 3.0.4. The problem is not Red Hat specific.
diego
parents:
6617
diff
changeset
|
457 <A HREF="faq.html">FAQ</A>.</LI> |
7787
05e518badc1b
doc fixes part 1 (more will come when i find the time to read the rest)
attila
parents:
7700
diff
changeset
|
458 <LI><B>XFree86</B> - suggested version is <B>always the newest (4.2.1)</B>. |
6574 | 459 Normally, everyone wants this, as starting with XFree86 4.0.2, it contains |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
460 the <A HREF="video.html#xv">XVideo</A> extension (somewhere referred to |
3288 | 461 as <B>Xv</B>) which is needed to enable the hardware YUV acceleration (fast |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
462 image display) on cards that support it.<BR> |
6574 | 463 Make sure its <B>development package</B> is installed, too, otherwise |
3288 | 464 it won't work.<BR> |
6593
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
465 For some video cards you don't need XFree86. See list below.</LI> |
1748 | 466 <LI><B>make</B> - suggested version is <B>always the newest</B> (at least 3.79.x). This |
3288 | 467 usually isn't important.</LI> |
3774 | 468 <LI><B>SDL</B> - it's not mandatory, but can help in some cases (bad audio, |
6593
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
469 video cards that lag strangely with the xv driver). Always use the newest |
6121 | 470 (beginning from 1.2.x).</LI> |
6593
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
471 <LI><B>libjpeg</B> - optional JPEG decoder, used by -mf and some QT MOV files. |
7814 | 472 Useful for both MPlayer and MEncoder if you plan to work with jpeg files.</LI> |
5105 | 473 <LI><B>libpng</B> - recommended and default (M)PNG decoder. Required for GUI. |
7814 | 474 Useful for both MPlayer and MEncoder.</LI> |
6574 | 475 <LI><B>lame</B> - recommended, needed for encoding MP3 audio with MEncoder, |
476 suggested version is <B>always the newest</B> (at least 3.90).</LI> | |
5860 | 477 <LI><B>libogg</B> - optional, needed for playing OGG file format.</LI> |
478 <LI><B>libvorbis</B> - optional, needed for playing OGG Vorbis audio.</LI> | |
7813
76940a39405a
RTSP/RTP documentation, patch by Ross Finlayson <finlayson@live.com>.
diego
parents:
7792
diff
changeset
|
479 <LI><B><A HREF="http://www.live.com/mplayer/">LIVE.COM Streaming Media</A></B> |
76940a39405a
RTSP/RTP documentation, patch by Ross Finlayson <finlayson@live.com>.
diego
parents:
7792
diff
changeset
|
480 - optional, needed for playing RTSP/RTP streams.</LI> |
3238 | 481 </UL> |
482 | |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
483 <H4>Codecs:</H4> |
3238 | 484 |
485 <UL> | |
6974 | 486 <LI><B>libavcodec</B>: This codec package is capable of decoding |
8070 | 487 H263/MJPEG/RV10/DivX3/DivX4/DivX5/MP41/MP42/WMV1 encoded video streams and |
488 WMA (Windows Media Audio) v1/v2 audio streams, on | |
6974 | 489 multiple platforms. It is also known to be the fastest for this task. |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
490 See the <A HREF="codecs.html#libavcodec">libavcodec</A> section for details. |
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
491 Features:<BR> |
6974 | 492 <UL> |
6981 | 493 <LI>gain decoding of videos mentioned above, on non-x86 machines</LI> |
6974 | 494 <LI>encoding with most of the mentioned codecs</LI> |
495 <LI>this codec is the <B>fastest codec available</B> for DivX/3/4/5 and | |
496 other MPEG4 types. Recommended!</LI> | |
497 </UL> | |
498 </LI> | |
7814 | 499 <LI><B>Win32 codecs</B>: If you plan to use MPlayer on x86 |
6974 | 500 architecture, you will possibly need them. Download and unzip w32codecs.zip |
7814 | 501 to /usr/lib/win32 <B>BEFORE</B> compiling MPlayer, otherwise no Win32 |
6974 | 502 support will be compiled!<BR> |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
503 <B>Note:</B> the avifile project has a similar codecs package, but it differs |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
504 from ours. If you want to use all supported codecs, then install our package |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
505 (do not worry, avifile works with it without problems). Features:<BR> |
6974 | 506 <UL> |
507 <LI>you need this if you want to play or encode for example movies recorded | |
508 with various hardware compressors, like tuner cards, digital cameras | |
509 (example: DV, ATI VCR, MJPEG)</LI> | |
510 <LI>needed if you want to play <B>WMV8 movies</B>. Not needed for old | |
511 ASF's with MP41 or MP42 video (though VoxWare audio is frequent for these | |
8070 | 512 files - it's done by the Win32 codec), or WMV7. Also not needed |
513 for WMA (Windows Media Audio), libavcodec has opensource decoder | |
514 for that.</LI> | |
6974 | 515 </UL> |
516 </LI> | |
517 <LI><B>DivX4/DivX5</B>: information about this codec is available in the | |
518 <A HREF="codecs.html#divx">DivX4/DivX5</A> section. You possibly don't want | |
519 this codec as <B>libavcodec</B> (see above) is much faster and has better | |
520 quality than this, for both decoding and encoding.<BR> | |
521 Features: | |
522 <UL> | |
523 <LI>1 pass or 2 pass encoding with | |
524 <A HREF="encoding.html">MEncoder</A></LI> | |
525 <LI>can play old <B>DivX3</B> movies much faster than the Win32 DLL but | |
526 slower than <B>libavcodec</B>!</LI> | |
527 <LI>it's closed-source, and only an x86 version is available.</LI> | |
528 </UL> | |
529 </LI> | |
530 <LI><B>XviD</B>: Open source encoding alternative to Divx4Linux<BR> | |
531 Features: | |
532 <UL> | |
533 <LI>1 pass or 2 pass encoding with | |
534 <A HREF="encoding.html">MEncoder</A></LI> | |
535 <LI>it's open-source, so it's multiplatform.</LI> | |
536 <LI>it's about 2 times faster than DivX4 when encoding - about the same | |
537 quality</LI> | |
538 </UL> | |
539 </LI> | |
540 <LI>The <A HREF="codecs.html#xanim">XAnim codecs</A> are the best (full | |
541 screen, hardware YUV zoom) for decoding <B>3ivx</B> and Indeo 3/4/5 movies, | |
542 and some old formats. And they are multiplatform, so this is the only way to | |
543 play Indeo on non-x86 platforms (well, apart from using XAnim:). But for | |
7814 | 544 example Cinepak movies are best played with MPlayer's own Cinepak |
6974 | 545 decoder!</LI> |
546 <LI>For <B>Ogg Vorbis</B> audio decoding you need to install | |
547 <CODE>libvorbis</CODE> properly. Use deb/rpm packages if available, or | |
548 compile from | |
549 <A HREF="http://ogg.org/ogg/vorbis/download/vorbis_nightly_cvs.tgz">source</A> | |
550 (this is a nightly updated tarball of Vorbis CVS).</LI> | |
7814 | 551 <LI>MPlayer can use the libraries of RealPlayer 8 or RealONE to play |
7640 | 552 files with <B>RealVideo 2.0 - 4.0</B> video, and Sipro/Cook audio. See |
6974 | 553 <A HREF="formats.html#real">RealMedia file format</A> section for |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
554 installation instructions and more information.</LI> |
3238 | 555 </UL> |
556 | |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
557 <H4>Video Cards</H4> |
6593
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
558 |
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
559 <P>There are generally two kind of video cards. One kind (the newer cards) has |
6974 | 560 <B>hardware scaling and YUV acceleration</B> support, the other cards don't.</P> |
561 | |
7047 | 562 <H4>YUV cards</H4> |
6974 | 563 |
564 <P>They can display and scale (zoom) the picture to any size that fits in | |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
565 their memory, with <B>small CPU usage</B> (even when zooming), thus |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
566 fullscreen playing is nice and very fast.</P> |
3288 | 567 |
3238 | 568 <UL> |
6974 | 569 <LI><B>Matrox G200/G400/G450/G550 cards</B>: although a |
570 <A HREF="video.html#vidix">Vidix driver</A> is provided, it is recommended | |
7787
05e518badc1b
doc fixes part 1 (more will come when i find the time to read the rest)
attila
parents:
7700
diff
changeset
|
571 to use the mga_vid kernel module instead, for it works much better. |
6974 | 572 Please see the <A HREF="video.html#mga_vid">mga_vid</A> section about its |
573 installation and usage. It is important to do these steps <I>before</I> | |
7814 | 574 compiling MPlayer, otherwise no mga_vid support will be built. Also |
6974 | 575 check out the <A HREF="video.html#tv-out_matrox">Matrox TV-out</A> section. |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
576 <U><B>If you don't use Linux</B></U>, your only possibility is the VIDIX |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
577 driver: read the <A HREF="video.html#vidix">VIDIX</A> section.</LI> |
6974 | 578 <LI><B>3Dfx Voodoo3/Banshee cards</B>: please see the |
579 <A HREF="video.html#tdfxfb">tdfxfb</A> section in order to gain big | |
7015
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
580 speedup. It is important to do these steps <B>before</B> compiling |
7814 | 581 MPlayer, otherwise no 3Dfx support will be built. Also see the <A |
7015
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
582 HREF="video.html#tv-out_voodoo">3dfx TV-out section</A>. If you use X, use |
72059027f953
Applied patch by Andras Mohari <mayday at varoshaza nagyatad hu> in a
diego
parents:
6998
diff
changeset
|
583 <B>at least 4.2.0</B>, as the 3dfx Xv driver was broken in 4.1.0 and earlier |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
584 releases.</LI> |
6974 | 585 <LI><B>ATI cards</B>: <A HREF="video.html#vidix">Vidix driver</A> is |
586 provided for the following cards: | |
587 <B>Radeon</B>, <B>Rage128</B>, <B>Mach64</B> (Rage XL/Mobility, Xpert98). | |
588 Also see the <A HREF="video.html#tv-out_ati">ATI cards | |
589 section</A> of the TV-out documentation, to know if you card's TV-out is | |
590 supported under Linux/MPlayer.</LI> | |
591 <LI><B>S3 cards</B>: the Savage and Virge/DX chips have hardware acceleration. | |
592 Use as new XFree86 version as possible, older drivers are buggy. Savage chips | |
593 have problems with YV12 display, see <A HREF="video.html#xv_s3">S3 Xv | |
594 section</A> for details. Older, Trio cards have no, or slow hardware | |
595 support.</LI> | |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
596 <LI><B>nVidia cards</B>: very bad choice for video playing (nVidia |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
597 <A HREF="users_against_developers.html#nvidia">does not think so</A>). |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
598 nVidia's cards have very cheap and bad quality chips. Moreover, <B>the |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
599 built-in nVidia driver in XFree86 does not support hardware YUV |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
600 acceleration on all nVidia cards.</B> You have to download nVidia's |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
601 closed-source drivers from nVidia.com. See the <A |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
602 HREF="video.html#xv_nvidia">nVidia Xv driver</A> section for details.</LI> |
6974 | 603 <LI><B>3DLabs GLINT R3 and Permedia3</B>: a VIDIX driver is provided |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
604 (pm3_vid). Please see the <A HREF="video.html#vidix">VIDIX</A> section for |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
605 details.</LI> |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
606 <LI><B>Other cards</B>: None of the above? |
6974 | 607 <UL> |
608 <LI>Try if the XFree86 driver (and your card) supports hardware | |
609 acceleration. See the <A HREF="video.html#xv">Xv section</A> for | |
610 details.</LI> | |
611 <LI>If it doesn't, then your card's video features aren't supported under | |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
612 your operating system :(<BR> |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
613 If hardware scaling works under Windows, it doesn't mean it will work |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
614 under Linux or other operating systems: it depends on the drivers. Most |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
615 manufacturers neither make Linux drivers nor release specifications |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
616 for their chips, so you are unlucky using their cards. |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
617 See 'Non-YUV cards'.</LI> |
6974 | 618 </UL> |
619 </LI> | |
3238 | 620 </UL> |
3288 | 621 |
7047 | 622 <H4>Non-YUV cards</H4> |
3288 | 623 |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
624 <P>Fullscreen playing can be achieved by either enabling <B>software scaling</B> |
7129 | 625 (use the <CODE>-zoom</CODE> or <CODE>-vop scale</CODE> |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
626 option, but I warn you: this is slow), or switching to a small resolution |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
627 video mode, for example 352x288. If you don't have YUV acceleration, the |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
628 latter method is recommended. Video mode switching can be enabled by |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
629 using the <CODE>-vm</CODE> option and it works with the following drivers:</P> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
630 |
3288 | 631 <UL> |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
632 <LI><B>using</B> XFree86: see the |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
633 <A HREF="video.html#dga">DGA driver</A> and |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
634 <A HREF="video.html#x11">X11 driver</A> sections for details. DGA is |
5105 | 635 recommended! Also try DGA via SDL, sometimes it's better.</LI> |
6868
f6e17d2b448e
The rectangle of the rectangle plugin is not necessarily white.
diego
parents:
6849
diff
changeset
|
636 <LI><B>not using</B> XFree86: try the drivers in the following order: |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
637 <A HREF="video.html#vesa">vesa</A>, |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
638 <A HREF="video.html#fbdev">fbdev</A>, |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
639 <A HREF="video.html#svgalib">svgalib</A>, |
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
640 <A HREF="video.html#aalib">aalib</A>.</LI> |
3288 | 641 </UL> |
2471 | 642 |
7047 | 643 <H4>Some cards:</H4> |
6960 | 644 |
645 <UL> | |
646 <LI><B>Cirrus Logic cards</B>: | |
647 <UL> | |
648 <LI>GD 7548: present on-board and tested in Compaq Armada 41xx notebook | |
649 series. | |
650 <UL> | |
651 <LI>XFree86 3: works in 8/16bpp modes. However, the driver is | |
7640 | 652 dramatically slow and buggy in 800x600@16bpp. |
6960 | 653 <B>Recommended: 640x480@16bpp</B></LI> |
654 <LI>XFree86 4: the Xserver freezes soon after start unless | |
655 acceleration is disabled, but then the whole thing gets | |
656 slower than XFree86 3. No XVideo.</LI> | |
7640 | 657 <LI>FBdev: framebuffer can be turned on with the <CODE>clgenfb</CODE> |
658 driver in the kernel, though for me it worked only in 8bpp, thus | |
659 unusable. The clgenfb source had to be extended with the 7548 ID | |
660 before compilation.</LI> | |
6960 | 661 <LI>VESA: the card is only VBE 1.2 capable, so VESA output can't be |
662 used. Can't be workarounded with UniVBE.</LI> | |
663 <LI>SVGAlib: detects an older Cirrus chip. Usable but slow with | |
664 <CODE>-bpp 8</CODE>.</LI> | |
665 </UL> | |
666 </LI> | |
667 </UL> | |
668 </LI> | |
669 </UL> | |
670 | |
671 | |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
672 <H4>Sound cards:</H4> |
3239
ef38487113b1
"Software AC3 decoding" section. Patch by Stephen Davies <steve@daviesfam.org>
gabucino
parents:
3238
diff
changeset
|
673 |
ef38487113b1
"Software AC3 decoding" section. Patch by Stephen Davies <steve@daviesfam.org>
gabucino
parents:
3238
diff
changeset
|
674 <UL> |
6974 | 675 <LI><B>Soundblaster Live!</B>: with this card you can use 4 or 6 (<B>5.1</B>) |
676 channels AC3 decoding instead of 2. Read the | |
677 <A HREF="codecs.html#software_ac3">Software AC3 decoding</A> section. | |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
678 For hardware AC3 passthrough you <B>must</B> use ALSA 0.9 with OSS emulation!</LI> |
6974 | 679 <LI><B>C-Media with SP/DIF out</B>: hardware AC3 passthrough is possible |
680 with these cards, see | |
681 <A HREF="codecs.html#hardware_ac3">Hardware AC3 decoding</A> section.</LI> | |
7814 | 682 <LI>Features of <B>other cards</B> aren't supported by MPlayer. |
6974 | 683 <U>It's very recommended to read the <A HREF="sound.html">sound card |
684 section</A>!</U></LI> | |
3239
ef38487113b1
"Software AC3 decoding" section. Patch by Stephen Davies <steve@daviesfam.org>
gabucino
parents:
3238
diff
changeset
|
685 </UL> |
ef38487113b1
"Software AC3 decoding" section. Patch by Stephen Davies <steve@daviesfam.org>
gabucino
parents:
3238
diff
changeset
|
686 |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
687 <H4>Features:</H4> |
1731 | 688 |
3238 | 689 <UL> |
6974 | 690 <LI>Decide if you need GUI. If you do, see the <A HREF="#gui">GUI section</A> |
691 before compiling.</LI> | |
7814 | 692 <LI>If you want to install MEncoder (our great all-purpose encoder), |
6974 | 693 see the <A HREF="encoding.html">MEncoder section</A>.</LI> |
694 <LI>If you have a V4L compatible <B>TV tuner</B> card, and wish to watch/grab | |
7814 | 695 and encode movies with MPlayer, read the <A HREF="#tv">TV input</A> |
6974 | 696 section.</LI> |
6593
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
697 </UL> |
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
698 |
7814 | 699 <P>Then build MPlayer:</P> |
1682 | 700 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
701 <PRE> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
702 ./configure |
1682 | 703 make |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
704 make install |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
705 </PRE> |
1612 | 706 |
7814 | 707 <P>At this point, MPlayer is ready to use. The directory |
6960 | 708 <CODE>$PREFIX/share/mplayer</CODE> contains the <CODE>codecs.conf</CODE> |
709 file, which is used to tell the program all the codecs and their | |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
710 capabilities. This file should always be kept up to date together with the |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
711 main binary.<BR> |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
712 Check if you have <CODE>codecs.conf</CODE> in your home directory |
7814 | 713 (<CODE>~/.mplayer/codecs.conf</CODE>) left from old MPlayer versions, and remove it.</P> |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
714 |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
715 <P><B>Debian users</B> can build a <CODE>.deb</CODE> package for themselves, |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
716 it's very simple. Just exec <CODE>fakeroot debian/rules binary</CODE> in |
7814 | 717 MPlayer's root directory. See |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
718 <A HREF="documentation.html#debian">Debian packaging</A> for detailed |
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
719 instructions.</P> |
3774 | 720 |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
721 <P><B>Always browse the output of <CODE>./configure</CODE></B>, and the |
6960 | 722 <CODE>configure.log</CODE> file, they contain information about what will be |
723 built, and what will not. You may also want to view <CODE>config.h</CODE> and | |
724 <CODE>config.mak</CODE> files.<BR> | |
725 If you have some libraries installed, but not detected by | |
726 <CODE>./configure</CODE>, then check if you also have the proper header files | |
727 (usually the -dev packages) and their version matches. The | |
728 <CODE>configure.log</CODE> file usually tells you what is missing.</P> | |
729 | |
730 <P>Though not mandatory, the fonts should be installed in order to gain OSD, | |
731 and subtitle functionality. Download <CODE>mp-arial-iso-8859-*.zip</CODE> | |
7054 | 732 and/or optional (if exists) language updates. See the |
733 <A HREF="#subtitles_osd">Subtitles and OSD</A> section for details.</P> | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
734 |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
735 <PRE> |
7640 | 736 mkdir ~/.mplayer |
737 cd ~/.mplayer | |
6121 | 738 unzip mp-arial-iso-8859-1.zip |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
739 ln -s ~/.mplayer/iso-8859-1/arial-24 font |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
740 </PRE> |
1612 | 741 |
742 | |
7054 | 743 <H2><A NAME="gui">1.3 What about the GUI?</A></H2> |
1612 | 744 |
2903 | 745 <P>The GUI needs GTK (it isn't GTK, but the panels are). The skins are stored |
6960 | 746 in PNG format, so gtk, libpng (and their devel stuff) has to be installed. |
747 You can build it by specifying <CODE>--enable-gui</CODE> during | |
748 <CODE>./configure</CODE>. Then, to turn on GUI mode, you either</P> | |
749 <UL> | |
750 <LI>specify <CODE>gui=yes</CODE> in your config file</LI> | |
751 <LI><CODE>ln -s $PREFIX/bin/mplayer $PREFIX/bin/gmplayer</CODE> , | |
7323 | 752 and call <CODE>gmplayer</CODE> instead.</LI> |
6960 | 753 </UL> |
1612 | 754 |
7323 | 755 <P>Currently you can't use the <CODE>-gui</CODE> option on the command line, |
756 due to technical reasons.</P> | |
757 | |
7814 | 758 <P>As MPlayer doesn't have a skin included, you have to download them if |
6960 | 759 you want to use the GUI. See the |
760 <A HREF="http://www.mplayerhq.hu/homepage/dload.html">download page</A>. | |
761 They should be extracted to the usual system-wide directory | |
762 (<CODE>$PREFIX/share/mplayer/Skin</CODE>), or to | |
7814 | 763 <CODE>$HOME/.mplayer/Skin</CODE>. MPlayer by default looks in these |
6960 | 764 directories for a directory named <I>default</I>, but you can use the |
765 <CODE>-skin newskin</CODE> option, or the <CODE>skin=newskin</CODE> config | |
766 file directive to use the skin in <CODE>*/Skin/newskin</CODE> directory.</P> | |
2062 | 767 |
6974 | 768 |
7054 | 769 <H2><A NAME="subtitles_osd">1.4 Subtitles and OSD</A></H2> |
1714 | 770 |
5811 | 771 <P> |
7814 | 772 MPlayer can display subtitles along with movie files. Currently the following |
6960 | 773 formats are supported:</P> |
5811 | 774 <UL> |
6960 | 775 <LI>VobSub</LI> |
776 <LI>Microdvd</LI> | |
777 <LI>SubRip</LI> | |
778 <LI>SubViewer</LI> | |
779 <LI>Sami</LI> | |
780 <LI>VPlayer</LI> | |
781 <LI>RT</LI> | |
782 <LI>SSA</LI> | |
783 <LI>MPsub</LI> | |
784 <LI>AQTitle</LI> | |
5811 | 785 </UL> |
6960 | 786 |
5811 | 787 The command line options differ slightly for the different formats: |
2210 | 788 |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
789 <H4>VobSub subtitles</H4> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
790 |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
791 <P>VobSub subtitles consist of a big (some megabytes) .SUB file, and optional |
6960 | 792 .IDX and/or .IFO files.<BR> |
793 Usage: if you have files like <CODE>sample.sub</CODE>, | |
794 <CODE>sample.ifo</CODE>, <CODE>sample.idx</CODE> - you have to pass the | |
795 <CODE>-vobsub sample -vobsubid | |
796 <id></CODE> options (optionally with pathname, of course). The | |
797 <CODE>-vobsubid</CODE> option is like <CODE>-sid</CODE> for DVDs, you can | |
798 choose between subtitle tracks (languages) with it.</P> | |
4086 | 799 |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
800 <H4>Other subtitles</H4> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
801 |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
802 <P>The other formats consist of a single text file containing timing, |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
803 placement and text information.<BR> |
6960 | 804 Usage: if you have a file like <CODE>sample.txt</CODE>, you have to pass the |
6974 | 805 option <CODE>-sub sample.txt</CODE> (optionally with pathname, of course).</P> |
806 | |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
807 <H4>Adjusting subtitle timing and placement:</H4> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
808 |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
809 <DL> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
810 <DT><CODE>-subdelay <sec></CODE></DT> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
811 <DD>Delays subtitles by <sec> seconds. Can be negative.</DD> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
812 |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
813 <DT><CODE>-subfps <rate></CODE></DT> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
814 <DD>Specify frame/sec rate of subtitle file (float number)</DD> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
815 |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
816 <DT><CODE>-subpos <0 - 100></CODE></DT> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
817 <DD>Specify the position of subtitles.</DD> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
818 </DL> |
6960 | 819 |
820 <P>If you experience a growing delay between the movie and the subtitles when | |
821 using a MicroDVD subtitle file, most likely the frame rate of the movie and | |
822 the subtitle file are different.<BR> Please note that the MicroDVD subtitle | |
823 format uses absolute frame numbers for its timing, and therefore the | |
824 <CODE>-subfps</CODE> option cannot be used with this format. As | |
7814 | 825 MPlayer has no way to guess the frame rate of the subtitle file, you |
6960 | 826 have to manually convert the frame rate. There is a little perl script in the |
827 <CODE>contrib</CODE> directory of the MPlayer FTP site to do this conversion | |
828 for you.</P> | |
5811 | 829 |
6906
3274d0725fde
Changed all link names from the section number to a sensible label.
diego
parents:
6882
diff
changeset
|
830 <P>About DVD subtitles, read the <A HREF="cd-dvd.html#dvd">DVD section</A>.</P> |
3490 | 831 |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
832 |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
833 <H3><A NAME="mpsub">1.4.1 MPlayer's own subtitle format (MPsub)</A></H3> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
834 |
7814 | 835 <P>MPlayer introduces a new subtitle format called <B>MPsub</B>. It was |
6960 | 836 designed by me (Gabucino). Basically its main feature is being |
837 <I>dynamically</I> time-based (although it has frame-based mode too). Example | |
838 (from | |
6974 | 839 <A HREF="tech/mpsub.sub">DOCS/tech/mpsub.sub</A>):</P> |
840 | |
841 <P><CODE><I># first number : wait this much after previous subtitle disappeared<BR> | |
842 # second number : display the current subtitle for this many seconds<BR> | |
843 <BR> | |
844 15 3<BR> | |
845 A long long, time ago...<BR> | |
846 <BR> | |
847 0 3<BR> | |
848 in a galaxy far away...<BR> | |
849 <BR> | |
850 0 3<BR> | |
851 Naboo was under an attack.<BR></I></CODE></P> | |
2210 | 852 |
6960 | 853 <P>So you see, the main goal was to <B>make subtitle |
854 editing/timing/joining/cutting easy</B>. And, if you - say - get an SSA | |
855 subtitle but it's badly timed/delayed to your version of the movie, you | |
856 simply do a <CODE>mplayer dummy.avi -sub source.ssa -dumpmpsub</CODE>. | |
857 A <CODE>dump.mpsub</CODE> file will be created in the current directory, | |
858 which will contain the source subtitle's text, but in <B>MPsub</B> format. | |
859 Then you can freely add/subtract seconds to/from the subtitle.</P> | |
860 | |
861 <P>Subtitles are displayed with a technique called <B>'OSD', On Screen | |
862 Display</B>. OSD is used to display current time, volume bar, seek bar | |
863 etc.</P> | |
1714 | 864 |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
865 <H3><A NAME="install_osd">1.4.2 Installing OSD and subtitles</A></H3> |
1714 | 866 |
7814 | 867 <P>You need an MPlayer font package to be able to use OSD/SUB feature. |
6960 | 868 There are many ways to get it:</P> |
869 | |
1714 | 870 <UL> |
7814 | 871 <LI>download ready-to-use font packages from MPlayer site. |
6960 | 872 Note: currently available fonts are limited for iso 8859-1/2 support, |
873 but there are some other (including Korean, Russian, 8859-8 etc) fonts | |
874 at contrib/font section of FTP, made by users.<BR> | |
875 <BR> | |
876 Font should have appropriate font.desc file which maps unicode font | |
877 positions to the actual code page of the subtitles text. Other solution is | |
878 to have subtitles encoded in utf8 encoding and use <CODE>-utf8</CODE> | |
879 option or just name the subtitles file <video_name>.utf and have it | |
880 in the same dir as the video file. Recoding from different codepages to | |
881 utf8 could be done by using konwert (Debian) or iconv (Red Hat) | |
882 programs.<BR> | |
883 Some URLs: | |
884 <UL> | |
6970
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
885 <LI><A HREF="ftp://ftp.mplayerhq.hu/MPlayer/releases/">ftp://ftp.mplayerhq.hu/MPlayer/releases/</A> - ISO fonts</LI> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
886 <LI><A HREF="ftp://ftp.mplayerhq.hu/MPlayer/contrib/fonts/">ftp://ftp.mplayerhq.hu/MPlayer/contrib/fonts/</A> - various fonts by users</LI> |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
887 <LI><A HREF="http://realtime.ssu.ac.kr/~lethean/mplayer/">http://realtime.ssu.ac.kr/~lethean/mplayer/</A> - Korean fonts & RAW plugin</LI> |
6960 | 888 </UL> |
889 </LI> | |
890 <LI>use the font generator tool at TOOLS/subfont-c | |
891 It's a complete tool to convert from TTF/Type1/etc font to mplayer font pkg. | |
892 (read TOOLS/subfont-c/README for details)</LI> | |
893 <LI>use the font generator GIMP plugin at TOOLS/subfont-GIMP | |
894 (note: you must have HSI RAW plugin too, see URL below)</LI> | |
1987 | 895 </UL> |
896 | |
4177 | 897 <P>After that, UNZIP the file you downloaded to <CODE>~/.mplayer</CODE> or |
6960 | 898 <CODE>$PREFIX/share/mplayer</CODE>. Then rename or symlink one of them to |
899 <CODE>font</CODE> (like: <CODE>ln -s ~/.mplayer/arial-24 | |
900 ~/.mplayer/font</CODE>). Now you have to see a timer at the upper left corner | |
901 of the movie (switch it off with the "o" key).</P> | |
1714 | 902 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
903 <P>OSD has 3 states: (switch with 'o')</P> |
6960 | 904 |
1714 | 905 <UL> |
7043
ba9c212ed577
begun removing "Available options" and "Examples" sections, which
gabucino
parents:
7015
diff
changeset
|
906 <LI>timer + volume bar + seek bar + subtitles</LI> |
ba9c212ed577
begun removing "Available options" and "Examples" sections, which
gabucino
parents:
7015
diff
changeset
|
907 <LI>volume bar + seek bar + subtitles (default)</LI> |
6960 | 908 <LI>subtitles only</LI> |
1714 | 909 </UL> |
910 | |
6960 | 911 <P>You can change default behaviour by setting <CODE>osdlevel=</CODE> variable |
912 in config file.</P> | |
1714 | 913 |
6974 | 914 |
7054 | 915 <H2><A NAME="rtc">1.5 RTC</A></H2> |
6970
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
916 |
7814 | 917 There are three timing methods in MPlayer. |
6974 | 918 |
6970
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
919 <UL> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
920 <LI><B>To use the old method</B>, you don't have to do anything. It uses |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
921 <CODE>usleep()</CODE> to tune A/V sync, with +/- 10ms accuracy. However |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
922 sometimes the sync has to be tuned even finer.</LI> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
923 <LI><B>The new timer</B> code uses PC's RTC (Real Time Clock) for this task, |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
924 because it has precise 1ms timers. It is automagically enabled when |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
925 available, but requires root privileges, a <I>setuid root</I> |
7814 | 926 MPlayer binary or a properly set up kernel. |
6970
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
927 <BR> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
928 If you are running kernel 2.4.19pre8 or later you can adjust the maximum |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
929 RTC frequency for normal users through the <CODE>/proc</CODE> filesystem. |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
930 Use this command to enable RTC for normal users: |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
931 <P> |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
932 <CODE>echo 1024 > /proc/sys/dev/rtc/max-user-freq</CODE> |
6970
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
933 </P> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
934 If you do not have such a new kernel, you can also change one line in |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
935 <CODE>drivers/char/rtc.c</CODE> and recompile your kernel. Find the |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
936 section that reads |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
937 <PRE> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
938 * We don't really want Joe User enabling more |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
939 * than 64Hz of interrupts on a multi-user machine. |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
940 */ |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
941 if ((rtc_freq > 64) && (!capable(CAP_SYS_RESOURCE))) |
6970
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
942 </PRE> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
943 and change the 64 to 1024. You should really know what you are doing, though. |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
944 <BR> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
945 You can see the new timer's efficiency in the status line. |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
946 <BR> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
947 The power management functions of some notebook BIOSes with speedstep CPUs |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
948 interact badly with RTC. Audio and video may get out of sync. Plugging the |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
949 external power connector in before you power up your notebook seems to help. |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
950 You can always turn off RTC support with the <CODE>-nortc</CODE> switch. |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
951 In some hardware combinations (confirmed during usage of non-DMA DVD |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
952 drive on an ALi1541 board) usage of the RTC timer causes skippy playback. |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
953 It's recommended to use the third method in these cases.</LI> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
954 <LI><B>The third timer code</B> is turned on with the <CODE>-softsleep</CODE> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
955 option. It has the efficiency of the RTC, but it doesn't use RTC. On the other |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
956 hand, it requires more CPU.</LI> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
957 </UL> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
958 |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
959 <B>Note:</B> <B>NEVER install a setuid root MPlayer binary on a multiuser system!</B> |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
960 It's a clear way for everyone to become root. |
3263d686e99a
Created RTC section and moved RTC explanation there.
diego
parents:
6960
diff
changeset
|
961 |
2745 | 962 |
6974 | 963 |
7047 | 964 <H1><A NAME="features">2. Features</A></H1> |
965 | |
966 | |
967 <H2><A NAME="formats">2.1</A> <A HREF="formats.html">Supported formats</A></H2> | |
968 | |
969 | |
970 <H2><A NAME="codecs">2.2</A> <A HREF="codecs.html">Supported codecs</A></H2> | |
971 | |
972 | |
973 <H2><A NAME="output">2.3</A> <A HREF="video.html">Video</A> & <A HREF="sound.html">Audio</A> output devices</H2> | |
974 | |
975 | |
976 <H2><A NAME="encoding">2.4</A> <A HREF="encoding.html">MEncoder - An All-Purpose Encoder</A></H2> | |
977 | |
978 | |
979 <H2><A NAME="tv"><B>2.5 TV input</B></A></H2> | |
980 | |
2864 | 981 <P>This section is about how to enable <B>watching/grabbing from V4L compatible |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
982 TV tuner</B>. See the man page for a description of TV options and keyboard |
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
983 controls.</P> |
2864 | 984 |
7699
5d4b0446a557
Cosmetics: Converted 2 spaces to one in section titles, changed some ugly
diego
parents:
7640
diff
changeset
|
985 <H3><A NAME="tv_compilation">2.5.1 Compilation</A></H3> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
986 |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
987 <OL> |
6766
f7cd3a7aaa13
Applied patch by Fabian Franz <FabianFranz@gmx.de>, adding a note to the TV
diego
parents:
6732
diff
changeset
|
988 <LI>First, you have to recompile. <CODE>./configure</CODE> will autodetect |
f7cd3a7aaa13
Applied patch by Fabian Franz <FabianFranz@gmx.de>, adding a note to the TV
diego
parents:
6732
diff
changeset
|
989 kernel headers of v4l stuff and the existence of <CODE>/dev/video*</CODE> |
f7cd3a7aaa13
Applied patch by Fabian Franz <FabianFranz@gmx.de>, adding a note to the TV
diego
parents:
6732
diff
changeset
|
990 entries. If they exist, TV support will be built (see the output of |
f7cd3a7aaa13
Applied patch by Fabian Franz <FabianFranz@gmx.de>, adding a note to the TV
diego
parents:
6732
diff
changeset
|
991 <CODE>./configure</CODE>).</LI> |
f7cd3a7aaa13
Applied patch by Fabian Franz <FabianFranz@gmx.de>, adding a note to the TV
diego
parents:
6732
diff
changeset
|
992 <LI>Make sure your tuner works with another TV software in Linux, for example |
2864 | 993 xawtv.</LI> |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
994 </OL> |
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
995 |
7955 | 996 <H3><A NAME="tv_tips">2.5.2 Usage tips</A></H3> |
997 | |
998 The full listing of the options is available on the manual page. Here | |
999 are just a few tips: | |
1000 | |
1001 <UL> | |
8095 | 1002 <LI>Choose some sane image dimensions. The dimensions of the resulting image |
1003 should be divisible by 16.</LI> | |
1004 <LI>If you capture the video with the vertical resolution higher than half of | |
1005 the full resolution (i.e. 288 for PAL or 240 for NTSC), make sure you | |
1006 turned deinterlacing on. Otherwise you'll get a movie which is distorted | |
1007 during fast-motion scenes and the bitrate controller will be probably even | |
1008 unable to retain the specified bitrate as the interlacing artifacts produce | |
1009 high amount of detail and thus consume lot of bandwidth. You can enable | |
1010 deinterlacing with <CODE>-vop pp=DEINT_TYPE</CODE>. Usually | |
1011 <CODE>pp=lb</CODE> does a good job, but it can be matter of personal | |
1012 preference. See other deinterlacing algorithms in the manual and give it a | |
1013 try.</LI> | |
1014 <LI>Crop out the dead space. When you capture the video, the areas at the | |
1015 edges are usually black or contain some noise. These again consume lots of | |
1016 unnecessary bandwidth. More precisely it's not the black areas themselves | |
1017 but the sharp transitions between the black and the brighter video image | |
1018 which do but that's not important for now. Before you start capturing, | |
1019 adjust the arguments of the <CODE>crop</CODE> option so that all the crap | |
1020 at the margins is cropped out. Again, don't forget to keep the resulting | |
1021 dimensions sane.</LI> | |
1022 <LI>Watch out for CPU load. It shouldn't cross the 90% boundary for most of | |
1023 the time. If you have a large capture buffer, MEncoder can survive an | |
1024 overload for few seconds but nothing more. It's better to turn off the 3D | |
1025 OpenGL screensavers and similar stuff.</LI> | |
1026 <LI>Don't mess with the system clock. MEncoder uses the system clock for | |
1027 doing A/V sync. If you adjust the system clock (especially backwards in | |
1028 time), MEncoder gets confused and you will lose frames. This is an | |
1029 important issue if you are hooked to a network and run some time | |
1030 synchronization software like NTP. You have to turn NTP off during the | |
1031 capture process if you want to capture reliably.</LI> | |
1032 <LI>Don't change the <CODE>outfmt</CODE> unless you know what you are doing | |
1033 or your card/driver really doesn't support the default (YV12 colorspace). | |
1034 In the older versions of MPlayer/MEncoder it was necessary to specify the | |
1035 output format. This issue should be fixed in the current releases and | |
1036 <CODE>outfmt</CODE> isn't required anymore, and the default suits the most | |
1037 purposes. For example, if you are capturing into DivX using libavcodec and | |
1038 specify <CODE>outfmt=RGB24</CODE> in order to increase the quality of the | |
1039 captured images, the captured image will be actually later converted back | |
1040 into YV12 so the only thing you achieve is a massive waste of CPU power. | |
1041 </LI> | |
1042 <LI>To specify the I420 colorspace (<CODE>outfmt=i420</CODE>), you have to | |
1043 add an option <CODE>-vc rawi420</CODE> due to a fourcc conflict with an | |
1044 Intel Indeo video codec.</LI> | |
1045 <LI>There are several ways of capturing audio. You can grab the sound either | |
1046 using your soundcard via an external cable connection between video card | |
1047 and line-in, or using the built-in ADC in the bt878 chip. In the latter | |
1048 case, you have to load the <b>btaudio</b> driver. Read the | |
1049 <CODE>linux/Documentation/sound/btaudio</CODE> file (in the kernel tree, | |
1050 not MPlayer's) for some instructions on using this driver.</LI> | |
1051 <LI>If MEncoder cannot open the audio device, make sure that it is really | |
1052 available. There can be some trouble with the sound servers like arts | |
1053 (KDE) or esd (GNOME). If you have a full duplex soundcard (almost any | |
1054 decent card supports it today), and you are using KDE, try to check the | |
1055 "full duplex" option in the sound server preference menu.</LI> | |
7955 | 1056 </UL> |
1057 | |
1058 <H3><A NAME="tv_examples">2.5.3 Examples</A></H3> | |
2864 | 1059 |
6974 | 1060 <P>Dummy output, to AAlib :)<BR> |
1061 <CODE> mplayer -tv on:driver=dummy:width=640:height=480 -vo aa</CODE><BR> | |
1062 <BR> | |
1063 Input from standard V4L<BR> | |
7955 | 1064 <CODE> mplayer -tv |
1065 on:driver=v4l:width=640:height=480 -vo xv</CODE><BR> | |
1066 <BR> | |
1067 | |
1068 A more sophisticated example. This makes MEncoder capture the full | |
1069 PAL image, crop the margins, and deinterlace the picture using | |
1070 a linear blend algorithm. Audio is compressed with a constant | |
1071 bitrate of 64kbps, using LAME codec. This setup is suitable for | |
1072 capturing movies.<BR> <CODE> mencoder -tv | |
1073 on:driver=v4l:width=768:height=576 \<BR> | |
1074 -ovc lavc -lavcopts | |
1075 vcodec=mpeg4:vbitrate=900 \<BR> -oac | |
1076 mp3lame -lameopts cbr:br=64 \<BR> -vop | |
1077 pp=lb,crop=720:540:24:18 -o output.avi </CODE><BR> | |
6974 | 1078 |
7955 | 1079 <BR> |
1080 This will additionally rescale the image to 384x288 and compresses | |
1081 the video with the bitrate of 350kbps in high quality mode. The | |
1082 vqmax option looses the quantizer and allows the video compressor to | |
1083 actualy reach so low bitrate even at the expense of the | |
1084 quality. This can be used for capturing long TV series, where the | |
1085 video quality isn't so important.<BR> | |
1086 <CODE> | |
1087 mencoder -tv on:driver=v4l:width=768:height=576 \<BR> | |
1088 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=350:vhq:vqmax=31:keyint=300 \<BR> | |
1089 -oac mp3lame -lameopts cbr:br=48 \<BR> | |
1090 -vop scale=384:288,pp=tn/lb,crop=720:540:24:18 -sws 1 -o output.avi | |
1091 </CODE><BR> | |
1092 | |
1093 It's also possible to specify smaller image dimensions in the | |
1094 <CODE>-tv</CODE> option and omit the software scaling but this | |
1095 approach uses the maximum available information and is a little more | |
1096 resistant to noise. The bt8x8 chips can do the pixel averaging only | |
8095 | 1097 in the horizontal direction due to a hardware limitation.</P> |
6766
f7cd3a7aaa13
Applied patch by Fabian Franz <FabianFranz@gmx.de>, adding a note to the TV
diego
parents:
6732
diff
changeset
|
1098 |
2864 | 1099 |
6974 | 1100 |
7047 | 1101 <H1><A NAME="usage">3. Usage</A></H1> |
1102 | |
1103 | |
1104 <H2><A NAME="command_line">3.1 Command line</A></H2> | |
4177 | 1105 |
7814 | 1106 <P>MPlayer utilizes a complex playtree. It consists of global options |
4177 | 1107 written as first (for example <CODE>mplayer -vfm 5</CODE>), and options |
1108 written after filenames, that apply only to the given filename/URL/whatever | |
5105 | 1109 (for example <CODE>mplayer -vfm 5 movie1.avi movie2.avi -vfm 4</CODE>).<BR> |
5715
71843ef1a085
video filter layer documentation begun (maybe audio layer should be
gabucino
parents:
5704
diff
changeset
|
1110 You can group filenames/URLs together using { and }. It's useful with |
5105 | 1111 option -loop: <CODE>mplayer { 1.avi -loop 2 2.avi } -loop 3</CODE> |
1112 will play files in this order: 1 1 2 1 1 2 1 1 2<BR> | |
1113 </P> | |
4177 | 1114 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1115 <TABLE BORDER=0> |
6974 | 1116 <TR><TD> </TD><TD>file</TD><TD> </TD><TD><CODE>mplayer [options] [path/]filename</CODE></TD></TR> |
1117 <TR><TD></TD><TD>files</TD><TD></TD><TD><CODE>mplayer [default options] [path/]filename1 [options for filename1] filename2 [options for filename2] ...</CODE></TD></TR> | |
1118 <TR><TD></TD><TD>VCD</TD><TD></TD><TD><CODE>mplayer [options] -vcd trackno [-cdrom-device /dev/cdrom]</CODE></TD></TR> | |
1119 <TR><TD></TD><TD>DVD</TD><TD></TD><TD><CODE>mplayer [options] -dvd titleno [-dvd-device /dev/dvd]</CODE></TD></TR> | |
7813
76940a39405a
RTSP/RTP documentation, patch by Ross Finlayson <finlayson@live.com>.
diego
parents:
7792
diff
changeset
|
1120 <TR><TD></TD><TD>WWW</TD><TD></TD><TD><CODE>mplayer [options] http://site.com/file.asf (playlists can be used, too)</CODE></TD></TR> |
76940a39405a
RTSP/RTP documentation, patch by Ross Finlayson <finlayson@live.com>.
diego
parents:
7792
diff
changeset
|
1121 <TR><TD></TD><TD>RTSP</TD><TD></TD><TD><CODE>mplayer [options] rtsp://server.example.com/streamName</CODE></TD></TR> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1122 </TABLE> |
1612 | 1123 |
5105 | 1124 <P> |
7813
76940a39405a
RTSP/RTP documentation, patch by Ross Finlayson <finlayson@live.com>.
diego
parents:
7792
diff
changeset
|
1125 Latest versions of MPlayer also accept VCD and DVD tracks in URL style, just like |
76940a39405a
RTSP/RTP documentation, patch by Ross Finlayson <finlayson@live.com>.
diego
parents:
7792
diff
changeset
|
1126 xine does: <CODE>mplayer dvd://1</CODE> or <CODE>mplayer vcd://1</CODE></P> |
5105 | 1127 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1128 <PRE> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1129 mplayer -vo x11 /mnt/Films/Contact/contact2.mpg |
5105 | 1130 mplayer -vcd 2 |
1612 | 1131 mplayer -afm 3 /mnt/DVDtrailers/alien4.vob |
5105 | 1132 mplayer -dvd 1 -dvd-device /dev/hdc |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1133 mplayer -abs 65536 -delay -0.4 -nobps ~/movies/test.avi |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1134 </PRE> |
1612 | 1135 |
6974 | 1136 |
7047 | 1137 <H2><A NAME="control">3.2 Control</A></H2> |
1612 | 1138 |
7814 | 1139 <P>MPlayer has a fully configurable, command driven, control layer which |
1140 lets you control MPlayer with keyboard, mouse, joystick or remote | |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
1141 control (using LIRC). See the man page for the complete list of keyboard |
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
1142 controls.</P> |
5850 | 1143 |
6974 | 1144 |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
1145 <H3><A NAME="controls_configuration">3.2.1 Controls configuration</A></H3> |
5850 | 1146 |
7814 | 1147 <P>MPlayer allows you bind any key/button to any MPlayer command |
6493 | 1148 using a simple config file. The syntax consist of a key name followed by a |
1149 command. The default config file location is | |
6593
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
1150 <CODE>$HOME/.mplayer/input.conf</CODE> but it can be overridden using the |
6493 | 1151 <CODE>-input</CODE> conf switch (relative path are relative to |
1152 <CODE>$HOME/.mplayer</CODE>). | |
1153 | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1154 <P>Example:</P> |
6493 | 1155 |
5850 | 1156 <PRE> |
1157 ## | |
1158 ## MPlayer input control file | |
1159 ## | |
1160 | |
1161 RIGHT seek +10 | |
1162 LEFT seek -10 | |
1163 - audio_delay 0.100 | |
1164 + audio_delay -0.100 | |
1165 q quit | |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1166 > pt_step 1 |
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1167 < pt_step -1 |
5850 | 1168 ENTER pt_step 1 1 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1169 </PRE> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1170 |
5850 | 1171 |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
1172 <H4><A NAME="key_names">3.2.1.1 Key names</A></H4> |
5850 | 1173 |
6493 | 1174 <P>You can have a full list by running <CODE>mplayer -input keylist</CODE></P> |
5850 | 1175 |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
1176 <H4>Keyboard:</H4> |
5850 | 1177 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1178 <UL> |
6974 | 1179 <LI>Any printable character</LI> |
1180 <LI>SPACE</LI> | |
1181 <LI>ENTER</LI> | |
1182 <LI>TAB</LI> | |
1183 <LI>CTRL</LI> | |
1184 <LI>BS</LI> | |
1185 <LI>DEL</LI> | |
1186 <LI>INS</LI> | |
1187 <LI>HOME</LI> | |
1188 <LI>END</LI> | |
1189 <LI>PGUP</LI> | |
1190 <LI>PGDWN</LI> | |
1191 <LI>ESC</LI> | |
1192 <LI>RIGHT</LI> | |
1193 <LI>LEFT</LI> | |
1194 <LI>UP</LI> | |
1195 <LI>DOWN</LI> | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1196 </UL> |
5850 | 1197 |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
1198 <H4>Mouse (only supported under X):</H4> |
5850 | 1199 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1200 <UL> |
6974 | 1201 <LI>MOUSE_BTN0 (Left button)</LI> |
1202 <LI>MOUSE_BTN1 (Right button)</LI> | |
1203 <LI>MOUSE_BTN2 (Middle button)</LI> | |
1204 <LI>MOUSE_BTN3 (Wheel)</LI> | |
1205 <LI>MOUSE_BTN4 (Wheel)</LI> | |
1206 <LI>...</LI> | |
1207 <LI>MOUSE_BTN9</LI> | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1208 </UL> |
5850 | 1209 |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
1210 <H4>Joystick (support must be enabled at compile time):</H4> |
5850 | 1211 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1212 <UL> |
6974 | 1213 <LI>JOY_RIGHT or JOY_AXIS0_PLUS</LI> |
1214 <LI>JOY_LEFT or JOY_AXIS0_MINUS</LI> | |
1215 <LI>JOY_UP or JOY_AXIS1_MINUS</LI> | |
1216 <LI>JOY_DOWN or JOY_AXIS1_PLUS</LI> | |
1217 <LI>JOY_AXIS2_PLUS</LI> | |
1218 <LI>JOY_AXIS2_MINUS</LI> | |
7099
0b70f3dc34eb
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, with some
diego
parents:
7093
diff
changeset
|
1219 <LI>...</LI> |
6974 | 1220 <LI>JOY_AXIS9_PLUS</LI> |
1221 <LI>JOY_AXIS9_MINUS</LI> | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1222 </UL> |
5850 | 1223 |
1224 | |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
1225 <H4><A NAME="commands">3.2.1.2 Commands</A></H4> |
5850 | 1226 |
6493 | 1227 <P>You can have a full list of known commands by running "mplayer -input cmdlist"</P> |
5850 | 1228 |
1229 <UL> | |
1230 <LI><B>seek</B> (int) val [(int) type=0] | |
6974 | 1231 <P>Seek to some place in the movie.<BR> |
1232 Type 0 is a relative seek of +/- val seconds.<BR> | |
1233 Type 1 seek to val % in the movie.</P></LI> | |
5850 | 1234 <LI><B>audio_delay</B> (float) val |
6974 | 1235 <P>Adjust the audio delay of val seconds</P></LI> |
5850 | 1236 <LI><B>quit</B> |
7814 | 1237 <P>Quit MPlayer</P></LI> |
5850 | 1238 <LI><B>pause</B> |
6974 | 1239 <P>Pause/unpause the playback</P></LI> |
5850 | 1240 <LI><B>grap_frames</B> |
6974 | 1241 <P>Somebody know ?</P></LI> |
5850 | 1242 <LI><B>pt_step</B> (int) val [(int) force=0] |
6974 | 1243 <P>Go to next/previous entry in playtree. Val sign tell the direction.<BR> |
1244 If no other entry is available in the given direction it won't do anything | |
1245 unless force is non 0.</P></LI> | |
5850 | 1246 <LI><B>pt_up_step</B> (int) val [(int) force=0] |
6974 | 1247 <P>Like pt_step but it jump to next/previous in the parent list. It's useful |
1248 to break inner loop in the playtree.</P></LI> | |
5850 | 1249 <LI><B>alt_src_step</B> (int) val |
6974 | 1250 <P>When more than one source is available it select the next/previous one |
1251 (only supported by asx playlist).</P></LI> | |
5850 | 1252 <LI><B>sub_delay</B> (float) val [(int) abs=0] |
6974 | 1253 <P>Adjust the subtitles delay of +/- val seconds or set it to val seconds |
1254 when abs is non zero.</P></LI> | |
5850 | 1255 <LI><B>osd</B> [(int) level=-1] |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1256 <P>Toggle osd mode or set it to level when level > 0.</P></LI> |
5850 | 1257 <LI><B>volume</B> (int) dir |
6974 | 1258 <P>Increase/decrease volume</P></LI> |
5850 | 1259 <LI><B>contrast</B> (int) val [(int) abs=0]</LI> |
1260 <LI><B>brightness</B> (int) val [(int) abs=0]</LI> | |
1261 <LI><B>hue</B> (int) val [(int) abs=0]</LI> | |
1262 <LI><B>saturation</B> (int) val [(int) abs=0] | |
6974 | 1263 <P>Set/Adjust video parameters. Val range from -100 to 100.</P></LI> |
5850 | 1264 <LI><B>frame_drop</B> [(int) type=-1] |
6974 | 1265 <P>Toggle/Set frame dropping mode.</P></LI> |
7628
d6608342591d
This patch adds the functionality to disable/enable subtitles while playing
arpi
parents:
7455
diff
changeset
|
1266 <LI><B>sub_visibility</B> |
d6608342591d
This patch adds the functionality to disable/enable subtitles while playing
arpi
parents:
7455
diff
changeset
|
1267 <P>Toggle subtitle visibility.</P></LI> |
5850 | 1268 <LI><B>sub_pos</B> (int) val |
6974 | 1269 <P>Adjust subtitles position.</P></LI> |
5850 | 1270 <LI><B>vo_fullscreen</B> |
6974 | 1271 <P>Switch fullscreen mode.</P></LI> |
5850 | 1272 <LI><B>tv_step_channel</B> (int) dir |
6974 | 1273 <P>Select next/previous tv channel.</P></LI> |
5850 | 1274 <LI><B>tv_step_norm</B> |
6974 | 1275 <P>Change TV norm.</P></LI> |
5850 | 1276 <LI><B>tv_step_chanlist</B> |
6974 | 1277 <P>Change channel list.</P></LI> |
5850 | 1278 <LI><B>gui_loadfile</B></LI> |
1279 <LI><B>gui_loadsubtitle</B></LI> | |
1280 <LI><B>gui_about</B></LI> | |
1281 <LI><B>gui_play</B></LI> | |
1282 <LI><B>gui_stop</B></LI> | |
1283 <LI><B>gui_playlist</B></LI> | |
1284 <LI><B>gui_preferences</B></LI> | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1285 <LI><B>gui_skinbrowser</B> |
6974 | 1286 <P>GUI actions</P></LI> |
5850 | 1287 </UL> |
1288 | |
6974 | 1289 |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
1290 <H3><A NAME="lirc">3.2.2 Control from LIRC</A></H3> |
1612 | 1291 |
2848
33c32f3d9f1f
many small updates, fixes (some/more to be completed soon)
gabucino
parents:
2761
diff
changeset
|
1292 <P>Linux Infrared Remote Control - use an easy to build home-brewn IR-receiver, |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
1293 an (almost) arbitrary remote control and control your Linux box with it! |
6974 | 1294 More about it at <A HREF="http://www.lirc.org">www.lirc.org</A>.</P> |
1612 | 1295 |
5969 | 1296 <P>If you have installed the lirc-package, configure will autodetect it. If |
7814 | 1297 everything went fine, MPlayer will print a message like "Setting up |
5969 | 1298 lirc support..." on startup. If an error occurs it will tell you. If it |
1299 doesn't tell you anything about LIRC there's no support compiled in. That's | |
1300 it :-)</P> | |
1612 | 1301 |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1302 <P>The application name for MPlayer is - oh wonder - <CODE>mplayer</CODE>. |
5969 | 1303 You can use any mplayer commands and even pass more than one command by |
1304 separating them with \n. Don't forget to enable the repeat flag in .lircrc | |
1305 when it make sense (seek, volume, etc). Here's an excerpt from my | |
1306 .lircrc:</P> | |
1612 | 1307 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1308 <PRE> |
5850 | 1309 begin |
1310 button = VOLUME_PLUS | |
1311 prog = mplayer | |
1312 config = volume 1 | |
1313 repeat = 1 | |
1314 end | |
1612 | 1315 |
5850 | 1316 begin |
1317 button = VOLUME_MINUS | |
1318 prog = mplayer | |
1319 config = volume -1 | |
1320 repeat = 1 | |
1321 end | |
1322 | |
1323 begin | |
1324 button = CD_PLAY | |
1325 prog = mplayer | |
1326 config = pause | |
1327 end | |
1328 | |
1329 begin | |
1330 button = CD_STOP | |
1331 prog = mplayer | |
1332 config = seek 0 1\npause | |
1333 end | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1334 </PRE> |
1612 | 1335 |
2848
33c32f3d9f1f
many small updates, fixes (some/more to be completed soon)
gabucino
parents:
2761
diff
changeset
|
1336 <P>If you don't like the standard location for the lirc-config file (~/.lircrc) |
6960 | 1337 use the -lircconf <filename> switch to specify another file.</P> |
1612 | 1338 |
6493 | 1339 |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
1340 <H3><A NAME="slave">3.2.3 Slave mode</A></H3> |
5850 | 1341 |
7814 | 1342 <P>The slave mode allow you to build simple frontend to MPlayer. When |
1343 enabled (with the <CODE>-slave</CODE> switch) MPlayer will read | |
6593
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
1344 commands separated by new line (\n) from stdin.</P> |
6493 | 1345 |
5850 | 1346 |
7047 | 1347 <H2><A NAME="streaming">3.3 Streaming from network or pipes</A></H2> |
1612 | 1348 |
7814 | 1349 <P>MPlayer can play files from network, using the HTTP, MMS or RTSP/RTP |
7813
76940a39405a
RTSP/RTP documentation, patch by Ross Finlayson <finlayson@live.com>.
diego
parents:
7792
diff
changeset
|
1350 protocol.</P> |
1612 | 1351 |
6960 | 1352 <P>Playing goes by simply using adding the URL to the command line. |
7814 | 1353 MPlayer also honors the http_proxy environment variable, and uses |
6960 | 1354 proxy if available. Proxy usage can also be forced:</P> |
4153 | 1355 |
5105 | 1356 <P><CODE>mplayer http_proxy://proxy.micorsops.com:3128/http://micorsops.com:80/stream.asf</CODE></P> |
2001 | 1357 |
7814 | 1358 <P>MPlayer can read from stdin (NOT named pipes). This can be for example |
6960 | 1359 used to play from FTP:</P> |
1360 | |
6583 | 1361 <P><CODE> wget ftp://micorsops.com/something.avi -O - | mplayer -</CODE></P> |
1612 | 1362 |
6960 | 1363 <P>Note: it's also recommended to enable CACHE when playback from network:</P> |
6868
f6e17d2b448e
The rectangle of the rectangle plugin is not necessarily white.
diego
parents:
6849
diff
changeset
|
1364 |
6583 | 1365 <P><CODE> wget ftp://micorsops.com/something.avi -O - | mplayer -cache 8192 -</CODE></P> |
1612 | 1366 |
6496 | 1367 |
6974 | 1368 |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1369 <H1><A NAME="faq">4.</A> <A HREF="faq.html">FAQ section</A></H1> |
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1370 |
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1371 |
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1372 |
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1373 <H1><A NAME="cd/dvd">5.</A> <A HREF="cd-dvd.html">CD/DVD section</A></H1> |
7047 | 1374 |
1375 | |
1376 | |
1377 <H1><A NAME="ports">6. Ports</A></H1> | |
1378 | |
1379 | |
1380 <H2><A NAME="debian">6.1 Debian packaging</A></H2> | |
1612 | 1381 |
1682 | 1382 <P>To build the package, get the cvs version, or .tgz and uncompress it, |
6960 | 1383 and cd into programs directory:</P> |
1612 | 1384 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1385 <PRE> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1386 cd main |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1387 fakeroot debian/rules binary |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1388 </PRE> |
1612 | 1389 |
1682 | 1390 <P>(... mplayer detects hardware/software, builds itself and.. ) |
6960 | 1391 dpkg-deb: building package `mplayer' in `../mplayer_0.90-1_i386.deb'.</P> |
1612 | 1392 |
1682 | 1393 <P>And now just become root, and:</P> |
1612 | 1394 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1395 <PRE> |
6583 | 1396 dpkg -i ../mplayer_0.90-1_i386.deb as root. |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1397 </PRE> |
1612 | 1398 |
1682 | 1399 <P>Here's how it looks like:</P> |
1612 | 1400 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1401 <PRE> |
6583 | 1402 eyck@incubus:/src/main$ sudo dpkg -i ../mplayer_0.90-1_i386.deb |
1612 | 1403 Password: |
1404 (Reading database ... 26946 files and directories currently installed.) | |
6583 | 1405 Preparing to replace mplayer 0.50-1 (using ../mplayer_0.90-1_i386.deb) |
1612 | 1406 Unpacking replacement mplayer ... |
6583 | 1407 Setting up mplayer (0.90-1) ... |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1408 </PRE> |
1612 | 1409 |
1410 | |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1411 <H2><A NAME="bsd">6.2 *BSD</A></H2> |
1612 | 1412 |
8079
714d18011757
Link to Chinese documentation, ports etc mentioned in *BSD section.
diego
parents:
8070
diff
changeset
|
1413 <P>MPlayer runs on FreeBSD, OpenBSD, NetBSD, BSD/OS and Darwin. There are |
714d18011757
Link to Chinese documentation, ports etc mentioned in *BSD section.
diego
parents:
8070
diff
changeset
|
1414 ports/pkgsrc/fink/etc versions of MPlayer available that are probably easier |
714d18011757
Link to Chinese documentation, ports etc mentioned in *BSD section.
diego
parents:
8070
diff
changeset
|
1415 to use than our raw sources.</P> |
714d18011757
Link to Chinese documentation, ports etc mentioned in *BSD section.
diego
parents:
8070
diff
changeset
|
1416 |
714d18011757
Link to Chinese documentation, ports etc mentioned in *BSD section.
diego
parents:
8070
diff
changeset
|
1417 <P>To build MPlayer you will need GNU make (gmake - native BSD make will not |
714d18011757
Link to Chinese documentation, ports etc mentioned in *BSD section.
diego
parents:
8070
diff
changeset
|
1418 work) and a recent version of binutils.</P> |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1419 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1420 <P>If MPlayer complains about not finding <CODE>/dev/cdrom</CODE> or |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1421 <CODE>/dev/dvd</CODE>, create an appropiate symbolic link:<BR> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1422 <CODE>ln -s /dev/(your_cdrom_device) /dev/cdrom</CODE>.</P> |
1612 | 1423 |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1424 <P>To use Win32 DLLs with MPlayer you will need to re-compile the kernel with |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1425 "<CODE>option USER_LDT</CODE>" (unless you run FreeBSD -CURRENT, where this |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1426 is the default).</P> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1427 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1428 <H3><A NAME="freebsd">6.2.1 FreeBSD</A></H3> |
1612 | 1429 |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1430 <P>If your CPU has SSE, recompile your kernel with "options CPU_ENABLE_SSE" to |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1431 use it (FreeBSD-STABLE or kernel patches required).</P> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1432 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1433 <H3><A NAME="openbsd">6.2.2 OpenBSD</A></H3> |
1612 | 1434 |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1435 <P>Due to limitations in different versions of gas (relocation vs MMX), you will |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1436 need to compile in two steps: First make sure that the non-native as is first |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1437 in your <CODE>$PATH</CODE> and do a <CODE>gmake -k</CODE>, then make sure that |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1438 the native version is used and do <CODE>gmake</CODE>.</P> |
1612 | 1439 |
6974 | 1440 |
7047 | 1441 <H2><A NAME="solaris">6.3 Solaris</A></H2> |
1688 | 1442 |
1443 <P>MPlayer should work on Solaris 2.6 or newer.</P> | |
1612 | 1444 |
7814 | 1445 <P>On <B>UltraSPARC</B>s, MPlayer takes advantage of their <B>VIS</B> |
6960 | 1446 extensions (equivalent to MMX), currently only in <I>libmpeg2</I>, |
1447 <I>libvo</I> and <I>libavcodec</I>, but not in mp3lib. You can watch a VOB | |
1448 file on a 400MHz CPU. You'll need | |
1449 <A HREF="http://www.sun.com/sparc/vis/mediaLib.html">mLib</A> installed.</P> | |
1731 | 1450 |
1682 | 1451 <P>To build the package you will need GNU make (gmake, /opt/sfw/gmake), native |
6960 | 1452 Solaris make will not work. Typical error you get when building with Solaris' |
1453 make instead of GNU make:</P> | |
1612 | 1454 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1455 <PRE> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1456 % /usr/ccs/bin/make |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1457 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1458 </PRE> |
1612 | 1459 |
1682 | 1460 <P>On Solaris SPARC, you need the GNU C/C++ Compiler; it does not matter |
6960 | 1461 if GNU C/C++ compiler is configured with or without the GNU assembler.</P> |
1462 | |
1463 <P>On Solaris x86, you need the GNU assembler and the GNU C/C++ compiler, | |
1464 configured to use the GNU assembler! The mplayer code on the x86 platform | |
1465 makes heavy use of MMX, SSE and 3DNOW! instructions that cannot be compiled | |
1466 using Sun's assembler <CODE>/usr/ccs/bin/as</CODE>.</P> | |
1467 | |
1468 <P>The configure script tries to find out, which assembler program is used by | |
1469 your "gcc" command (in case the autodetection fails, use the | |
1470 <CODE>--as=/whereever/you/have/installed/gnu-as</CODE> option to tell the | |
1471 configure script where it can find GNU "as" on your system).</P> | |
1612 | 1472 |
1682 | 1473 <P>Error message from configure on a Solaris x86 system using GCC |
6960 | 1474 without GNU assembler:</P> |
1612 | 1475 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1476 <PRE> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1477 % configure |
1612 | 1478 ... |
1479 Checking assembler (/usr/ccs/bin/as) ... , failed | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1480 Please upgrade(downgrade) binutils to 2.10.1... |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1481 </PRE> |
1612 | 1482 |
1682 | 1483 <P>(Solution: Install and use a gcc configured with "--with-as=gas")</P> |
1612 | 1484 |
1682 | 1485 <P>Typical error you get when building with a GNU C compiler that does |
6960 | 1486 not use GNU as:</P> |
1612 | 1487 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1488 <PRE> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1489 % gmake |
1612 | 1490 ... |
2848
33c32f3d9f1f
many small updates, fixes (some/more to be completed soon)
gabucino
parents:
2761
diff
changeset
|
1491 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math |
1612 | 1492 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c |
1493 Assembler: mplayer.c | |
1494 "(stdin)", line 3567 : Illegal mnemonic | |
1495 "(stdin)", line 3567 : Syntax error | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1496 ... more "Illegal mnemonic" and "Syntax error" errors ... |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1497 </PRE> |
1682 | 1498 |
1499 <P>For DVD support you must have the patched libcss installed. Patch: | |
6960 | 1500 <A HREF="http://www.tools.de/solaris/mplayer/">http://www.tools.de/solaris/mplayer/</A>.</P> |
1682 | 1501 |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
1502 <P>Due to two bugs in Solaris 8 x86, you cannot reliably play DVD discs larger |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
1503 than 4 GB:</P> |
1682 | 1504 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1505 <UL> |
6960 | 1506 <LI>The sd(7D) driver on Solaris 8 x86 driver has bug when accessing a disk |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1507 block >4GB on a device using a logical blocksize != DEV_BSIZE (i.e. CD-ROM |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
1508 and DVD media). Due to a 32Bit int overflow, a disk address modulo 4GB is |
6960 | 1509 accessed. |
1510 (<A HREF="http://groups.yahoo.com/group/solarisonintel/message/22516">http://groups.yahoo.com/group/solarisonintel/message/22516</A>) | |
1511 </LI> | |
6998
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
1512 <LI>A similar bug is present in the hsfs(7FS) filesystem code (aka |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
1513 ISO9660), hsfs currently does not support partitions/disks larger than 4GB, all data |
83a386e88f9e
Applied patch by Andras Mohari <mayday at varoshaza . nagyatad . hu>
diego
parents:
6981
diff
changeset
|
1514 is accessed modulo 4GB. |
6960 | 1515 (<A HREF="http://groups.yahoo.com/group/solarisonintel/message/22592">http://groups.yahoo.com/group/solarisonintel/message/22592</A>) |
1516 </LI> | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1517 </UL> |
1682 | 1518 |
1688 | 1519 <P>On Solaris with an UltraSPARC CPU, you can get some extra speed by |
1520 using the CPU's VIS instructions for certain time consuming operations. | |
2848
33c32f3d9f1f
many small updates, fixes (some/more to be completed soon)
gabucino
parents:
2761
diff
changeset
|
1521 VIS acceleration can be used in MPlayer by calling functions in Sun's |
1688 | 1522 <A HREF="http://www.sun.com/sparc/vis/mediaLib.html">mediaLib</A>.</P> |
1523 | |
1524 <P>VIS accelerated operations from mediaLib are used for mpeg2 video | |
1525 decoding and for color space conversion in the video output drivers.</P> | |
1526 | |
2452 | 1527 |
7047 | 1528 <H2><A NAME="strongarm">6.4 StrongARM</A></H2> |
1682 | 1529 |
7814 | 1530 <P>MPlayer is reported to compile on StrongARM. Use the following command line:</P> |
1682 | 1531 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1532 <PRE> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1533 ./configure --target=arm-linux --disable-css --with-x11libdir=/usr/arm/lib |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1534 --with-x11incdir=/usr/arm/lib --disable-gcc-checking |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1535 </PRE> |
2452 | 1536 |
1537 | |
7047 | 1538 <H2><A NAME="sgi">6.5 Silicon Graphics / IRIX</A></H2> |
2452 | 1539 |
6593
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
1540 <P>Reported working. You'll probably have to use the <I>SGI</I> ao driver. |
6960 | 1541 Anyone has closer info?</P> |
2452 | 1542 |
1543 | |
7047 | 1544 <H2><A NAME="qnx">6.6 QNX</A></H2> |
3027 | 1545 |
4500 | 1546 <P>Works. You'll need to download SDL for QNX, and install it. Then run |
7814 | 1547 MPlayer with <CODE>-vo sdl:photon</CODE> and <CODE>-ao sdl:nto</CODE> |
4500 | 1548 options, and it should be fast.</P> |
1549 | |
1550 <P>The <CODE>-vo x11</CODE> output will be even slower than on Linux, since | |
4680 | 1551 QNX has only X <I>emulation</I> which is VERY slow. Use SDL.</P> |
3027 | 1552 |
1553 | |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1554 <H2><A NAME="cygwin">6.7 Cygwin</A></H2> |
5880
a04a7dc31ebb
openbsd updates by Bj«Órn Sandell <biorn@dce.chalmers.se>
arpi
parents:
5863
diff
changeset
|
1555 |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1556 <P>The Cygwin port is still in its infancy and could use some love, |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1557 <A HREF="tech/patches.txt">patches</A> are always welcome. You should also |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1558 check out the |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1559 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</A> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1560 mailing list for help and latest information.</P> |
5880
a04a7dc31ebb
openbsd updates by Bj«Órn Sandell <biorn@dce.chalmers.se>
arpi
parents:
5863
diff
changeset
|
1561 |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1562 <P>To get native DirectX video (<CODE>-vo directx</CODE>), install |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1563 <A HREF="http://www.videolan.org/vlc/dx7headers.tgz">DirectX 7 header files</A> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1564 and recompile. This, together with <CODE>-ao win32</CODE> should give you best |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1565 results.</P> |
6960 | 1566 |
7814 | 1567 <P>You will have to go to the MPlayer directory, and copy or symlink |
6960 | 1568 <CODE>etc/cygwin_inttypes.h</CODE> to <CODE>/usr/include/inttypes.h</CODE> to |
7814 | 1569 make MPlayer compile. Otherwise it will complain about missing |
6960 | 1570 <CODE>intypes.h</CODE>.</P> |
6464
60211818e5b9
Applied Cygwin patch by Sylvain Petreolle <spetreolle@yahoo.fr>, adjusted
diego
parents:
6436
diff
changeset
|
1571 |
7942
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1572 <P>Since there is no support for Win32 DLLs under Cygwin and OpenGL and mpdvdkit |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1573 do not work/compile, you should disable them in configure with |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1574 <CODE>./configure --disable-win32 --disable-gl --disable-mpdvdkit</CODE>.</P> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1575 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1576 <P>SDL has also been reported to work after some tweaking:<BR> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1577 There are several changes that need to be made to the <CODE>config.mak</CODE> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1578 file after running <CODE>configure</CODE>. These changes, like any change to |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1579 <CODE>config.mak</CODE> after the <CODE>configure</CODE> run are <B>not</B> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1580 supported, so please do <B>not</B> report bugs!</P> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1581 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1582 <P>Find the line that reads</P> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1583 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1584 <PRE> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1585 SDL_LIB = -L/usr/local/lib -lmingw32 -lSDLmain -lSDL -mwindows -mno-cygwin |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1586 </PRE> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1587 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1588 <P>and change it to:</P> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1589 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1590 <PRE> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1591 SDL_LIB = -L/usr/local/lib -lSDL -mcygwin |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1592 </PRE> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1593 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1594 <P>and replace</P> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1595 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1596 <PRE> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1597 SDL_INC = -I/usr/local/include -I/usr/local/include/SDL -Dmain=SDL_main -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1598 </PRE> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1599 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1600 <P>with</P> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1601 |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1602 <PRE> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1603 SDL_INC = -I/usr/local/include -I/usr/local/include/SDL -Uunix -mcygwin |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1604 </PRE> |
b582c6fb0053
Unified BSD sections, expanded Cygwin section, small fixes.
diego
parents:
7814
diff
changeset
|
1605 |
6974 | 1606 |
1607 | |
7365
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1608 <H1><A NAME="mailing_lists">Appendix A - Mailing lists</A></H1> |
1682 | 1609 |
7814 | 1610 <P>There are some public mailing lists on MPlayer. Unless explicitly |
7700
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1611 stated otherwise the language of these lists is <B>English</B>. Please do |
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1612 not send messages in other languages or HTML mail! Message size limit is 80k. |
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1613 If you have something bigger put it up for download somewhere. Click the |
7787
05e518badc1b
doc fixes part 1 (more will come when i find the time to read the rest)
attila
parents:
7700
diff
changeset
|
1614 links to subscribe. On the mailing lists, the same rules about writing |
7792
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
1615 and quoting apply as on usenet. Please follow them, it makes the life of |
a1465b7f3221
Keyboard controls and options are described in the man page, removed the
diego
parents:
7787
diff
changeset
|
1616 those who read your mails a lot easier. If you do not know them please |
7787
05e518badc1b
doc fixes part 1 (more will come when i find the time to read the rest)
attila
parents:
7700
diff
changeset
|
1617 read <A HREF="http://learn.to/edit_messages">HOWTO edit messages</A> or |
05e518badc1b
doc fixes part 1 (more will come when i find the time to read the rest)
attila
parents:
7700
diff
changeset
|
1618 (if you are in a hurry) |
05e518badc1b
doc fixes part 1 (more will come when i find the time to read the rest)
attila
parents:
7700
diff
changeset
|
1619 <A HREF="http://www.xs4all.nl/~hanb/documents/quotingguide.html"> |
05e518badc1b
doc fixes part 1 (more will come when i find the time to read the rest)
attila
parents:
7700
diff
changeset
|
1620 Quoting HOWTO</A>.</P> |
1682 | 1621 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1622 <UL> |
6974 | 1623 <LI>MPlayer developers list: |
1624 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng">http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng</A><BR> | |
7814 | 1625 This list is about MPlayer development! Talking about interface/API |
7700
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1626 changes, new libraries, code optimization, configure changes is ontopic |
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1627 here. Send patches but <B>not</B> bug reports, user questions, feature |
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1628 requests or flames here to keep the list traffic low.</LI> |
6974 | 1629 <LI>MPlayer users list: |
1630 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-users">http://mplayerhq.hu/mailman/listinfo/mplayer-users</A> | |
1631 <UL> | |
7700
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1632 <LI>Send bug reports here after reading the <A HREF="#known_bugs">Known Bugs</A> |
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1633 and <A HREF="bugreports.html">bug reporting section</A>).</LI> |
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1634 <LI>Send feature requests here (after reading the <B>whole</B> |
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1635 documentation).</LI> |
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1636 <LI>Send user questions here (after reading the <B>whole</B> |
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1637 documentation).</LI> |
6974 | 1638 </UL> |
1639 </LI> | |
1640 <LI>MPlayer Hungarian users list: | |
1641 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-felhasznalok">http://mplayerhq.hu/mailman/listinfo/mplayer-felhasznalok</A> | |
1642 <UL> | |
1643 <LI>Hungarian language list</LI> | |
7700
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1644 <LI>Topic? We'll see about it... mostly flame and RTFM questions up to now :(</LI> |
6974 | 1645 </UL> |
1646 </LI> | |
7700
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1647 <LI>MPlayer & Matrox G200/G400/G450/G550 users: |
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1648 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-matrox">http://mplayerhq.hu/mailman/listinfo/mplayer-matrox</A><BR> |
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1649 Matrox related questions like |
6974 | 1650 <UL> |
1651 <LI>things about mga_vid</LI> | |
1652 <LI>Matrox's official beta drivers (for X 4.x.x)</LI> | |
7700
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1653 <LI>matroxfb-TVout stuff</LI> |
6974 | 1654 </UL> |
1655 </LI> | |
1656 <LI>MPlayer & DVB card users: | |
1657 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-dvb">http://mplayerhq.hu/mailman/listinfo/mplayer-dvb</A><BR> | |
7700
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1658 Things related to the hardware decoder card called DVB (<B>not</B> DXR3!). |
6974 | 1659 </LI> |
1660 <LI>MPlayer CVS-log: | |
1661 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog">http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog</A><BR> | |
7814 | 1662 All changes in MPlayer code are automatically sent to this list. Only |
7700
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1663 questions about these changes belong here (if you do not understand why a |
6974 | 1664 change is required or you have a better fix or you have noticed a possible |
7700
4a39a8bac5de
Mailing list section reworded and updated. This should at some point be
diego
parents:
7699
diff
changeset
|
1665 bug/problem in the commit).</LI> |
7043
ba9c212ed577
begun removing "Available options" and "Examples" sections, which
gabucino
parents:
7015
diff
changeset
|
1666 <LI>MPlayer Cygwin-porting list: |
ba9c212ed577
begun removing "Available options" and "Examples" sections, which
gabucino
parents:
7015
diff
changeset
|
1667 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin">http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin</A><BR> |
7814 | 1668 List for discussion about MPlayer's Cygwin port.</LI> |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1669 </UL> |
1682 | 1670 |
7076
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1671 <P><B>Note:</B> You can reach the searchable mailing list archives at |
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1672 <A HREF="http://www.mplayerhq.hu/cgi-bin/htsearch">http://www.mplayerhq.hu/cgi-bin/htsearch</A>. |
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1673 |
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1674 |
3275af5787e0
Applied patch by Andras Mohari <mayday@varoshaza.nagyatad.hu>, slightly
diego
parents:
7061
diff
changeset
|
1675 |
7365
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1676 <H1><A NAME="bug_reports">Appendix B</A> - <A HREF="bugreports.html">How to report bugs</A></H1> |
7047 | 1677 |
1678 | |
1679 | |
7365
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1680 <H1><A NAME="known_bugs">Appendix C - Known bugs</A></H1> |
1748 | 1681 |
6593
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
1682 <P>Special system/CPU-specific bugs/problems:</P> |
1748 | 1683 <UL> |
1684 | |
1685 <LI>SIGILL (signal 4) on P3 using 2.2.x kernels:<BR> | |
1686 Problem: kernel 2.2.x doesn't have proper (working) SSE support<BR> | |
1687 Solution: upgrade kernel to 2.4.x<BR> | |
6732
8460a77203de
DXR3 moved to video.html. TOC updated, added <CODE> where appropiate.
diego
parents:
6731
diff
changeset
|
1688 Workaround: <CODE>./configure --disable-sse</CODE></LI> |
1748 | 1689 |
1690 <LI>General SIGILL (signal 4):<BR> | |
1691 Problem: you compiled and run mplayer in different machines | |
6593
a2937bae0651
Expanded RTC section. It now explains how to allow RTC via /proc on newer
diego
parents:
6583
diff
changeset
|
1692 (for example compiled on P3 and running on Celeron)<BR> |
1748 | 1693 Solution: compile MPlayer on the same machine where you will use it!<BR> |
6732
8460a77203de
DXR3 moved to video.html. TOC updated, added <CODE> where appropiate.
diego
parents:
6731
diff
changeset
|
1694 Workaround: <CODE>./configure --disable-sse</CODE> etc. options</LI> |
3669
5ef5df143cbf
added "Internal buffer inconsistency" lame bug as Known problem
gabucino
parents:
3668
diff
changeset
|
1695 |
5ef5df143cbf
added "Internal buffer inconsistency" lame bug as Known problem
gabucino
parents:
3668
diff
changeset
|
1696 <LI>"Internal buffer inconsistency" during MEncoder run:<BR> |
6574 | 1697 Problem: known problem when lame < 3.90 was compiled with gcc 2.96 or 3.x.<BR> |
1698 Solution: use lame >=3.90.<BR> | |
1699 Workaround: compile lame with gcc 2.95.x and remove any already installed | |
1700 lame packages, they may have been compiled with gcc 2.96.</LI> | |
4908
9b2b09d3ff8b
strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents:
4819
diff
changeset
|
1701 |
9b2b09d3ff8b
strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents:
4819
diff
changeset
|
1702 <LI>Messed up MP2/MP3 sound on PPC:<BR> |
9b2b09d3ff8b
strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents:
4819
diff
changeset
|
1703 Problem: known GCC miscompilation bug on PPC platforms, no fix yet.<BR> |
9b2b09d3ff8b
strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents:
4819
diff
changeset
|
1704 Workaround: use FFmpeg's (slow) MP1/MP2/MP3 decoder (<CODE>-ac ffmpeg</CODE>)</LI> |
9b2b09d3ff8b
strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents:
4819
diff
changeset
|
1705 |
9b2b09d3ff8b
strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents:
4819
diff
changeset
|
1706 <LI>sig11 in libmpeg2, when scaling+encoding:<BR> |
9b2b09d3ff8b
strike period over, commiting stuff. next commit will be rewrite. (?)
gabucino
parents:
4819
diff
changeset
|
1707 Problem: known GCC 2.95.2 MMX bug, upgrade to 2.95.3.</LI> |
1748 | 1708 </UL> |
1709 | |
1710 <P>Various A-V sync and other audio problems:</P> | |
1711 | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1712 General audio delay or jerky sound (exists with all or many files): |
1748 | 1713 <UL> |
6974 | 1714 <LI>most common: buggy audio driver! - try to use different drivers, try |
1715 ALSA 0.9 OSS emulation with -ao oss, also try -ao sdl, sometimes it helps. | |
1716 If your file plays fine with -nosound, then you can be sure it's sound card | |
1717 (driver) problem.</LI> | |
1718 <LI>audio buffer problems (buffer size badly detected)<BR> | |
1719 Workaround: mplayer -abs option</LI> | |
1720 <LI>samplerate problems - maybe your card doesn't support the samplerate | |
1721 used in your files - try the resampling plugin (-aop)</LI> | |
1722 <LI>slow machine (CPU or VGA)<BR> | |
1723 try with -vo null, if it plays well, then you have slow VGA card/driver<BR> | |
1724 Workaround: buy a faster card or read this documentation about how to speed up<BR> | |
1725 Also try -framedrop</LI> | |
1726 </UL> | |
1748 | 1727 |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1728 Audio delay/de-sync specific to one or a few files: |
1748 | 1729 <UL> |
6974 | 1730 <LI>bad file<BR> |
1731 Workaround: | |
1732 <UL> | |
1733 <LI>-ni or -nobps option (for non-interleaved or bad files)<BR> | |
1734 and/or</LI> | |
1735 <LI>-mc 0 (required for files with badly interleaved VBR audio)<BR> | |
1736 and/or</LI> | |
1737 <LI>-delay option or +/- keys at runtime to adjust delay</LI> | |
1738 </UL> | |
1739 If none of these help, please upload the file, we'll check (and fix). | |
1740 </LI> | |
1741 <LI>your sound card doesn't support 48kHz playback<BR> | |
1742 Workaround: buy a better sound card... or try to decrease fps by 10% (use | |
1743 -fps 27 for a 30fps movie) or use the resampler plugin</LI> | |
1744 <LI>slow machine<BR> | |
1745 (if A-V is not around 0, and the last number in the status line increasing)<BR> | |
1746 Workaround: -framedrop</LI> | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1747 </UL> |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1748 |
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1749 No sound at all: |
1748 | 1750 <UL> |
6974 | 1751 <LI>your file uses an unsupported audio codec<BR> |
1752 Workaround: read the documentation and help us adding support for it</LI> | |
1748 | 1753 </UL> |
1754 | |
6436
a2eb6f519855
Background now set by CSS, added doctype and charset.
diego
parents:
6393
diff
changeset
|
1755 No picture at all (just plain grey/green window): |
5105 | 1756 <UL> |
6974 | 1757 <LI>your file uses an unsupported video codec<BR> |
1758 Workaround: read the documentation and help us adding support for it</LI> | |
1759 <LI>auto-selected codec can't decode the file, try to select another using -vc | |
1760 or -vfm options</LI> | |
1761 <LI>you try to play DivX 3.x file with OpenDivX decoder or XviD (-vc odivx) | |
1762 - install Divx4Linux and recompile player</LI> | |
5105 | 1763 </UL> |
1764 | |
1748 | 1765 <P>Video-out problems:</P> |
1766 | |
1767 <P>First note: options -fs -vm and -zoom are just recommendations, not (yet) | |
6974 | 1768 supported by all drivers. So it isn't a bug if it doesn't work. |
1769 Only a few driver supports scaling/zooming, don't expect this from x11 or dga.</P> | |
1748 | 1770 |
1771 <P>OSD/sub flickering:<BR> | |
6974 | 1772 - x11 driver: sorry, it can't be fixed now<BR> |
1773 - xv driver: use -double option</P> | |
1748 | 1774 |
5105 | 1775 <P>Green image using mga_vid (-vo mga / -vo xmga):<BR> |
6974 | 1776 - mga_vid misdetected your card's RAM amount, reload it using mga_ram_size option</P> |
5105 | 1777 |
7365
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1778 |
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1779 |
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1780 <H1><A NAME="skin">Appendix D</A> - <A HREF="skin-en.html">MPlayer skin format</A></H1> |
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1781 |
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1782 |
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1783 |
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1784 <H1><A NAME="flame_wars">Appendix E</A> - <A HREF="users_against_developers.html">Developer Cries</A></H1> |
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1785 |
822923446b66
Removed authors and maintainers section, now in txt format.
diego
parents:
7363
diff
changeset
|
1786 |
1612 | 1787 </BODY> |
1788 </HTML> |