Changeset 12ebd0e


Ignore:
Timestamp:
05/14/2018 02:34:13 AM (3 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, ken/refactor-virt, lazarus, perl-modules, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
24fd742
Parents:
436860d
Message:

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r436860d r12ebd0e  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[ken] - Fix building transcode and libquicktime with ffmpeg-4.0
     49          (new patches, extra switch in ffmpeg). Fixes
     50          <ulink url="&blfs-ticket-root;10735">#10735</ulink> and
     51          <ulink url="&blfs-ticket-root;10761">#10761</ulink>.</para>
     52        </listitem>
     53        <listitem>
    4854          <para>[pierre] - fix building nasm with gcc-8.1. Report by
    4955          Thanos Baloukas.</para>
  • multimedia/libdriv/libquicktime.xml

    r436860d r12ebd0e  
    8181        <para>
    8282          Required patch:
    83           <ulink url="&patch-root;/libquicktime-&libquicktime-version;-ffmpeg3-1.patch"/>
     83          <ulink url="&patch-root;/libquicktime-&libquicktime-version;-ffmpeg4-1.patch"/>
    8484        </para>
    8585      </listitem>
     
    119119    </para>
    120120
    121 <screen><userinput>patch -Np1 -i ../libquicktime-&libquicktime-version;-ffmpeg3-1.patch &amp;&amp;
     121<screen><userinput>patch -Np1 -i ../libquicktime-&libquicktime-version;-ffmpeg4-1.patch &amp;&amp;
    122122
    123123./configure --prefix=/usr     \
  • multimedia/videoutils/ffmpeg.xml

    r436860d r12ebd0e  
    169169            --enable-shared      \
    170170            --disable-debug      \
     171            --enable-avresample  \
    171172            --enable-libass      \
    172173            --enable-libfdk-aac  \
     
    337338      <parameter>--disable-debug</parameter>: Disables building debugging
    338339      symbols into the programs and libraries.
     340    </para>
     341
     342    <para>
     343      <parameter>--enable-avresample</parameter>: Enables
     344      <xref linkend="transcode"/> to be compiled.
    339345    </para>
    340346
  • multimedia/videoutils/transcode.xml

    r436860d r12ebd0e  
    99  <!ENTITY transcode-md5sum        "9bb25a796a8591fb764de46ee87ce505">
    1010  <!ENTITY transcode-size          "2.1 MB">
    11   <!ENTITY transcode-buildsize     "75 MB">
    12   <!ENTITY transcode-time          "1.0 SBU">
     11  <!ENTITY transcode-buildsize     "66 MB">
     12  <!ENTITY transcode-time          "0.6 SBU">
    1313]>
    1414
     
    3131
    3232    <para>
    33       <application>Transcode</application> is a fast, versatile and
    34       command-line based audio/video everything to everything converter.
     33      <application>Transcode</application> was a fast, versatile and
     34      command-line based audio/video everything to everything converter
     35      primarily focussed on producing AVI video files with MP3 audio,
     36      but also including a program to read all the video and audio streams
     37      from a DVD.
     38      <!-- 403 Forbidden
    3539      For a rundown of the features and capabilities, along with usage
    3640      examples, visit the Transcode Wiki at
    37       <ulink url="http://www.transcoding.org/"/>.
    38     </para>
    39 
    40     &lfs82_checked;
     41      <ulink url="http://www.transcoding.org/"/>.-->
     42    </para>
     43
     44    <para>
     45      Although outdated and no longer maintained, it can still be used to
     46      extract items from a DVD using only the required and recommended
     47      dependencies, or to recode to AVI files.
     48    </para>
     49
     50    <!--&lfs82_checked;--> <!-- Come on guys, it doesn't work properly -->
     51    <para>
     52      Subjects to the comments below, this package is known to build and
     53      minimally work using an LFS-8.2 platform.
     54    </para>
    4155
    4256    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7993        <para>
    8094          Required patch:
    81           <ulink url="&patch-root;/transcode-&transcode-version;-ffmpeg3-1.patch"/>
     95          <ulink url="&patch-root;/transcode-&transcode-version;-ffmpeg4-1.patch"/>
    8296        </para>
    8397      </listitem>
     
    88102    <bridgehead renderas="sect4">Required</bridgehead>
    89103    <para role="required">
    90       <xref linkend="ffmpeg"/>
     104      <xref linkend="ffmpeg"/> (configured with --enable-avresample)
    91105    </para>
    92106
     
    104118      <xref linkend="faac"/>,
    105119      <xref linkend="freetype2"/>,
    106       <xref linkend="imagemagick"/>,
     120      <xref linkend="imagemagick6"/>,
    107121      <xref linkend="liba52"/>,
    108122      <xref linkend="libdv"/>,
     
    122136    </para>
    123137
     138    <bridgehead renderas="sect4">Optional (at runtime)</bridgehead>
     139    <para role="optional">
     140      <ulink url="https://sourceforge.net/projects/lsdvd/files/">lsdvd</ulink>
     141    </para>
     142
    124143    <para condition="html" role="usernotes">User Notes:
    125144      <ulink url="&blfs-wiki;/transcode"/>
     
    150169
    151170    <para>
    152       If building with --enable-freetype2 configure switch, use the following
    153       <command>sed</command> to fix building against
    154       <application>FreeType-2.5.1</application> or newer versions:
    155     </para>
    156 
    157 <screen><userinput>sed -i "s:#include &lt;freetype/ftglyph.h&gt;:#include FT_GLYPH_H:" filter/subtitler/load_font.c</userinput></screen>
    158 
    159     <para>
    160171      Install <application>Transcode</application> by running the following
    161172      commands:
     
    165176       $(find . -name Makefile.in -exec grep -l 'docsdir =' {} \;) &amp;&amp;
    166177
    167 patch -Np1 -i ../transcode-&transcode-version;-ffmpeg3-1.patch                   &amp;&amp;
     178patch -Np1 -i ../transcode-&transcode-version;-ffmpeg4-1.patch                   &amp;&amp;
    168179./configure --prefix=/usr \
    169180            --enable-alsa \
     
    188199    <para>
    189200      <command>sed -i ...</command>: Fixes install location for documentation.
    190     </para>
    191 
    192     <para>
    193       <command>sed ... import/probe_ffmpeg.c</command>: This sed fixes
    194       compilation with <application>ffmpeg-2.4</application> or newer versions.
    195201    </para>
    196202
     
    303309            concatenates input files using the input plugins of
    304310            <application>Transcode</application>.  This is useful
    305             for extracting VOB (Video OBject) files.
     311            for extracting VOB (Video OBject) files, either for
     312            a whole DVD or for selected Titles or Chapters, which
     313            can then be played or recoded.
    306314          </para>
    307315          <indexterm zone="transcode tccat">
Note: See TracChangeset for help on using the changeset viewer.