Author: ken
Date: Sun May 13 19:34:13 2018
New Revision: 20145
Log:
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.
Modified:
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/multimedia/libdriv/libquicktime.xml
trunk/BOOK/multimedia/videoutils/ffmpeg.xml
trunk/BOOK/multimedia/videoutils/transcode.xml
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Sun May 13 10:52:20
2018 (r20144)
+++ trunk/BOOK/introduction/welcome/changelog.xml Sun May 13 19:34:13
2018 (r20145)
@@ -45,6 +45,12 @@
<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>
</listitem>
Modified: trunk/BOOK/multimedia/libdriv/libquicktime.xml
==============================================================================
--- trunk/BOOK/multimedia/libdriv/libquicktime.xml Sun May 13 10:52:20
2018 (r20144)
+++ trunk/BOOK/multimedia/libdriv/libquicktime.xml Sun May 13 19:34:13
2018 (r20145)
@@ -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 \
Modified: trunk/BOOK/multimedia/videoutils/ffmpeg.xml
==============================================================================
--- trunk/BOOK/multimedia/videoutils/ffmpeg.xml Sun May 13 10:52:20 2018
(r20144)
+++ trunk/BOOK/multimedia/videoutils/ffmpeg.xml Sun May 13 19:34:13 2018
(r20145)
@@ -168,6 +168,7 @@
--disable-static \
--enable-shared \
--disable-debug \
+ --enable-avresample \
--enable-libass \
--enable-libfdk-aac \
--enable-libfreetype \
@@ -339,6 +340,11 @@
</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>.
</para>
Modified: trunk/BOOK/multimedia/videoutils/transcode.xml
==============================================================================
--- trunk/BOOK/multimedia/videoutils/transcode.xml Sun May 13 10:52:20
2018 (r20144)
+++ trunk/BOOK/multimedia/videoutils/transcode.xml Sun May 13 19:34:13
2018 (r20145)
@@ -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>
@@ -149,14 +168,6 @@
</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:
</para>
@@ -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 &&
@@ -190,11 +201,6 @@
</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
<filename>INSTALL</filename> file and the output from
@@ -302,7 +308,9 @@
<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>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page