[7f2dfa0] | 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 |
|
---|
[62c0ce6] | 7 | <!ENTITY x264-download-http "&sources-anduin-http;/x264/x264-&x264-version;.tar.xz">
|
---|
[cda91c8] | 8 | <!ENTITY x264-download-ftp " ">
|
---|
[01de26c] | 9 | <!ENTITY x264-md5sum "00de56dd3983e474194b7f698a0b7be5">
|
---|
[d5a2d13] | 10 | <!ENTITY x264-size "668 KB">
|
---|
[9a856a0] | 11 | <!ENTITY x264-buildsize "11 MB">
|
---|
| 12 | <!ENTITY x264-time "0.2 SBU (Using parallelism=4)">
|
---|
[7f2dfa0] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="x264" xreflabel="x264-&x264-version;">
|
---|
| 16 | <?dbhtml filename="x264.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>x264-&x264-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="x264">
|
---|
| 25 | <primary sortas="a-x264">x264</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to x264</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | <application>x264</application> package provides a library for encoding
|
---|
| 33 | video streams into the H.264/MPEG-4 AVC format.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[9a856a0] | 36 | &lfs111_checked;
|
---|
[7f2dfa0] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&x264-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&x264-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &x264-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &x264-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &x264-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &x264-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">x264 Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 75 | <para role="recommended">
|
---|
[e9bb1a5] | 76 | <xref linkend="nasm"/>
|
---|
[7f2dfa0] | 77 | </para>
|
---|
| 78 |
|
---|
[ba84b99] | 79 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 80 | <para role="optional">
|
---|
| 81 | <ulink url="https://github.com/FFMS/ffms2">ffms2</ulink>,
|
---|
| 82 | <ulink url="https://github.com/gpac/gpac/releases/">gpac</ulink> or
|
---|
| 83 | <ulink url="https://github.com/l-smash/l-smash">liblsmash</ulink>
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
[7f2dfa0] | 86 | <para condition="html" role="usernotes">User Notes:
|
---|
| 87 | <ulink url='&blfs-wiki;/x264'/>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
| 93 | <title>Installation of x264</title>
|
---|
| 94 |
|
---|
| 95 | <para>
|
---|
| 96 | Install <application>x264</application> by running the following
|
---|
| 97 | commands:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 101 | --enable-shared \
|
---|
| 102 | --disable-cli &&
|
---|
| 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
[d1c51434] | 106 | This package does not come with a test suite.
|
---|
[7f2dfa0] | 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | <parameter>--disable-cli</parameter>: This switch disables building the
|
---|
| 122 | command-line encoder which is redundant since it requires FFmpeg for
|
---|
| 123 | most of the input formats.
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | <option>--disable-asm</option>: Use this switch if you didn't install
|
---|
[e9bb1a5] | 128 | NASM.
|
---|
[7f2dfa0] | 129 | </para>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
| 135 |
|
---|
| 136 | <segmentedlist>
|
---|
| 137 | <segtitle>Installed Programs</segtitle>
|
---|
| 138 | <segtitle>Installed Library</segtitle>
|
---|
| 139 | <segtitle>Installed Directory</segtitle>
|
---|
| 140 |
|
---|
| 141 | <seglistitem>
|
---|
| 142 | <seg>
|
---|
| 143 | None
|
---|
| 144 | </seg>
|
---|
| 145 | <seg>
|
---|
| 146 | libx264.so
|
---|
| 147 | </seg>
|
---|
| 148 | <seg>
|
---|
| 149 | None
|
---|
| 150 | </seg>
|
---|
| 151 | </seglistitem>
|
---|
| 152 | </segmentedlist>
|
---|
| 153 |
|
---|
| 154 | <variablelist>
|
---|
| 155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 156 | <?dbfo list-presentation="list"?>
|
---|
| 157 | <?dbhtml list-presentation="table"?>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="libx264">
|
---|
| 160 | <term><filename class="libraryfile">libx264.so</filename></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>
|
---|
| 163 | provides the functions used to encode video streams into the
|
---|
[4c24eb0a] | 164 | H.264/MPEG-4 AVC format
|
---|
[7f2dfa0] | 165 | </para>
|
---|
| 166 | <indexterm zone="x264 libx264">
|
---|
| 167 | <primary sortas="c-libx264">libx264.so</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | </variablelist>
|
---|
| 173 |
|
---|
| 174 | </sect2>
|
---|
| 175 |
|
---|
| 176 | </sect1>
|
---|