Changeset 2216c969


Ignore:
Timestamp:
06/14/2012 12:45:50 PM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
77b4c621
Parents:
b3bb56b
Message:

create the ffmpeg html docs

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10327 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
multimedia/videoutils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • multimedia/videoutils/ffmpeg.xml

    rb3bb56b r2216c969  
    127127    </para>
    128128
    129 <screen><userinput>mkdir build &amp;&amp;
    130 cd    build &amp;&amp;
    131 ../configure --prefix=/usr --enable-gpl \
    132        --enable-shared --disable-static &amp;&amp;
     129<screen><userinput>./configure --prefix=/usr --enable-gpl \
     130      --enable-shared --disable-static &amp;&amp;
    133131make</userinput></screen>
     132
     133    <para>To convert the docs to html use the following commands:</para>
     134
     135<screen><userinput>cd doc &amp;&amp;
     136sed -i '/@top/d;/ignore$/d' *.texi &amp;&amp;
     137sed -i '/@include avoptions/d' avtools-common-opts.texi &amp;&amp;
     138for DOC in *.texi
     139do makeinfo --html --no-split -o ${DOC%texi}html ${DOC}
     140done &amp;&amp;
     141cd ..</userinput></screen>
     142
     143    <para>
     144      If you have <xref linkend="doxygen"/> installed and wish to create the API
     145      documentation (takes about 150 MB of space), issue the command
     146      <command>doxygen</command>.
     147    </para>
     148
     149    <para>This package does not come with a test suite.</para>
     150
     151    <para>Now, as the <systemitem class="username">root</systemitem>
     152    user:</para>
     153
     154<screen role="root"><userinput>make install &amp;&amp;
     155mkdir /usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
     156cp doc/*.html doc/*.txt /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
    134157
    135158    <para>
     
    141164      where this is useful for preparing videos before uploading them to
    142165      YouTube. If need <command>qt-faststart</command>, you can compile it with
    143       gcc:
    144     </para>
    145 
    146 <screen><userinput>gcc ../tools/qt-faststart.c -o qt-faststart</userinput></screen>
    147 
    148     <para>
    149       If you have <xref linkend="doxygen"/> installed and wish to create the API
    150       documentation (takes about 150 MB of space), issue the command
    151       <command>doxygen</command>.
    152     </para>
    153 
    154     <para>This package does not come with a test suite.</para>
    155 
    156     <para>Now, as the <systemitem class="username">root</systemitem>
    157     user:</para>
    158 
    159 <screen role="root"><userinput>make install &amp;&amp;
    160 mkdir /usr/share/doc/ffmpeg-&ffmpeg-version; &amp;&amp;
    161 cp ../doc/*.html /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen>
     166      gcc. As the <systemitem class="username">root</systemitem> user:
     167    </para>
     168
     169<screen><userinput>gcc ../tools/qt-faststart.c -o /usr/bin/qt-faststart</userinput></screen>
    162170
    163171    <para>
     
    169177<screen role="root"><userinput>mkdir /usr/share/doc/ffmpeg-&ffmpeg-version;/api &amp;&amp;
    170178cp -v doxy/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api</userinput></screen>
    171 
    172     <para>
    173       If you compiled <command>qt-faststart</command> install it as the
    174       <systemitem class="username">root</systemitem> user:
    175     </para>
    176 
    177 <screen role="root"><userinput>cp qt-faststart /usr/bin</userinput></screen>
    178179  </sect2>
    179180
    180181  <sect2 role="commands">
    181182    <title>Command Explanations</title>
    182 
    183     <para>
    184       <command>mkdir build</command> and <command>cd build</command>: This
    185       ensures that we compile the <application>FFmpeg</application> object
    186       files in a separate directory to the source files.
    187     </para>
    188183
    189184    <para>
     
    206201      specific codec (and make <application>FFmpeg</application> link to the
    207202      prerequisite shared library installed on your system) is to make ffmpeg
    208       compile an <emphasis>encoder</emphasis> for that codec. Encoding video is
    209       a specialist job. If that is what you want to do with
    210       <command>ffmpeg</command>, study the output of <command>configure
    211       --help</command>. Remember, the dependencies all install their own
    212       encoders (that may produce better results than
    213       <application>FFmpeg</application>). <application>FFmpeg</application> is
    214       an excellent collection of decoders. If you just want to use
    215       <application>FFmpeg</application> to watch video or listen to music (via
    216       other applications like <application>Gstreamer</application> or Xine) then
    217       you will not benefit from linking FFmpeg to another library.
     203      compile an <emphasis>encoder</emphasis> for that codec.
     204      <application>FFmpeg</application> is an excellent collection of decoders.
     205      If you just want to use <application>FFmpeg</application> to watch video
     206      or listen to music (via other applications like
     207      <application>Gstreamer</application> or Xine) then you will not benefit
     208      from linking FFmpeg to another library.
     209    </para>
     210
     211    <para>
     212      <command>sed -i '/@top/d;/ignore$/d' *.texi</command> and
     213      <command>sed -i '/@include avoptions/d' avtools-common-opts.texi</command>:
     214      these seds work around problems with the .texi files.
     215    </para>
     216
     217    <para>
     218      <command>makeinfo --html --no-split -o ${DOC%texi}html ${DOC}</command>:
     219      this converts the .texi files into html.
    218220    </para>
    219221  </sect2>
  • multimedia/videoutils/mplayer.xml

    rb3bb56b r2216c969  
    287287<screen role="root"><userinput>tar -xvf ../&mplayer-skin;.tar.xz \
    288288    -C /usr/share/mplayer/skins &amp;&amp;
    289 ln -sfv &mplayer-skin; /usr/share/mplayer/skins/default</userinput></screen>
     289ln -sfv clearplayer /usr/share/mplayer/skins/default</userinput></screen>
    290290    </sect3>
    291291  </sect2>
Note: See TracChangeset for help on using the changeset viewer.