mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Fix transcode and libquicktime to build with ffmpeg-4. I remeasured transcode because of the new patch, and reduced the time and size - interestingly 75MB was an accurate measurement for enabling ALL of the optional deps that are actually in the book, but I can no longer see the point of anybody doing that.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20145 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
436860d04d
commit
12ebd0e4b0
@ -44,6 +44,12 @@
|
||||
<listitem>
|
||||
<para>May 13th, 2018</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[ken] - Fix building transcode and libquicktime with ffmpeg-4.0
|
||||
(new patches, extra switch in ffmpeg). Fixes
|
||||
<ulink url="&blfs-ticket-root;10735">#10735</ulink> and
|
||||
<ulink url="&blfs-ticket-root;10761">#10761</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[pierre] - fix building nasm with gcc-8.1. Report by
|
||||
Thanos Baloukas.</para>
|
||||
|
@ -80,7 +80,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Required patch:
|
||||
<ulink url="&patch-root;/libquicktime-&libquicktime-version;-ffmpeg3-1.patch"/>
|
||||
<ulink url="&patch-root;/libquicktime-&libquicktime-version;-ffmpeg4-1.patch"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
@ -118,7 +118,7 @@
|
||||
following commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../libquicktime-&libquicktime-version;-ffmpeg3-1.patch &&
|
||||
<screen><userinput>patch -Np1 -i ../libquicktime-&libquicktime-version;-ffmpeg4-1.patch &&
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--enable-gpl \
|
||||
|
@ -168,6 +168,7 @@
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-debug \
|
||||
--enable-avresample \
|
||||
--enable-libass \
|
||||
--enable-libfdk-aac \
|
||||
--enable-libfreetype \
|
||||
@ -338,6 +339,11 @@ grep ^TEST ../fate.log | wc -l</userinput></screen>
|
||||
symbols into the programs and libraries.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<parameter>--enable-avresample</parameter>: Enables
|
||||
<xref linkend="transcode"/> to be compiled.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<parameter>--enable-libass</parameter>: Enables ASS/SSA subtitle format
|
||||
rendering via <filename class="libraryfile">libass</filename>.
|
||||
|
@ -8,8 +8,8 @@
|
||||
<!ENTITY transcode-download-ftp "&gentoo-ftp-repo;/transcode-&transcode-version;.tar.bz2">
|
||||
<!ENTITY transcode-md5sum "9bb25a796a8591fb764de46ee87ce505">
|
||||
<!ENTITY transcode-size "2.1 MB">
|
||||
<!ENTITY transcode-buildsize "75 MB">
|
||||
<!ENTITY transcode-time "1.0 SBU">
|
||||
<!ENTITY transcode-buildsize "66 MB">
|
||||
<!ENTITY transcode-time "0.6 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="transcode" xreflabel="Transcode-&transcode-version;">
|
||||
@ -30,14 +30,28 @@
|
||||
<title>Introduction to Transcode</title>
|
||||
|
||||
<para>
|
||||
<application>Transcode</application> is a fast, versatile and
|
||||
command-line based audio/video everything to everything converter.
|
||||
<application>Transcode</application> was a fast, versatile and
|
||||
command-line based audio/video everything to everything converter
|
||||
primarily focussed on producing AVI video files with MP3 audio,
|
||||
but also including a program to read all the video and audio streams
|
||||
from a DVD.
|
||||
<!-- 403 Forbidden
|
||||
For a rundown of the features and capabilities, along with usage
|
||||
examples, visit the Transcode Wiki at
|
||||
<ulink url="http://www.transcoding.org/"/>.
|
||||
<ulink url="http://www.transcoding.org/"/>.-->
|
||||
</para>
|
||||
|
||||
&lfs82_checked;
|
||||
<para>
|
||||
Although outdated and no longer maintained, it can still be used to
|
||||
extract items from a DVD using only the required and recommended
|
||||
dependencies, or to recode to AVI files.
|
||||
</para>
|
||||
|
||||
<!--&lfs82_checked;--> <!-- Come on guys, it doesn't work properly -->
|
||||
<para>
|
||||
Subjects to the comments below, this package is known to build and
|
||||
minimally work using an LFS-8.2 platform.
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
@ -78,7 +92,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Required patch:
|
||||
<ulink url="&patch-root;/transcode-&transcode-version;-ffmpeg3-1.patch"/>
|
||||
<ulink url="&patch-root;/transcode-&transcode-version;-ffmpeg4-1.patch"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
@ -87,7 +101,7 @@
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="ffmpeg"/>
|
||||
<xref linkend="ffmpeg"/> (configured with --enable-avresample)
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
@ -103,7 +117,7 @@
|
||||
<para role="optional">
|
||||
<xref linkend="faac"/>,
|
||||
<xref linkend="freetype2"/>,
|
||||
<xref linkend="imagemagick"/>,
|
||||
<xref linkend="imagemagick6"/>,
|
||||
<xref linkend="liba52"/>,
|
||||
<xref linkend="libdv"/>,
|
||||
<xref linkend="libjpeg"/>,
|
||||
@ -121,6 +135,11 @@
|
||||
<ulink url="http://www.netlib.org/pvm3/">PVM3</ulink>,
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional (at runtime)</bridgehead>
|
||||
<para role="optional">
|
||||
<ulink url="https://sourceforge.net/projects/lsdvd/files/">lsdvd</ulink>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/transcode"/>
|
||||
</para>
|
||||
@ -148,14 +167,6 @@
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
If building with --enable-freetype2 configure switch, use the following
|
||||
<command>sed</command> to fix building against
|
||||
<application>FreeType-2.5.1</application> or newer versions:
|
||||
</para>
|
||||
|
||||
<screen><userinput>sed -i "s:#include <freetype/ftglyph.h>:#include FT_GLYPH_H:" filter/subtitler/load_font.c</userinput></screen>
|
||||
|
||||
<para>
|
||||
Install <application>Transcode</application> by running the following
|
||||
commands:
|
||||
@ -164,7 +175,7 @@
|
||||
<screen><userinput>sed -i 's|doc/transcode|&-$(PACKAGE_VERSION)|' \
|
||||
$(find . -name Makefile.in -exec grep -l 'docsdir =' {} \;) &&
|
||||
|
||||
patch -Np1 -i ../transcode-&transcode-version;-ffmpeg3-1.patch &&
|
||||
patch -Np1 -i ../transcode-&transcode-version;-ffmpeg4-1.patch &&
|
||||
./configure --prefix=/usr \
|
||||
--enable-alsa \
|
||||
--enable-libmpeg2 &&
|
||||
@ -189,11 +200,6 @@ make</userinput></screen>
|
||||
<command>sed -i ...</command>: Fixes install location for documentation.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>sed ... import/probe_ffmpeg.c</command>: This sed fixes
|
||||
compilation with <application>ffmpeg-2.4</application> or newer versions.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Support for most of the dependency packages requires using
|
||||
options passed to the <command>configure</command> script. View the
|
||||
@ -302,7 +308,9 @@ make</userinput></screen>
|
||||
<para>
|
||||
concatenates input files using the input plugins of
|
||||
<application>Transcode</application>. This is useful
|
||||
for extracting VOB (Video OBject) files.
|
||||
for extracting VOB (Video OBject) files, either for
|
||||
a whole DVD or for selected Titles or Chapters, which
|
||||
can then be played or recoded.
|
||||
</para>
|
||||
<indexterm zone="transcode tccat">
|
||||
<primary sortas="b-tccat">tccat</primary>
|
||||
|
Loading…
Reference in New Issue
Block a user