source: multimedia/libdriv/x265.xml@ c82a9ca

trunk
Last change on this file since c82a9ca was 362cd58, checked in by Douglas R. Reno <renodr@…>, 3 weeks ago

Revert "Update to x265-4.0"

This reverts commit 4a9055b99518f74dbeaad32205cbcdab1e7011d4.

  • Property mode set to 100644
File size: 6.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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_git/downloads/x265_&x265-version;.tar.gz">
8 <!ENTITY x265-download-ftp " ">
9 <!ENTITY x265-md5sum "99997ecc8ee4d3575ba7715c759ad3bb">
10 <!ENTITY x265-size "1.6 MB">
11 <!ENTITY x265-buildsize "45 MB">
12 <!ENTITY x265-time "0.5 SBU (using parallelism=4)">
13]>
14
15<sect1 id="x265" xreflabel="x265-&x265-version;">
16 <?dbhtml filename="x265.html"?>
17
18
19 <title>x265-&x265-version;</title>
20
21 <indexterm zone="x265">
22 <primary sortas="a-x265">x265</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to x265</title>
27
28 <para>
29 <application>x265</application> package provides a library for encoding
30 video streams into the H.265/HEVC format.
31 </para>
32
33 &lfs122_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&x265-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&x265-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &x265-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &x265-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &x265-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &x265-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">x265 Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="cmake"/>
74 </para>
75
76 <bridgehead renderas="sect4">Recommended</bridgehead>
77 <para role="recommended">
78 <xref linkend="nasm"/>
79 </para>
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="optional">
83 <ulink url="https://github.com/numactl/numactl">numactl</ulink>
84 </para>
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of x265</title>
90
91 <para>
92 Install <application>x265</application> by running the following
93 commands:
94 </para>
95
96<!-- the default build is Release, no need to specify that -->
97<screen><userinput>mkdir bld &amp;&amp;
98cd bld &amp;&amp;
99
100cmake -D CMAKE_INSTALL_PREFIX=/usr \
101 -D GIT_ARCHETYPE=1 \
102 -W no-dev ../source &amp;&amp;
103make</userinput></screen>
104
105 <para>
106 This package does not come with a test suite.
107 </para>
108
109 <!-- To editors: hard coded versions "209", "212", and "3.6" are not a
110 bug. This <important> block should be removed when we update x265
111 to 3.7 (or 4.0 or whatever new version). The problem only happens
112 when we downgrade libx265.so, upgrading is OK (as long as following
113 the LFS package management page). -->
114 <important>
115 <para>
116 If downgrading from the bleeding-edge x265-20240812 (it had been
117 mistakenly used in the BLFS development book for several days),
118 remove the shared library from x265-20240812 as the &root; user:
119 </para>
120
121 <screen role='root'><userinput>rm -fv /usr/lib/libx265.so.212</userinput></screen>
122
123 <para>
124 This is for preventing <command>ldconfig</command> from recreating
125 the symlink <filename>libx265.so</filename> with the target
126 <filename>/usr/lib/libx265.so.212</filename> which seems to be
127 <quote>a newer version</quote> of <filename>libx265.so.209</filename>
128 from x265-3.6.
129 </para>
130 </important>
131
132 <para>
133 To install the package, first remove any old library versions.
134 After installation, remove a static library.
135 As the &root; user:
136 </para>
137
138<screen role="root"><userinput>make install &amp;&amp;
139rm -vf /usr/lib/libx265.a</userinput></screen>
140
141 </sect2>
142
143 <sect2 role="commands">
144 <title>Command Explanations</title>
145
146 <para>
147 <parameter>-W no-dev</parameter>: This switch is used to suppress warnings
148 intended for the package developers.
149 </para>
150
151 <para>
152 <parameter>-D GIT_ARCHETYPE=1</parameter>: This switch is needed
153 because the build system will not generate a pkg-config file or install
154 a shared library unless <xref linkend="git"/> is installed. Git isn't
155 required for anything else in this package, so this switch is used to
156 work around it for users who do not want to install Git as a build
157 dependency.
158 </para>
159
160 <para>
161 <command>rm -vf /usr/lib/libx265.a</command>: BLFS does not recommend
162 using static libraries.
163 </para>
164 </sect2>
165
166 <sect2 role="content">
167 <title>Contents</title>
168
169 <segmentedlist>
170 <segtitle>Installed Program</segtitle>
171 <segtitle>Installed Library</segtitle>
172 <segtitle>Installed Directories</segtitle>
173
174 <seglistitem>
175 <seg>
176 x265
177 </seg>
178 <seg>
179 libx265.so
180 </seg>
181 <seg>
182 None
183 </seg>
184 </seglistitem>
185 </segmentedlist>
186
187 <variablelist>
188 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
189 <?dbfo list-presentation="list"?>
190 <?dbhtml list-presentation="table"?>
191
192 <varlistentry id="libx265">
193 <term><filename class="libraryfile">libx265.so</filename></term>
194 <listitem>
195 <para>
196 provides the functions used to encode video streams into the
197 H.265/HEVC format
198 </para>
199 <indexterm zone="x265 libx265">
200 <primary sortas="c-libx265">libx265.so</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 </variablelist>
206
207 </sect2>
208
209</sect1>
Note: See TracBrowser for help on using the repository browser.