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