[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 " ">
|
---|
[01de26c] | 9 | <!ENTITY x265-md5sum "beac485c3eba41f6d330739937cb62c5">
|
---|
[9a856a0] | 10 | <!ENTITY x265-size "1.0 MB">
|
---|
| 11 | <!ENTITY x265-buildsize "37 MB">
|
---|
| 12 | <!ENTITY x265-time "0.5 SBU (using parallelism=4)">
|
---|
[aef261a] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="x265" xreflabel="x265-&x265-version;">
|
---|
| 16 | <?dbhtml filename="x265.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>x265-&x265-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="x265">
|
---|
| 25 | <primary sortas="a-x265">x265</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to x265</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | <application>x265</application> package provides a library for encoding
|
---|
| 33 | video streams into the H.265/HEVC format.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[9a856a0] | 36 | &lfs111_checked;
|
---|
[aef261a] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&x265-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&x265-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &x265-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &x265-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &x265-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &x265-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[e024fe4] | 71 |
|
---|
[aef261a] | 72 | <bridgehead renderas="sect3">x265 Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
| 76 | <xref linkend="cmake"/>
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 80 | <para role="recommended">
|
---|
[b20230b] | 81 | <xref linkend="nasm"/>
|
---|
[aef261a] | 82 | </para>
|
---|
| 83 |
|
---|
[3fa31b47] | 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 85 | <para role="optional">
|
---|
[27c8cca] | 86 | <ulink url="https://github.com/numactl/numactl">numactl</ulink>
|
---|
[3fa31b47] | 87 | </para>
|
---|
| 88 |
|
---|
[aef261a] | 89 | <para condition="html" role="usernotes">User Notes:
|
---|
| 90 | <ulink url='&blfs-wiki;/x265'/>
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of x265</title>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | Install <application>x265</application> by running the following
|
---|
| 100 | commands:
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
[f9bf7d4a] | 103 | <screen><userinput>mkdir bld &&
|
---|
[dccd96de] | 104 | cd bld &&
|
---|
[8e236eb] | 105 |
|
---|
[3f24c6c] | 106 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 107 | -DGIT_ARCHETYPE=1 ../source &&
|
---|
[aef261a] | 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | <para>
|
---|
| 111 | This package does not come with a test suite.
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <para>
|
---|
| 115 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
[f9bf7d4a] | 118 | <screen role="root"><userinput>make install &&
|
---|
[e024fe4] | 119 | rm -vf /usr/lib/libx265.a </userinput></screen>
|
---|
[f9bf7d4a] | 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
[aef261a] | 125 |
|
---|
[3f24c6c] | 126 | <para>
|
---|
| 127 | <command>-DGIT_ARCHETYPE=1</command>: Upstream no longer provides
|
---|
| 128 | releases. BLFS is using a git snapshot, but if the builder has not
|
---|
| 129 | installed <application>git</application> the build will not install
|
---|
| 130 | the shared library or the pkgconfig file without this switch.
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
[f9bf7d4a] | 133 | <para>
|
---|
[e024fe4] | 134 | <command>rm -vf /usr/lib/libx265.a</command>: BLFS does not recommend
|
---|
[8558044] | 135 | using static libraries.
|
---|
[f9bf7d4a] | 136 | </para>
|
---|
[aef261a] | 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
[d7015e7] | 143 | <segtitle>Installed Program</segtitle>
|
---|
[aef261a] | 144 | <segtitle>Installed Library</segtitle>
|
---|
[d7015e7] | 145 | <segtitle>Installed Directories</segtitle>
|
---|
[aef261a] | 146 |
|
---|
| 147 | <seglistitem>
|
---|
| 148 | <seg>
|
---|
| 149 | x265
|
---|
| 150 | </seg>
|
---|
| 151 | <seg>
|
---|
[d7015e7] | 152 | libx265.so
|
---|
| 153 | </seg>
|
---|
| 154 | <seg>
|
---|
| 155 | None
|
---|
[aef261a] | 156 | </seg>
|
---|
| 157 | </seglistitem>
|
---|
| 158 | </segmentedlist>
|
---|
| 159 |
|
---|
| 160 | <variablelist>
|
---|
| 161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 162 | <?dbfo list-presentation="list"?>
|
---|
| 163 | <?dbhtml list-presentation="table"?>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="libx265">
|
---|
| 166 | <term><filename class="libraryfile">libx265.so</filename></term>
|
---|
| 167 | <listitem>
|
---|
| 168 | <para>
|
---|
| 169 | provides the functions used to encode video streams into the
|
---|
[4c24eb0a] | 170 | H.265/HEVC format
|
---|
[aef261a] | 171 | </para>
|
---|
| 172 | <indexterm zone="x265 libx265">
|
---|
| 173 | <primary sortas="c-libx265">libx265.so</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | </variablelist>
|
---|
| 179 |
|
---|
| 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | </sect1>
|
---|