mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Add libaom to the book in support of libavif.
Tested with VLC, Parole, and ffmpeg.
This commit is contained in:
parent
b09cdc5f29
commit
f6503c7331
@ -38,6 +38,16 @@
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
-->
|
||||
<listitem>
|
||||
<para>April 20th, 2023</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[renodr] - Add libaom in support of libavif. Fixes
|
||||
<ulink url="&blfs-ticket-root;17953">#17953</ulink>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>April 19th, 2023</para>
|
||||
<itemizedlist>
|
||||
|
@ -97,6 +97,7 @@
|
||||
<xref linkend="gtk3"/> (for examples),
|
||||
<xref linkend="gst10-plugins-good"/> (for one test),
|
||||
<xref linkend="lcms2"/>,
|
||||
<xref linkend="libaom"/>,
|
||||
<xref linkend="libass"/>,
|
||||
<xref linkend="libexif"/> (for one test),
|
||||
<xref linkend="librsvg"/>,
|
||||
@ -121,7 +122,7 @@
|
||||
compiled with wayland support),
|
||||
<xref linkend="wpebackend-fdo"/>,
|
||||
<xref linkend="x265"/>,
|
||||
<ulink url="https://aomedia.googlesource.com/aom/">aom</ulink>,
|
||||
<!--<ulink url="https://aomedia.googlesource.com/aom/">aom</ulink>,-->
|
||||
<ulink url="https://bs2b.sourceforge.net/">bs2b</ulink>,
|
||||
<ulink url="https://acoustid.org/chromaprint">Chromaprint</ulink>,
|
||||
<ulink url="https://github.com/kornelski/dssim">dssim</ulink>,
|
||||
|
182
multimedia/libdriv/libaom.xml
Normal file
182
multimedia/libdriv/libaom.xml
Normal file
@ -0,0 +1,182 @@
|
||||
<?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 libaom-download-http "https://storage.googleapis.com/aom-releases/libaom-&libaom-version;.tar.gz">
|
||||
<!ENTITY libaom-download-ftp " ">
|
||||
<!ENTITY libaom-md5sum "04a7eb2ac14a0a5e259d03c1f7c9ab8c">
|
||||
<!ENTITY libaom-size "123 MB">
|
||||
<!ENTITY libaom-buildsize "123 MB (add 969 MB for tests)">
|
||||
<!ENTITY libaom-time "1.0 SBU (with parallelism=4, add 136 SBU for tests)">
|
||||
|
||||
]>
|
||||
|
||||
<sect1 id="libaom" xreflabel="libaom-&libaom-version;">
|
||||
<?dbhtml filename="libaom.html"?>
|
||||
|
||||
<title>libaom-&libaom-version;</title>
|
||||
|
||||
<indexterm zone="libaom">
|
||||
<primary sortas="a-libaom">libaom</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to libaom</title>
|
||||
|
||||
<para>
|
||||
The <application>libaom</application> package contains a reference
|
||||
version of the Alliance for Open Media video codec. This codec is a
|
||||
patent free alternative to H.265, and is starting to be used throughout
|
||||
the internet.
|
||||
</para>
|
||||
|
||||
&lfs113_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&libaom-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&libaom-download-ftp;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download MD5 sum: &libaom-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download size: &libaom-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated disk space required: &libaom-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated build time: &libaom-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">libaom Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended">
|
||||
<xref linkend="nasm"/> or
|
||||
<xref linkend="yasm"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="doxygen"/>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/libaom"/>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of libaom</title>
|
||||
|
||||
<para>
|
||||
Install <application>libaom</application> by running the following
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>mkdir aom-build &&
|
||||
cd aom-build &&
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_SHARED_LIBS=1 \
|
||||
-DENABLE_DOCS=no \
|
||||
-G Ninja .. &&
|
||||
ninja</userinput></screen>
|
||||
|
||||
<para>
|
||||
To test the results, issue: <command>ninja runtests</command>. Note that
|
||||
the tests take an extremely long time to run.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>ninja install &&
|
||||
rm -v /usr/lib/libaom.a</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<parameter>-DBUILD_SHARED_LIBS=1</parameter>: This switch builds shared
|
||||
versions of the libraries.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<parameter>-DENABLE_DOCS=no</parameter>: This switch disables building
|
||||
the documentation because it fails due to an incompatibilty with the
|
||||
latest version of <xref role="nodep" linkend="doxygen"/>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<option>-DENABLE_NASM=yes</option>: Use this switch if you have
|
||||
<xref role="nodep" linkend="nasm"/> installed and wish to use it instead
|
||||
of yasm.
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
None
|
||||
</seg>
|
||||
<seg>
|
||||
libaom.so
|
||||
</seg>
|
||||
<seg>
|
||||
/usr/include/aom
|
||||
</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="libaom-lib">
|
||||
<term><filename class="libraryfile">libaom.so</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
contains functions that provide a reference implementation of the
|
||||
AV1 codec
|
||||
</para>
|
||||
<indexterm zone="libaom libaom-lib">
|
||||
<primary sortas="c-libaom">libaom.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</sect2>
|
||||
</sect1>
|
@ -42,6 +42,7 @@
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="id3lib.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="liba52.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libao.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libaom.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libass.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcanberra.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libcddb.xml"/>
|
||||
|
@ -87,6 +87,7 @@
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended">
|
||||
<xref linkend="libaom"/>,
|
||||
<xref linkend="libass"/>,
|
||||
<xref linkend="fdk-aac"/>,
|
||||
<xref linkend="freetype2"/>,
|
||||
@ -193,6 +194,7 @@
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-debug \
|
||||
--enable-libaom \
|
||||
--enable-libass \
|
||||
--enable-libfdk-aac \
|
||||
--enable-libfreetype \
|
||||
@ -379,6 +381,11 @@ grep ^TEST ../fate.log | wc -l</userinput></screen>
|
||||
</para>
|
||||
-->
|
||||
|
||||
<para>
|
||||
<parameter>--enable-libaom</parameter>: Enables AV1 audio and video
|
||||
decoding via <filename class="libraryfile">libaom</filename>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<parameter>--enable-libass</parameter>: Enables ASS/SSA subtitle format
|
||||
rendering via <filename class="libraryfile">libass</filename>.
|
||||
|
@ -129,6 +129,7 @@
|
||||
<para role="optional">
|
||||
<xref linkend="faad2"/>,
|
||||
<xref linkend="flac"/>,
|
||||
<xref linkend="libaom"/>,
|
||||
<xref linkend="libass"/>,
|
||||
<xref linkend="libmpeg2"/>,
|
||||
<xref linkend="libpng"/>,
|
||||
@ -139,7 +140,7 @@
|
||||
<xref linkend="speex"/>,
|
||||
<xref linkend="libvpx"/>,
|
||||
<xref linkend="x264"/>,
|
||||
<ulink url="https://aomedia.googlesource.com/aom/">aom</ulink>,
|
||||
<!--<ulink url="https://aomedia.googlesource.com/aom/">aom</ulink>,-->
|
||||
<ulink url="https://github.com/nkoriyama/aribb24">aribb24</ulink>,
|
||||
<ulink url="https://code.videolan.org/videolan/dav1d">dav1d</ulink>,
|
||||
<ulink url="https://sourceforge.net/projects/dirac/">Dirac</ulink>,
|
||||
|
@ -1020,6 +1020,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
|
||||
<!ENTITY id3lib-version "3.8.3">
|
||||
<!ENTITY liba52-version "0.7.4">
|
||||
<!ENTITY libao-version "1.2.0">
|
||||
<!ENTITY libaom-version "3.6.0">
|
||||
<!ENTITY libass-version "0.17.1">
|
||||
<!ENTITY libcanberra-version "0.30">
|
||||
<!ENTITY libcddb-version "1.3.2">
|
||||
|
Loading…
Reference in New Issue
Block a user