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