mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
730a181021
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17010 af4574ff-66df-0310-9fd7-8a98e5e911e0
178 lines
4.5 KiB
XML
178 lines
4.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY x264-download-http "http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-&x264-version;-stable.tar.bz2 ">
|
|
<!ENTITY x264-download-ftp " ">
|
|
<!ENTITY x264-md5sum "3373ea03b92ad51bdbb933f3d53205ad">
|
|
<!ENTITY x264-size "709 KB">
|
|
<!ENTITY x264-buildsize "9.8 MB">
|
|
<!ENTITY x264-time "0.2 SBU">
|
|
]>
|
|
|
|
<sect1 id="x264" xreflabel="x264-&x264-version;">
|
|
<?dbhtml filename="x264.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>x264-&x264-version;</title>
|
|
|
|
<indexterm zone="x264">
|
|
<primary sortas="a-x264">x264</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to x264</title>
|
|
|
|
<para>
|
|
<application>x264</application> package provides a library for encoding
|
|
video streams into the H.264/MPEG-4 AVC format.
|
|
</para>
|
|
|
|
&lfs79_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&x264-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&x264-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &x264-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &x264-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &x264-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &x264-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">x264 Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="yasm"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<ulink url="https://github.com/FFMS/ffms2">ffms2</ulink>,
|
|
<ulink url="https://github.com/gpac/gpac/releases/">gpac</ulink> or
|
|
<ulink url="https://github.com/l-smash/l-smash">liblsmash</ulink>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url='&blfs-wiki;/x264'/>
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of x264</title>
|
|
|
|
<para>
|
|
Install <application>x264</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
--enable-shared \
|
|
--disable-cli &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
This package does not come with a test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<parameter>--disable-cli</parameter>: This switch disables building the
|
|
command-line encoder which is redundant since it requires FFmpeg for
|
|
most of the input formats.
|
|
</para>
|
|
|
|
<para>
|
|
<option>--disable-asm</option>: Use this switch if you didn't install
|
|
yasm.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
libx264.so
|
|
</seg>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libx264">
|
|
<term><filename class="libraryfile">libx264.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
provides the functions used to encode video streams into the
|
|
H.264/MPEG-4 AVC format.
|
|
</para>
|
|
<indexterm zone="x264 libx264">
|
|
<primary sortas="c-libx264">libx264.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|