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 x265-download-http "https://bitbucket.org/multicoreware/x265/downloads/x265_&x265-version;.tar.gz">
|
---|
8 | <!ENTITY x265-download-ftp " ">
|
---|
9 | <!ENTITY x265-md5sum "192e54fa3068b594aa44ab2b703f071d">
|
---|
10 | <!ENTITY x265-size "1.2 MB">
|
---|
11 | <!ENTITY x265-buildsize "39 MB">
|
---|
12 | <!ENTITY x265-time "0.8 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="x265" xreflabel="x265-&x265-version;">
|
---|
16 | <?dbhtml filename="x265.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>x265-&x265-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="x265">
|
---|
26 | <primary sortas="a-x265">x265</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to x265</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>x265</application> package provides a library for encoding
|
---|
34 | video streams into the H.265/HEVC format.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs81_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&x265-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&x265-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &x265-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &x265-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &x265-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &x265-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 | <!--
|
---|
73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
74 | <itemizedlist spacing="compact">
|
---|
75 | <listitem>
|
---|
76 | <para>
|
---|
77 | Required patch:
|
---|
78 | <ulink url="&patch-root;/x265_&x265-version;-enable_static-1.patch"/>
|
---|
79 | </para>
|
---|
80 | </listitem>
|
---|
81 | </itemizedlist>
|
---|
82 | -->
|
---|
83 | <bridgehead renderas="sect3">x265 Dependencies</bridgehead>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
86 | <para role="required">
|
---|
87 | <xref linkend="cmake"/>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
91 | <para role="recommended">
|
---|
92 | <xref linkend="yasm"/>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
96 | <para role="optional">
|
---|
97 | <ulink url="http://oss.sgi.com/projects/libnuma/">numactl</ulink>
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <para condition="html" role="usernotes">User Notes:
|
---|
101 | <ulink url='&blfs-wiki;/x265'/>
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2 role="installation">
|
---|
107 | <title>Installation of x265</title>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | Install <application>x265</application> by running the following
|
---|
111 | commands:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <!-- The patch to change CMakeCache.txt changes with every version and
|
---|
115 | is complex. It is easier to just remove the static library after installation.
|
---|
116 |
|
---|
117 | patch -Np1 -i ../x265_&x265-version;-enable_static-1.patch &&
|
---|
118 |
|
---|
119 | -DENABLE_STATIC is set to ON by default, but we remove the stalib anyway.
|
---|
120 | -->
|
---|
121 |
|
---|
122 | <screen><userinput>mkdir bld &&
|
---|
123 | cd bld &&
|
---|
124 |
|
---|
125 | cmake -DCMAKE_INSTALL_PREFIX=/usr ../source &&
|
---|
126 | make</userinput></screen>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | This package does not come with a test suite.
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <para>
|
---|
133 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <screen role="root"><userinput>make install &&
|
---|
137 | rm /usr/lib/libx265.a </userinput></screen>
|
---|
138 |
|
---|
139 | </sect2>
|
---|
140 |
|
---|
141 | <sect2 role="commands">
|
---|
142 | <title>Command Explanations</title>
|
---|
143 |
|
---|
144 | <para>
|
---|
145 | <command>rm /usr/lib/libx265.a</command>: BLFS does not recommend
|
---|
146 | using static libraries.
|
---|
147 | </para>
|
---|
148 | </sect2>
|
---|
149 |
|
---|
150 | <sect2 role="content">
|
---|
151 | <title>Contents</title>
|
---|
152 |
|
---|
153 | <segmentedlist>
|
---|
154 | <segtitle>Installed Program</segtitle>
|
---|
155 | <segtitle>Installed Library</segtitle>
|
---|
156 | <segtitle>Installed Directories</segtitle>
|
---|
157 |
|
---|
158 | <seglistitem>
|
---|
159 | <seg>
|
---|
160 | x265
|
---|
161 | </seg>
|
---|
162 | <seg>
|
---|
163 | libx265.so
|
---|
164 | </seg>
|
---|
165 | <seg>
|
---|
166 | None
|
---|
167 | </seg>
|
---|
168 | </seglistitem>
|
---|
169 | </segmentedlist>
|
---|
170 |
|
---|
171 | <variablelist>
|
---|
172 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
173 | <?dbfo list-presentation="list"?>
|
---|
174 | <?dbhtml list-presentation="table"?>
|
---|
175 |
|
---|
176 | <varlistentry id="libx265">
|
---|
177 | <term><filename class="libraryfile">libx265.so</filename></term>
|
---|
178 | <listitem>
|
---|
179 | <para>
|
---|
180 | provides the functions used to encode video streams into the
|
---|
181 | H.265/HEVC format.
|
---|
182 | </para>
|
---|
183 | <indexterm zone="x265 libx265">
|
---|
184 | <primary sortas="c-libx265">libx265.so</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | </variablelist>
|
---|
190 |
|
---|
191 | </sect2>
|
---|
192 |
|
---|
193 | </sect1>
|
---|