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