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 | <!ENTITY x264-download-http "&sources-anduin-http;/x264/x264-&x264-version;.tar.xz">
|
---|
8 | <!ENTITY x264-download-ftp " ">
|
---|
9 | <!ENTITY x264-md5sum "ddf3bfda70980b22ff8b9248b92929c7">
|
---|
10 | <!ENTITY x264-size "668 KB">
|
---|
11 | <!ENTITY x264-buildsize "14 MB">
|
---|
12 | <!ENTITY x264-time "0.2 SBU (Using parallelism=4)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="x264" xreflabel="x264-&x264-version;">
|
---|
16 | <?dbhtml filename="x264.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>x264-&x264-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="x264">
|
---|
26 | <primary sortas="a-x264">x264</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to x264</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>x264</application> package provides a library for encoding
|
---|
34 | video streams into the H.264/MPEG-4 AVC format.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs10_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&x264-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&x264-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &x264-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &x264-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &x264-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &x264-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">x264 Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
76 | <para role="recommended">
|
---|
77 | <xref linkend="nasm"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
81 | <para role="optional">
|
---|
82 | <ulink url="https://github.com/FFMS/ffms2">ffms2</ulink>,
|
---|
83 | <ulink url="https://github.com/gpac/gpac/releases/">gpac</ulink> or
|
---|
84 | <ulink url="https://github.com/l-smash/l-smash">liblsmash</ulink>
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <para condition="html" role="usernotes">User Notes:
|
---|
88 | <ulink url='&blfs-wiki;/x264'/>
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2 role="installation">
|
---|
94 | <title>Installation of x264</title>
|
---|
95 |
|
---|
96 | <para>
|
---|
97 | Install <application>x264</application> by running the following
|
---|
98 | commands:
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <screen><userinput>./configure --prefix=/usr \
|
---|
102 | --enable-shared \
|
---|
103 | --disable-cli &&
|
---|
104 | make</userinput></screen>
|
---|
105 |
|
---|
106 | <para>
|
---|
107 | This package does not come with a test suite.
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="commands">
|
---|
119 | <title>Command Explanations</title>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | <parameter>--disable-cli</parameter>: This switch disables building the
|
---|
123 | command-line encoder which is redundant since it requires FFmpeg for
|
---|
124 | most of the input formats.
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <para>
|
---|
128 | <option>--disable-asm</option>: Use this switch if you didn't install
|
---|
129 | NASM.
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | </sect2>
|
---|
133 |
|
---|
134 | <sect2 role="content">
|
---|
135 | <title>Contents</title>
|
---|
136 |
|
---|
137 | <segmentedlist>
|
---|
138 | <segtitle>Installed Programs</segtitle>
|
---|
139 | <segtitle>Installed Library</segtitle>
|
---|
140 | <segtitle>Installed Directory</segtitle>
|
---|
141 |
|
---|
142 | <seglistitem>
|
---|
143 | <seg>
|
---|
144 | None
|
---|
145 | </seg>
|
---|
146 | <seg>
|
---|
147 | libx264.so
|
---|
148 | </seg>
|
---|
149 | <seg>
|
---|
150 | None
|
---|
151 | </seg>
|
---|
152 | </seglistitem>
|
---|
153 | </segmentedlist>
|
---|
154 |
|
---|
155 | <variablelist>
|
---|
156 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
157 | <?dbfo list-presentation="list"?>
|
---|
158 | <?dbhtml list-presentation="table"?>
|
---|
159 |
|
---|
160 | <varlistentry id="libx264">
|
---|
161 | <term><filename class="libraryfile">libx264.so</filename></term>
|
---|
162 | <listitem>
|
---|
163 | <para>
|
---|
164 | provides the functions used to encode video streams into the
|
---|
165 | H.264/MPEG-4 AVC format.
|
---|
166 | </para>
|
---|
167 | <indexterm zone="x264 libx264">
|
---|
168 | <primary sortas="c-libx264">libx264.so</primary>
|
---|
169 | </indexterm>
|
---|
170 | </listitem>
|
---|
171 | </varlistentry>
|
---|
172 |
|
---|
173 | </variablelist>
|
---|
174 |
|
---|
175 | </sect2>
|
---|
176 |
|
---|
177 | </sect1>
|
---|