[aef261a] | 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 |
|
---|
[9a856a0] | 7 | <!ENTITY x265-download-http "&sources-anduin-http;/x265/x265-&x265-version;.tar.xz">
|
---|
[aef261a] | 8 | <!ENTITY x265-download-ftp " ">
|
---|
[6293999] | 9 | <!ENTITY x265-md5sum "e735837f5e3fa95889e0a72eca39fccf">
|
---|
[9a856a0] | 10 | <!ENTITY x265-size "1.0 MB">
|
---|
[6293999] | 11 | <!ENTITY x265-buildsize "52 MB">
|
---|
| 12 | <!ENTITY x265-time "0.9 SBU (using parallelism=4)">
|
---|
[aef261a] | 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 |
|
---|
[332bad2a] | 33 | &lfs120_checked;
|
---|
[aef261a] | 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>
|
---|
[e024fe4] | 68 |
|
---|
[aef261a] | 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">
|
---|
[b20230b] | 78 | <xref linkend="nasm"/>
|
---|
[aef261a] | 79 | </para>
|
---|
| 80 |
|
---|
[3fa31b47] | 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
[27c8cca] | 83 | <ulink url="https://github.com/numactl/numactl">numactl</ulink>
|
---|
[3fa31b47] | 84 | </para>
|
---|
| 85 |
|
---|
[aef261a] | 86 |
|
---|
| 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="installation">
|
---|
| 90 | <title>Installation of x265</title>
|
---|
| 91 |
|
---|
| 92 | <para>
|
---|
| 93 | Install <application>x265</application> by running the following
|
---|
| 94 | commands:
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
[6293999] | 97 | <!-- the default build is Release, no need to specify that -->
|
---|
[f9bf7d4a] | 98 | <screen><userinput>mkdir bld &&
|
---|
[dccd96de] | 99 | cd bld &&
|
---|
[8e236eb] | 100 |
|
---|
[3f24c6c] | 101 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
[6293999] | 102 | -DGIT_ARCHETYPE=1 \
|
---|
| 103 | -Wno-dev ../source &&
|
---|
[aef261a] | 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 |
|
---|
[f9bf7d4a] | 114 | <screen role="root"><userinput>make install &&
|
---|
[e024fe4] | 115 | rm -vf /usr/lib/libx265.a </userinput></screen>
|
---|
[f9bf7d4a] | 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
[aef261a] | 121 |
|
---|
[3f24c6c] | 122 | <para>
|
---|
[6293999] | 123 | <parameter>-DGIT_ARCHETYPE=1</parameter>: Upstream no longer provides
|
---|
[3f24c6c] | 124 | releases. BLFS is using a git snapshot, but if the builder has not
|
---|
| 125 | installed <application>git</application> the build will not install
|
---|
| 126 | the shared library or the pkgconfig file without this switch.
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
[f9bf7d4a] | 129 | <para>
|
---|
[6293999] | 130 | <parameter>-Wno-dev</parameter>: This switch is used to suppress warnings
|
---|
| 131 | intended for the package's developers.
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | <parameter>rm -vf /usr/lib/libx265.a</parameter>: BLFS does not recommend
|
---|
[8558044] | 136 | using static libraries.
|
---|
[f9bf7d4a] | 137 | </para>
|
---|
[aef261a] | 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <sect2 role="content">
|
---|
| 141 | <title>Contents</title>
|
---|
| 142 |
|
---|
| 143 | <segmentedlist>
|
---|
[d7015e7] | 144 | <segtitle>Installed Program</segtitle>
|
---|
[aef261a] | 145 | <segtitle>Installed Library</segtitle>
|
---|
[d7015e7] | 146 | <segtitle>Installed Directories</segtitle>
|
---|
[aef261a] | 147 |
|
---|
| 148 | <seglistitem>
|
---|
| 149 | <seg>
|
---|
| 150 | x265
|
---|
| 151 | </seg>
|
---|
| 152 | <seg>
|
---|
[d7015e7] | 153 | libx265.so
|
---|
| 154 | </seg>
|
---|
| 155 | <seg>
|
---|
| 156 | None
|
---|
[aef261a] | 157 | </seg>
|
---|
| 158 | </seglistitem>
|
---|
| 159 | </segmentedlist>
|
---|
| 160 |
|
---|
| 161 | <variablelist>
|
---|
| 162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 163 | <?dbfo list-presentation="list"?>
|
---|
| 164 | <?dbhtml list-presentation="table"?>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="libx265">
|
---|
| 167 | <term><filename class="libraryfile">libx265.so</filename></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>
|
---|
| 170 | provides the functions used to encode video streams into the
|
---|
[4c24eb0a] | 171 | H.265/HEVC format
|
---|
[aef261a] | 172 | </para>
|
---|
| 173 | <indexterm zone="x265 libx265">
|
---|
| 174 | <primary sortas="c-libx265">libx265.so</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | </variablelist>
|
---|
| 180 |
|
---|
| 181 | </sect2>
|
---|
| 182 |
|
---|
| 183 | </sect1>
|
---|