mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
Restore Transcode.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10455 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
fa47d68028
commit
edb9c5207c
@ -1079,12 +1079,15 @@ $Date$
|
||||
<!-- Chapter 40 -->
|
||||
<!ENTITY dvb-apps-version "2012-06-10">
|
||||
<!ENTITY ffmpeg-version "0.11.1">
|
||||
<!-- <!ENTITY avifile-version "0.7.45"> -->
|
||||
<!ENTITY mplayer-version "1.1">
|
||||
<!ENTITY xine-ui-version "0.99.7">
|
||||
<!ENTITY transcode-version "1.1.7">
|
||||
<!ENTITY vlc-version "2.0.2">
|
||||
|
||||
<!-- Removed
|
||||
<!ENTITY avifile-version "0.7.45">
|
||||
-->
|
||||
|
||||
<!-- Chapter 41 -->
|
||||
<!ENTITY cdrdao-version "1.2.3">
|
||||
<!ENTITY dvd-rw-tools-version "7.1">
|
||||
|
@ -63,6 +63,9 @@
|
||||
<para>[bdubbs] - Update to whois_5.0.18. Fixes
|
||||
<ulink url="&blfs-ticket-root;3471">#3471</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[krejzi] - Restore Transcode 1.1.7.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[krejzi] - AutoGen 5.16.1.</para>
|
||||
</listitem>
|
||||
|
@ -29,89 +29,126 @@
|
||||
<sect2 role="package">
|
||||
<title>Introduction to Transcode</title>
|
||||
|
||||
<para><application>Transcode</application> is a fast, versatile and
|
||||
command-line based audio/video everything to everything converter. For a
|
||||
rundown of the features and capabilities, along with usage examples, visit
|
||||
the Transcode Wiki at <ulink url="http://www.transcoding.org/"/>.</para>
|
||||
<para>
|
||||
<application>Transcode</application> is a fast, versatile and
|
||||
command-line based audio/video everything to everything converter.
|
||||
For a rundown of the features and capabilities, along with usage
|
||||
examples, visit the Transcode Wiki at
|
||||
<ulink url="http://www.transcoding.org/"/>.
|
||||
</para>
|
||||
|
||||
&lfs70_built;
|
||||
&lfs71_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Download (HTTP): <ulink url="&transcode-download-http;"/></para>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&transcode-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download (FTP): <ulink url="&transcode-download-ftp;"/></para>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&transcode-download-ftp;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum: &transcode-md5sum;</para>
|
||||
<para>
|
||||
Download MD5 sum: &transcode-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size: &transcode-size;</para>
|
||||
<para>
|
||||
Download size: &transcode-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required: &transcode-buildsize;</para>
|
||||
<para>
|
||||
Estimated disk space required: &transcode-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time: &transcode-time;</para>
|
||||
<para>
|
||||
Estimated build time: &transcode-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Required patch:
|
||||
<ulink url="&patch-root;/transcode-&transcode-version;-ffmpeg-1.patch"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Transcode Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required"><xref linkend="ffmpeg"/> and
|
||||
<xref linkend="libmpeg2"/></para>
|
||||
<para role="required">
|
||||
<xref linkend="ffmpeg"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended"><xref linkend="lame"/></para>
|
||||
<para role="recommended">
|
||||
<xref linkend="alsa-lib"/>,
|
||||
<xref linkend="lame"/>,
|
||||
<xref linkend="libmpeg2"/> and
|
||||
<xref linkend="xorg7-lib"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional (Listed in the Order That the
|
||||
<command>configure</command> Script Looks for Them)</bridgehead>
|
||||
<para role="optional"><xref linkend="x-window-system"/>,
|
||||
<ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>,
|
||||
<xref linkend="xvid"/>,
|
||||
<ulink url="http://www.videolan.org/developers/x264.html">x264</ulink>,
|
||||
<xref linkend="freetype2"/>,
|
||||
<xref linkend="libogg"/>,
|
||||
<xref linkend="libvorbis"/>,
|
||||
<xref linkend="libtheora"/>,
|
||||
<xref linkend="libdvdread"/>,
|
||||
<ulink url="http://www.netlib.org/pvm3/">PVM3</ulink>,
|
||||
<xref linkend="libdv"/>,
|
||||
<xref linkend="libquicktime"/>,
|
||||
<xref linkend="LZO"/>,
|
||||
<xref linkend="liba52"/>,
|
||||
<xref linkend="faac"/>,
|
||||
<xref linkend="libxml2"/>,
|
||||
<ulink url="http://mjpeg.sourceforge.net/">MJPEG Tools</ulink>,
|
||||
<xref linkend="sdl"/>,
|
||||
<xref linkend="imagemagick"/>, and
|
||||
<xref linkend="libjpeg"/></para>
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="faac"/>,
|
||||
<xref linkend="freetype2"/>,
|
||||
<xref linkend="imagemagick"/>,
|
||||
<xref linkend="liba52"/>,
|
||||
<xref linkend="libdv"/>,
|
||||
<xref linkend="libdvdread"/>,
|
||||
<xref linkend="libjpeg"/>,
|
||||
<xref linkend="libogg"/>,
|
||||
<xref linkend="libquicktime"/>,
|
||||
<xref linkend="libtheora"/>,
|
||||
<xref linkend="libvorbis"/>,
|
||||
<xref linkend="libxml2"/>,
|
||||
<xref linkend="LZO"/>,
|
||||
<ulink url="http://mjpeg.sourceforge.net/">MJPEG Tools</ulink>,
|
||||
<ulink url="http://www.netlib.org/pvm3/">PVM3</ulink>,
|
||||
<xref linkend="sdl"/>,
|
||||
<ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>,
|
||||
<ulink url="http://www.videolan.org/developers/x264.html">x264</ulink> and
|
||||
<xref linkend="xvid"/>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/transcode"/></para>
|
||||
|
||||
<ulink url="&blfs-wiki;/transcode"/>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Transcode</title>
|
||||
|
||||
<para>Install <application>Transcode</application> by running the following
|
||||
commands:</para>
|
||||
<para>
|
||||
Install <application>Transcode</application> by running the following
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>sed -i "s/pp_mode_t/pp_mode/g" filter/filter_pp.c &&
|
||||
sed -i "s/pp_context_t/pp_context/g" filter/filter_pp.c &&
|
||||
sed -i 's|doc/transcode|&-$(PACKAGE_VERSION)|' \
|
||||
<screen><userinput>sed -i 's|doc/transcode|&-$(PACKAGE_VERSION)|' \
|
||||
$(find . -name Makefile.in -exec grep -l 'docsdir =' {} \;) &&
|
||||
|
||||
./configure --prefix=/usr &&
|
||||
patch -Np1 -i ../transcode-&transcode-version;-ffmpeg-1.patch &&
|
||||
./configure --prefix=/usr \
|
||||
--enable-alsa \
|
||||
--enable-libmpeg2 &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
<para>
|
||||
This package does not come with a test suite.
|
||||
</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
@ -120,15 +157,17 @@ make</userinput></screen>
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><command>sed -i ...</command>: First two sed's fix building with
|
||||
<application><xref linkend="ffmpeg"/></application> and third one
|
||||
fixes install location for documentation.</para>
|
||||
<para>
|
||||
<command>sed -i ...</command>: Fixes install location for documentation.
|
||||
</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
|
||||
<command>./configure --help</command> for complete information about
|
||||
enabling dependency packages.</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
|
||||
<command>./configure --help</command> for complete information about
|
||||
enabling dependency packages.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -137,16 +176,17 @@ make</userinput></screen>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>avifix, aviindex, avimerge, avisplit, avisync, tccat, tcdecode,
|
||||
tcdemux, tcextract, tcmodinfo, tcmp3cut, tcprobe, tcscan, tcxmlcheck,
|
||||
tcxpm2rgb, tcyait and transcode</seg>
|
||||
<seg>a52_decore.so, export_*.so, filter_*.so, and import_*.so
|
||||
output/filter/input modules</seg>
|
||||
<seg>/usr/lib/transcode and /usr/share/doc/transcode-&transcode-version;</seg>
|
||||
<seg>
|
||||
avifix, aviindex, avimerge, avisplit, avisync, tccat, tcdecode,
|
||||
tcdemux, tcextract, tcmodinfo, tcmp3cut, tcprobe, tcscan, tcxmlcheck,
|
||||
tcxpm2rgb, tcyait and transcode
|
||||
</seg>
|
||||
<seg>
|
||||
/usr/lib/transcode and /usr/share/doc/transcode-&transcode-version;
|
||||
</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
@ -158,7 +198,9 @@ make</userinput></screen>
|
||||
<varlistentry id="avifix">
|
||||
<term><command>avifix</command></term>
|
||||
<listitem>
|
||||
<para>fixes the header of an AVI file.</para>
|
||||
<para>
|
||||
fixes the header of an AVI file.
|
||||
</para>
|
||||
<indexterm zone="transcode avifix">
|
||||
<primary sortas="b-avifix">avifix</primary>
|
||||
</indexterm>
|
||||
@ -168,7 +210,9 @@ make</userinput></screen>
|
||||
<varlistentry id="aviindex">
|
||||
<term><command>aviindex</command></term>
|
||||
<listitem>
|
||||
<para>writes a text file describing the index of an AVI file.</para>
|
||||
<para>
|
||||
writes a text file describing the index of an AVI file.
|
||||
</para>
|
||||
<indexterm zone="transcode aviindex">
|
||||
<primary sortas="b-aviindex">aviindex</primary>
|
||||
</indexterm>
|
||||
@ -178,9 +222,11 @@ make</userinput></screen>
|
||||
<varlistentry id="avimerge">
|
||||
<term><command>avimerge</command></term>
|
||||
<listitem>
|
||||
<para> merges AVI files of the same format. Do not try to merge AVI
|
||||
files of different formats, it will most likely result in errors (and format
|
||||
means same bitrates, too!).</para>
|
||||
<para>
|
||||
merges AVI files of the same format. Do not try to merge AVI
|
||||
files of different formats, it will most likely result in errors
|
||||
(and format means same bitrates, too!).
|
||||
</para>
|
||||
<indexterm zone="transcode avimerge">
|
||||
<primary sortas="b-avimerge">avimerge</primary>
|
||||
</indexterm>
|
||||
@ -190,7 +236,9 @@ make</userinput></screen>
|
||||
<varlistentry id="avisplit">
|
||||
<term><command>avisplit</command></term>
|
||||
<listitem>
|
||||
<para>splits AVI files into multiple files.</para>
|
||||
<para>
|
||||
splits AVI files into multiple files.
|
||||
</para>
|
||||
<indexterm zone="transcode avisplit">
|
||||
<primary sortas="b-avisplit">avisplit</primary>
|
||||
</indexterm>
|
||||
@ -200,8 +248,10 @@ make</userinput></screen>
|
||||
<varlistentry id="avisync">
|
||||
<term><command>avisync</command></term>
|
||||
<listitem>
|
||||
<para>can shift audio in AVI files for better
|
||||
synchronizing of the audio and video data signal.</para>
|
||||
<para>
|
||||
can shift audio in AVI files for better synchronizing
|
||||
of the audio and video data signal.
|
||||
</para>
|
||||
<indexterm zone="transcode avisync">
|
||||
<primary sortas="b-avisync">avisync</primary>
|
||||
</indexterm>
|
||||
@ -211,8 +261,10 @@ make</userinput></screen>
|
||||
<varlistentry id="tccat">
|
||||
<term><command>tccat</command></term>
|
||||
<listitem>
|
||||
<para>concatenates input files using the input plugins of
|
||||
<application>Transcode</application>.</para>
|
||||
<para>
|
||||
concatenates input files using the input plugins of
|
||||
<application>Transcode</application>.
|
||||
</para>
|
||||
<indexterm zone="transcode tccat">
|
||||
<primary sortas="b-tccat">tccat</primary>
|
||||
</indexterm>
|
||||
@ -222,8 +274,10 @@ make</userinput></screen>
|
||||
<varlistentry id="tcdecode">
|
||||
<term><command>tcdecode</command></term>
|
||||
<listitem>
|
||||
<para>is used to decode input files to raw video and
|
||||
PCM audio streams.</para>
|
||||
<para>
|
||||
is used to decode input files to raw video and PCM
|
||||
audio streams.
|
||||
</para>
|
||||
<indexterm zone="transcode tcdecode">
|
||||
<primary sortas="b-tcdecode">tcdecode</primary>
|
||||
</indexterm>
|
||||
@ -233,8 +287,10 @@ make</userinput></screen>
|
||||
<varlistentry id="tcdemux">
|
||||
<term><command>tcdemux</command></term>
|
||||
<listitem>
|
||||
<para>demultiplexes (separates) audio/video input that contains
|
||||
multiple streams, e.g., VOB files.</para>
|
||||
<para>
|
||||
demultiplexes (separates) audio/video input that contains
|
||||
multiple streams, e.g., VOB files.
|
||||
</para>
|
||||
<indexterm zone="transcode tcdemux">
|
||||
<primary sortas="b-tcdemux">tcdemux</primary>
|
||||
</indexterm>
|
||||
@ -244,7 +300,9 @@ make</userinput></screen>
|
||||
<varlistentry id="tcextract">
|
||||
<term><command>tcextract</command></term>
|
||||
<listitem>
|
||||
<para>grabs single streams from a file containing multiple streams.</para>
|
||||
<para>
|
||||
grabs single streams from a file containing multiple streams.
|
||||
</para>
|
||||
<indexterm zone="transcode tcextract">
|
||||
<primary sortas="b-tcextract">tcextract</primary>
|
||||
</indexterm>
|
||||
@ -254,8 +312,10 @@ make</userinput></screen>
|
||||
<varlistentry id="tcmodinfo">
|
||||
<term><command>tcmodinfo</command></term>
|
||||
<listitem>
|
||||
<para>loads a supplied <application>Transcode</application> filter
|
||||
module and prints its parameters.</para>
|
||||
<para>
|
||||
loads a supplied <application>Transcode</application> filter
|
||||
module and prints its parameters.
|
||||
</para>
|
||||
<indexterm zone="transcode tcmodinfo">
|
||||
<primary sortas="b-tcmodinfo">tcmodinfo</primary>
|
||||
</indexterm>
|
||||
@ -265,8 +325,10 @@ make</userinput></screen>
|
||||
<varlistentry id="tcmp3cut">
|
||||
<term><command>tcmp3cut</command></term>
|
||||
<listitem>
|
||||
<para>is a tool which can cut MP3 streams at
|
||||
milliseconds positions.</para>
|
||||
<para>
|
||||
is a tool which can cut MP3 streams at milliseconds
|
||||
positions.
|
||||
</para>
|
||||
<indexterm zone="transcode tcmp3cut">
|
||||
<primary sortas="b-tcmp3cut">tcmp3cut</primary>
|
||||
</indexterm>
|
||||
@ -276,7 +338,9 @@ make</userinput></screen>
|
||||
<varlistentry id="tcprobe">
|
||||
<term><command>tcprobe</command></term>
|
||||
<listitem>
|
||||
<para>prints information about the input file format.</para>
|
||||
<para>
|
||||
prints information about the input file format.
|
||||
</para>
|
||||
<indexterm zone="transcode tcprobe">
|
||||
<primary sortas="b-tcprobe">tcprobe</primary>
|
||||
</indexterm>
|
||||
@ -286,7 +350,9 @@ make</userinput></screen>
|
||||
<varlistentry id="tcscan">
|
||||
<term><command>tcscan</command></term>
|
||||
<listitem>
|
||||
<para> performs several measurements on the given input data.</para>
|
||||
<para>
|
||||
performs several measurements on the given input data.
|
||||
</para>
|
||||
<indexterm zone="transcode tcscan">
|
||||
<primary sortas="b-tcscan">tcscan</primary>
|
||||
</indexterm>
|
||||
@ -296,7 +362,9 @@ make</userinput></screen>
|
||||
<varlistentry id="tcxmlcheck">
|
||||
<term><command>tcxmlcheck</command></term>
|
||||
<listitem>
|
||||
<para> checks information in a SMIL input file.</para>
|
||||
<para>
|
||||
checks information in a SMIL input file.
|
||||
</para>
|
||||
<indexterm zone="transcode tcxmlcheck">
|
||||
<primary sortas="b-tcxmlcheck">tcxmlcheck</primary>
|
||||
</indexterm>
|
||||
@ -306,40 +374,18 @@ make</userinput></screen>
|
||||
<varlistentry id="transcode-prog">
|
||||
<term><command>transcode</command></term>
|
||||
<listitem>
|
||||
<para>is the encoder's user interface that handles the plugins and
|
||||
other programs, being the glue between the modules. There are several well
|
||||
documented usage examples on both the homepage and the documentation included
|
||||
in the package.</para>
|
||||
<para>
|
||||
is the encoder's user interface that handles the plugins and other
|
||||
programs, being the glue between the modules. There are several
|
||||
well documented usage examples on both the homepage and the
|
||||
documentation included in the package.
|
||||
</para>
|
||||
<indexterm zone="transcode transcode-prog">
|
||||
<primary sortas="b-transcode">transcode</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="a52_decore">
|
||||
<term><filename class='libraryfile'>a52_decore.so</filename></term>
|
||||
<listitem>
|
||||
<para>is used to interface with the <filename class='libraryfile'>liba52</filename>
|
||||
library for decoding AC-3 streams.</para>
|
||||
<indexterm zone="transcode a52_decore">
|
||||
<primary sortas="c-a52_decore">a52_decore.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="export-filter">
|
||||
<term><filename class='libraryfile'>export/filter/import_*.so</filename></term>
|
||||
<listitem>
|
||||
<para>— depending on the external libraries that are used,
|
||||
there are a great number of plugins to convert audio and video input to raw
|
||||
format, process raw video and audio and convert raw audio and video to other
|
||||
formats to be written into a file type of choice. Read the documentation for
|
||||
complete information.</para>
|
||||
<indexterm zone="transcode export-filter">
|
||||
<primary sortas="c-export-filter">export/filter/import_*.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
@ -25,7 +25,7 @@ $Date$
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dvb-apps.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ffmpeg.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mplayer.xml"/>
|
||||
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="transcode.xml"/> -->
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="transcode.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vlc.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xine-ui.xml"/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user