source: multimedia/libdriv/x265.xml@ c36ca685

12.2 lazarus trunk
Last change on this file since c36ca685 was 5efdd78, checked in by Bruce Dubbs <bdubbs@…>, 4 weeks ago

Tag qt6 and dependencies.

  • Property mode set to 100644
File size: 5.5 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 -W no-dev ../source &amp;&amp;
102make</userinput></screen>
103
104 <para>
105 This package does not come with a test suite.
106 </para>
107
108 <!-- To editors: hard coded versions "209", "212", and "3.6" are not a
109 bug. This <important> block should be removed when we update x265
110 to 3.7 (or 4.0 or whatever new version). The problem only happens
111 when we downgrade libx265.so, upgrading is OK (as long as following
112 the LFS package management page). -->
113 <important>
114 <para>
115 If downgrading from the bleeding-edge x265-20240812 (it had been
116 mistakenly used in the BLFS development book for several days),
117 remove the shared library from x265-20240812 as the &root; user:
118 </para>
119
120 <screen role='root'><userinput>rm -fv /usr/lib/libx265.so.212</userinput></screen>
121
122 <para>
123 This is for preventing <command>ldconfig</command> from recreating
124 the symlink <filename>libx265.so</filename> with the target
125 <filename>/usr/lib/libx265.so.212</filename> which seems to be
126 <quote>a newer version</quote> of <filename>libx265.so.209</filename>
127 from x265-3.6.
128 </para>
129 </important>
130
131 <para>
132 To install the package, first remove any old library versions.
133 After installation, remove a static library.
134 As the &root; user:
135 </para>
136
137<screen role="root"><userinput>make install &amp;&amp;
138rm -vf /usr/lib/libx265.a</userinput></screen>
139
140 </sect2>
141
142 <sect2 role="commands">
143 <title>Command Explanations</title>
144
145 <para>
146 <parameter>-W no-dev</parameter>: This switch is used to suppress warnings
147 intended for the package developers.
148 </para>
149
150 <para>
151 <command>rm -vf /usr/lib/libx265.a</command>: BLFS does not recommend
152 using static libraries.
153 </para>
154 </sect2>
155
156 <sect2 role="content">
157 <title>Contents</title>
158
159 <segmentedlist>
160 <segtitle>Installed Program</segtitle>
161 <segtitle>Installed Library</segtitle>
162 <segtitle>Installed Directories</segtitle>
163
164 <seglistitem>
165 <seg>
166 x265
167 </seg>
168 <seg>
169 libx265.so
170 </seg>
171 <seg>
172 None
173 </seg>
174 </seglistitem>
175 </segmentedlist>
176
177 <variablelist>
178 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
179 <?dbfo list-presentation="list"?>
180 <?dbhtml list-presentation="table"?>
181
182 <varlistentry id="libx265">
183 <term><filename class="libraryfile">libx265.so</filename></term>
184 <listitem>
185 <para>
186 provides the functions used to encode video streams into the
187 H.265/HEVC format
188 </para>
189 <indexterm zone="x265 libx265">
190 <primary sortas="c-libx265">libx265.so</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 </variablelist>
196
197 </sect2>
198
199</sect1>
Note: See TracBrowser for help on using the repository browser.