1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 |
|
---|
8 | <!ENTITY mpv-download-http "https://github.com/mpv-player/mpv/archive/refs/tags/v&mpv-version;/mpv-&mpv-version;.tar.gz">
|
---|
9 | <!ENTITY mpv-download-ftp " ">
|
---|
10 | <!ENTITY mpv-md5sum "3ac8bb1fec1c09293a574e615446bb3b">
|
---|
11 | <!ENTITY mpv-size "3.3 MB">
|
---|
12 | <!ENTITY mpv-buildsize "38 MB">
|
---|
13 | <!ENTITY mpv-time "0.4 SBU (Using parallelism=4)">
|
---|
14 |
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="mpv" xreflabel="mpv-&mpv-version;">
|
---|
18 | <?dbhtml filename="mpv.html"?>
|
---|
19 |
|
---|
20 |
|
---|
21 | <title>mpv-&mpv-version;</title>
|
---|
22 |
|
---|
23 | <indexterm zone="mpv">
|
---|
24 | <primary sortas="a-mpv">mpv</primary>
|
---|
25 | </indexterm>
|
---|
26 |
|
---|
27 | <sect2 role="package">
|
---|
28 | <title>Introduction to mpv</title>
|
---|
29 |
|
---|
30 | <para>
|
---|
31 | <application>mpv</application> mpv is a free media player for the
|
---|
32 | command line. It supports a wide variety of media file formats,
|
---|
33 | audio and video codecs, and subtitle types.
|
---|
34 | </para>
|
---|
35 |
|
---|
36 | &lfs120_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>
|
---|
42 | Download (HTTP): <ulink url="&mpv-download-http;"/>
|
---|
43 | </para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (FTP): <ulink url="&mpv-download-ftp;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download MD5 sum: &mpv-md5sum;
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download size: &mpv-size;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Estimated disk space required: &mpv-buildsize;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated build time: &mpv-time;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | </itemizedlist>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect3">mpv Dependencies</bridgehead>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
75 | <para role="required">
|
---|
76 | <xref linkend="mesa"/>,
|
---|
77 | <xref linkend="ffmpeg"/>,
|
---|
78 | <xref linkend="alsa"/>,
|
---|
79 | <xref linkend="pulseaudio"/> and
|
---|
80 | <xref linkend="libass"/>
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
84 | <para role="recommended">
|
---|
85 | <!--<xref linkend="ffmpeg"/>,-->
|
---|
86 | <xref linkend="lua52"/>,
|
---|
87 | <xref linkend="libjpeg"/>,
|
---|
88 | <xref linkend="uchardet"/> and
|
---|
89 | <xref linkend="libva"/>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">Optional Input Drivers and Libraries</bridgehead>
|
---|
93 | <para role="optional">
|
---|
94 | <xref linkend="libdvdread"/>,
|
---|
95 | <xref linkend="libdvdnav"/>,
|
---|
96 | <xref linkend="libdvdcss"/>,
|
---|
97 | <ulink url="https://www.videolan.org/developers/libbluray.html">libbluray</ulink>,
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <bridgehead renderas="sect4">Optional Audio Output Drivers and Libraries</bridgehead>
|
---|
101 | <para role="optional">
|
---|
102 | <xref linkend="sdl2"/>,
|
---|
103 | <ulink url="https://jackaudio.org/">JACK</ulink>,
|
---|
104 | <ulink url="https://openal.org/">OpenAL</ulink>
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <bridgehead renderas="sect4">Optional Video Output Drivers and Libraries</bridgehead>
|
---|
108 | <para role="optional">
|
---|
109 | <ulink url="https://github.com/cacalabs/libcaca">libcaca</ulink>, and
|
---|
110 | <ulink url="https://www.svgalib.org/">SVGAlib</ulink>
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | </sect2>
|
---|
114 |
|
---|
115 | <sect2 role="installation">
|
---|
116 | <title>Installation of mpv</title>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Install <application>mpv</application> by running the following
|
---|
120 | commands:
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <screen><userinput>mkdir build &&
|
---|
124 | cd build &&
|
---|
125 |
|
---|
126 | meson setup --prefix=/usr \
|
---|
127 | --buildtype=release \
|
---|
128 | .. &&
|
---|
129 | ninja</userinput></screen>
|
---|
130 |
|
---|
131 |
|
---|
132 | <para>
|
---|
133 | This package does not come with a test suite.
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
141 |
|
---|
142 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
143 | href="../../xincludes/update-icons-and-desktop.xml"/>
|
---|
144 |
|
---|
145 |
|
---|
146 | </sect2>
|
---|
147 |
|
---|
148 | <sect2 role="commands">
|
---|
149 | <title>Command Explanations</title>
|
---|
150 |
|
---|
151 | <para>
|
---|
152 | <command>-Ddvdnav=enabled</command>: support DVD playing.
|
---|
153 | </para>
|
---|
154 |
|
---|
155 |
|
---|
156 | </sect2>
|
---|
157 |
|
---|
158 | <sect2 role="configuration">
|
---|
159 | <title>Configuring mpv</title>
|
---|
160 |
|
---|
161 | <sect3 id="mpv-config">
|
---|
162 | <title>Config Files</title>
|
---|
163 |
|
---|
164 | <para>
|
---|
165 | <filename>/etc/mpv/*</filename> and
|
---|
166 | <filename>~/.config/mpv/*</filename>
|
---|
167 | </para>
|
---|
168 |
|
---|
169 | </sect3>
|
---|
170 |
|
---|
171 | </sect2>
|
---|
172 |
|
---|
173 | <sect2 role="content">
|
---|
174 | <title>Contents</title>
|
---|
175 |
|
---|
176 | <segmentedlist>
|
---|
177 | <segtitle>Installed Programs</segtitle>
|
---|
178 | <segtitle>Installed Libraries</segtitle>
|
---|
179 | <segtitle>Installed Directories</segtitle>
|
---|
180 |
|
---|
181 | <seglistitem>
|
---|
182 | <seg>
|
---|
183 | mpv
|
---|
184 | </seg>
|
---|
185 | <seg>
|
---|
186 | None
|
---|
187 | </seg>
|
---|
188 | <seg>
|
---|
189 | /etc/mpv and
|
---|
190 | /usr/share/doc/mpv
|
---|
191 | </seg>
|
---|
192 | </seglistitem>
|
---|
193 | </segmentedlist>
|
---|
194 |
|
---|
195 | <variablelist>
|
---|
196 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
197 | <?dbfo list-presentation="list"?>
|
---|
198 | <?dbhtml list-presentation="table"?>
|
---|
199 |
|
---|
200 | <varlistentry id="mpv-prog">
|
---|
201 | <term><command>mpv</command></term>
|
---|
202 | <listitem>
|
---|
203 | <para>
|
---|
204 | is the mpv video player
|
---|
205 | </para>
|
---|
206 | <indexterm zone="mpv mpv-prog">
|
---|
207 | <primary sortas="b-mpv">mpv</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | </variablelist>
|
---|
213 |
|
---|
214 | </sect2>
|
---|
215 |
|
---|
216 | </sect1>
|
---|