[6ef979c9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[01062dd] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[69da6d3] | 6 |
|
---|
[6fa2156] | 7 | <!ENTITY transcode-download-http "https://bitbucket.org/france/transcode-tcforge/downloads/transcode-&transcode-version;.tar.bz2">
|
---|
[10f742b] | 8 | <!ENTITY transcode-download-ftp "&gentoo-ftp-repo;/transcode-&transcode-version;.tar.bz2">
|
---|
[6fa2156] | 9 | <!ENTITY transcode-md5sum "9bb25a796a8591fb764de46ee87ce505">
|
---|
| 10 | <!ENTITY transcode-size "2.1 MB">
|
---|
[f7747d0] | 11 | <!ENTITY transcode-buildsize "75 MB">
|
---|
[6fa2156] | 12 | <!ENTITY transcode-time "1.0 SBU">
|
---|
[01062dd] | 13 | ]>
|
---|
| 14 |
|
---|
[0b5a693] | 15 | <sect1 id="transcode" xreflabel="Transcode-&transcode-version;">
|
---|
[6ef979c9] | 16 | <?dbhtml filename="transcode.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Transcode-&transcode-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="transcode">
|
---|
| 26 | <primary sortas="a-Transcode">Transcode</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Transcode</title>
|
---|
[01062dd] | 31 |
|
---|
[edb9c52] | 32 | <para>
|
---|
| 33 | <application>Transcode</application> is a fast, versatile and
|
---|
| 34 | command-line based audio/video everything to everything converter.
|
---|
| 35 | For a rundown of the features and capabilities, along with usage
|
---|
| 36 | examples, visit the Transcode Wiki at
|
---|
| 37 | <ulink url="http://www.transcoding.org/"/>.
|
---|
| 38 | </para>
|
---|
[01062dd] | 39 |
|
---|
[5c67ac15] | 40 | &lfs7a_checked;
|
---|
[6fa2156] | 41 |
|
---|
[6ef979c9] | 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[edb9c52] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&transcode-download-http;"/>
|
---|
| 47 | </para>
|
---|
[6ef979c9] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[edb9c52] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&transcode-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[6ef979c9] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[edb9c52] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &transcode-md5sum;
|
---|
| 57 | </para>
|
---|
[6ef979c9] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[edb9c52] | 60 | <para>
|
---|
| 61 | Download size: &transcode-size;
|
---|
| 62 | </para>
|
---|
[6ef979c9] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[edb9c52] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &transcode-buildsize;
|
---|
| 67 | </para>
|
---|
[6ef979c9] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[edb9c52] | 70 | <para>
|
---|
| 71 | Estimated build time: &transcode-time;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Required patch:
|
---|
[ba1ccf6] | 81 | <ulink url="&patch-root;/transcode-&transcode-version;-ffmpeg3-1.patch"/>
|
---|
[edb9c52] | 82 | </para>
|
---|
[6ef979c9] | 83 | </listitem>
|
---|
| 84 | </itemizedlist>
|
---|
[01062dd] | 85 |
|
---|
[6ef979c9] | 86 | <bridgehead renderas="sect3">Transcode Dependencies</bridgehead>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[edb9c52] | 89 | <para role="required">
|
---|
| 90 | <xref linkend="ffmpeg"/>
|
---|
| 91 | </para>
|
---|
[6ef979c9] | 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[edb9c52] | 94 | <para role="recommended">
|
---|
| 95 | <xref linkend="alsa-lib"/>,
|
---|
| 96 | <xref linkend="lame"/>,
|
---|
[b2136ea] | 97 | <xref linkend="libdvdread"/>,
|
---|
[6de7590] | 98 | <xref linkend="libmpeg2"/>, and
|
---|
[edb9c52] | 99 | <xref linkend="xorg7-lib"/>
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 103 | <para role="optional">
|
---|
| 104 | <xref linkend="faac"/>,
|
---|
| 105 | <xref linkend="freetype2"/>,
|
---|
| 106 | <xref linkend="imagemagick"/>,
|
---|
| 107 | <xref linkend="liba52"/>,
|
---|
| 108 | <xref linkend="libdv"/>,
|
---|
| 109 | <xref linkend="libjpeg"/>,
|
---|
| 110 | <xref linkend="libogg"/>,
|
---|
| 111 | <xref linkend="libquicktime"/>,
|
---|
| 112 | <xref linkend="libtheora"/>,
|
---|
| 113 | <xref linkend="libvorbis"/>,
|
---|
| 114 | <xref linkend="libxml2"/>,
|
---|
[652b18b] | 115 | <xref linkend="lzo"/>,
|
---|
[edb9c52] | 116 | <xref linkend="sdl"/>,
|
---|
[80dbc4c8] | 117 | <xref linkend="v4l-utils"/>,
|
---|
[f3429309] | 118 | <xref linkend="x264"/>,
|
---|
[edb9c52] | 119 | <xref linkend="xvid"/>
|
---|
[80dbc4c8] | 120 | <ulink url="http://sourceforge.net/projects/mjpeg/">MJPEG Tools</ulink>, and
|
---|
| 121 | <ulink url="http://www.netlib.org/pvm3/">PVM3</ulink>,
|
---|
[edb9c52] | 122 | </para>
|
---|
[6ef979c9] | 123 |
|
---|
[0e2aa08] | 124 | <para condition="html" role="usernotes">User Notes:
|
---|
[edb9c52] | 125 | <ulink url="&blfs-wiki;/transcode"/>
|
---|
| 126 | </para>
|
---|
[6ef979c9] | 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="installation">
|
---|
| 130 | <title>Installation of Transcode</title>
|
---|
| 131 |
|
---|
[4fd52a9] | 132 | <note>
|
---|
[f7747d0] | 133 | <para>
|
---|
| 134 | The details of how the <application>FFmpeg</application> libraries
|
---|
| 135 | are used has changed since this version of
|
---|
| 136 | <application>Transcode</application> was released. The patch allows the
|
---|
| 137 | package to be compiled, but some or all of the internal calls to
|
---|
| 138 | <application>FFmpeg</application> fail at run time (they report an error
|
---|
| 139 | and processing continues, but without any output).
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
| 142 | <para>
|
---|
| 143 | For many packages, that would be a critical error. In this case,
|
---|
| 144 | the main reason to install <application>Transcode</application> is for
|
---|
| 145 | the <command>tccat</command> program, which works. Some of the
|
---|
| 146 | <command>transcode</command> options work - for the others, use
|
---|
| 147 | <command>ffmpeg</command> directly on the command line.
|
---|
| 148 | </para>
|
---|
[4fd52a9] | 149 | </note>
|
---|
| 150 |
|
---|
[16fe9f5] | 151 | <para>
|
---|
[d5e120a] | 152 | If building with --enable-freetype2 configure switch, use the following
|
---|
[3e5e86a] | 153 | <command>sed</command> to fix building against
|
---|
| 154 | <application>FreeType-2.5.1</application> or newer versions:
|
---|
[16fe9f5] | 155 | </para>
|
---|
| 156 |
|
---|
| 157 | <screen><userinput>sed -i "s:#include <freetype/ftglyph.h>:#include FT_GLYPH_H:" filter/subtitler/load_font.c</userinput></screen>
|
---|
| 158 |
|
---|
[edb9c52] | 159 | <para>
|
---|
| 160 | Install <application>Transcode</application> by running the following
|
---|
| 161 | commands:
|
---|
| 162 | </para>
|
---|
[6ef979c9] | 163 |
|
---|
[edb9c52] | 164 | <screen><userinput>sed -i 's|doc/transcode|&-$(PACKAGE_VERSION)|' \
|
---|
[10f742b] | 165 | $(find . -name Makefile.in -exec grep -l 'docsdir =' {} \;) &&
|
---|
[d5e120a] | 166 |
|
---|
[ba1ccf6] | 167 | patch -Np1 -i ../transcode-&transcode-version;-ffmpeg3-1.patch &&
|
---|
[edb9c52] | 168 | ./configure --prefix=/usr \
|
---|
| 169 | --enable-alsa \
|
---|
| 170 | --enable-libmpeg2 &&
|
---|
[6ef979c9] | 171 | make</userinput></screen>
|
---|
| 172 |
|
---|
[edb9c52] | 173 | <para>
|
---|
| 174 | This package does not come with a test suite.
|
---|
| 175 | </para>
|
---|
[0e50c5e6] | 176 |
|
---|
[edb9c52] | 177 | <para>
|
---|
| 178 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 179 | </para>
|
---|
[6ef979c9] | 180 |
|
---|
| 181 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 182 |
|
---|
| 183 | </sect2>
|
---|
| 184 |
|
---|
| 185 | <sect2 role="commands">
|
---|
| 186 | <title>Command Explanations</title>
|
---|
| 187 |
|
---|
[edb9c52] | 188 | <para>
|
---|
| 189 | <command>sed -i ...</command>: Fixes install location for documentation.
|
---|
| 190 | </para>
|
---|
[6ef979c9] | 191 |
|
---|
[791213b] | 192 | <para>
|
---|
| 193 | <command>sed ... import/probe_ffmpeg.c</command>: This sed fixes
|
---|
[3e5e86a] | 194 | compilation with <application>ffmpeg-2.4</application> or newer versions.
|
---|
[791213b] | 195 | </para>
|
---|
| 196 |
|
---|
[edb9c52] | 197 | <para>
|
---|
| 198 | Support for most of the dependency packages requires using
|
---|
| 199 | options passed to the <command>configure</command> script. View the
|
---|
| 200 | <filename>INSTALL</filename> file and the output from
|
---|
| 201 | <command>./configure --help</command> for complete information about
|
---|
| 202 | enabling dependency packages.
|
---|
| 203 | </para>
|
---|
[6ef979c9] | 204 |
|
---|
| 205 | </sect2>
|
---|
| 206 |
|
---|
| 207 | <sect2 role="content">
|
---|
| 208 | <title>Contents</title>
|
---|
| 209 |
|
---|
| 210 | <segmentedlist>
|
---|
| 211 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 212 | <segtitle>Installed Libraries</segtitle>
|
---|
[6ef979c9] | 213 | <segtitle>Installed Directories</segtitle>
|
---|
| 214 |
|
---|
| 215 | <seglistitem>
|
---|
[edb9c52] | 216 | <seg>
|
---|
[0d7900a] | 217 | avifix, aviindex, avimerge, avisplit, avisync, tccat, tcdecode,
|
---|
| 218 | tcdemux, tcextract, tcmodinfo, tcmp3cut, tcprobe, tcscan, tcxmlcheck,
|
---|
[6de7590] | 219 | tcxpm2rgb, tcyait, and transcode
|
---|
[edb9c52] | 220 | </seg>
|
---|
[c3c56b2] | 221 | <seg>
|
---|
| 222 | None
|
---|
| 223 | </seg>
|
---|
[edb9c52] | 224 | <seg>
|
---|
[755bb92] | 225 | /usr/lib/transcode and
|
---|
| 226 | /usr/share/doc/transcode-&transcode-version;
|
---|
[edb9c52] | 227 | </seg>
|
---|
[6ef979c9] | 228 | </seglistitem>
|
---|
| 229 | </segmentedlist>
|
---|
| 230 |
|
---|
| 231 | <variablelist>
|
---|
| 232 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 233 | <?dbfo list-presentation="list"?>
|
---|
| 234 | <?dbhtml list-presentation="table"?>
|
---|
| 235 |
|
---|
| 236 | <varlistentry id="avifix">
|
---|
| 237 | <term><command>avifix</command></term>
|
---|
| 238 | <listitem>
|
---|
[edb9c52] | 239 | <para>
|
---|
| 240 | fixes the header of an AVI file.
|
---|
| 241 | </para>
|
---|
[6ef979c9] | 242 | <indexterm zone="transcode avifix">
|
---|
| 243 | <primary sortas="b-avifix">avifix</primary>
|
---|
| 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
| 247 |
|
---|
| 248 | <varlistentry id="aviindex">
|
---|
| 249 | <term><command>aviindex</command></term>
|
---|
| 250 | <listitem>
|
---|
[edb9c52] | 251 | <para>
|
---|
| 252 | writes a text file describing the index of an AVI file.
|
---|
| 253 | </para>
|
---|
[6ef979c9] | 254 | <indexterm zone="transcode aviindex">
|
---|
| 255 | <primary sortas="b-aviindex">aviindex</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
| 260 | <varlistentry id="avimerge">
|
---|
| 261 | <term><command>avimerge</command></term>
|
---|
| 262 | <listitem>
|
---|
[edb9c52] | 263 | <para>
|
---|
| 264 | merges AVI files of the same format. Do not try to merge AVI
|
---|
| 265 | files of different formats, it will most likely result in errors
|
---|
| 266 | (and format means same bitrates, too!).
|
---|
| 267 | </para>
|
---|
[6ef979c9] | 268 | <indexterm zone="transcode avimerge">
|
---|
| 269 | <primary sortas="b-avimerge">avimerge</primary>
|
---|
| 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
| 274 | <varlistentry id="avisplit">
|
---|
| 275 | <term><command>avisplit</command></term>
|
---|
| 276 | <listitem>
|
---|
[edb9c52] | 277 | <para>
|
---|
| 278 | splits AVI files into multiple files.
|
---|
| 279 | </para>
|
---|
[6ef979c9] | 280 | <indexterm zone="transcode avisplit">
|
---|
| 281 | <primary sortas="b-avisplit">avisplit</primary>
|
---|
| 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
| 284 | </varlistentry>
|
---|
| 285 |
|
---|
| 286 | <varlistentry id="avisync">
|
---|
| 287 | <term><command>avisync</command></term>
|
---|
| 288 | <listitem>
|
---|
[edb9c52] | 289 | <para>
|
---|
| 290 | can shift audio in AVI files for better synchronizing
|
---|
| 291 | of the audio and video data signal.
|
---|
| 292 | </para>
|
---|
[6ef979c9] | 293 | <indexterm zone="transcode avisync">
|
---|
| 294 | <primary sortas="b-avisync">avisync</primary>
|
---|
| 295 | </indexterm>
|
---|
| 296 | </listitem>
|
---|
| 297 | </varlistentry>
|
---|
| 298 |
|
---|
| 299 | <varlistentry id="tccat">
|
---|
| 300 | <term><command>tccat</command></term>
|
---|
| 301 | <listitem>
|
---|
[edb9c52] | 302 | <para>
|
---|
| 303 | concatenates input files using the input plugins of
|
---|
[4fd52a9] | 304 | <application>Transcode</application>. This is useful
|
---|
| 305 | for extracting VOB (Video OBject) files.
|
---|
[edb9c52] | 306 | </para>
|
---|
[6ef979c9] | 307 | <indexterm zone="transcode tccat">
|
---|
| 308 | <primary sortas="b-tccat">tccat</primary>
|
---|
| 309 | </indexterm>
|
---|
| 310 | </listitem>
|
---|
| 311 | </varlistentry>
|
---|
| 312 |
|
---|
| 313 | <varlistentry id="tcdecode">
|
---|
| 314 | <term><command>tcdecode</command></term>
|
---|
| 315 | <listitem>
|
---|
[edb9c52] | 316 | <para>
|
---|
| 317 | is used to decode input files to raw video and PCM
|
---|
| 318 | audio streams.
|
---|
| 319 | </para>
|
---|
[6ef979c9] | 320 | <indexterm zone="transcode tcdecode">
|
---|
| 321 | <primary sortas="b-tcdecode">tcdecode</primary>
|
---|
| 322 | </indexterm>
|
---|
| 323 | </listitem>
|
---|
| 324 | </varlistentry>
|
---|
| 325 |
|
---|
| 326 | <varlistentry id="tcdemux">
|
---|
| 327 | <term><command>tcdemux</command></term>
|
---|
| 328 | <listitem>
|
---|
[edb9c52] | 329 | <para>
|
---|
| 330 | demultiplexes (separates) audio/video input that contains
|
---|
| 331 | multiple streams, e.g., VOB files.
|
---|
| 332 | </para>
|
---|
[6ef979c9] | 333 | <indexterm zone="transcode tcdemux">
|
---|
| 334 | <primary sortas="b-tcdemux">tcdemux</primary>
|
---|
| 335 | </indexterm>
|
---|
| 336 | </listitem>
|
---|
| 337 | </varlistentry>
|
---|
| 338 |
|
---|
| 339 | <varlistentry id="tcextract">
|
---|
| 340 | <term><command>tcextract</command></term>
|
---|
| 341 | <listitem>
|
---|
[edb9c52] | 342 | <para>
|
---|
| 343 | grabs single streams from a file containing multiple streams.
|
---|
| 344 | </para>
|
---|
[6ef979c9] | 345 | <indexterm zone="transcode tcextract">
|
---|
| 346 | <primary sortas="b-tcextract">tcextract</primary>
|
---|
| 347 | </indexterm>
|
---|
| 348 | </listitem>
|
---|
| 349 | </varlistentry>
|
---|
| 350 |
|
---|
| 351 | <varlistentry id="tcmodinfo">
|
---|
| 352 | <term><command>tcmodinfo</command></term>
|
---|
| 353 | <listitem>
|
---|
[edb9c52] | 354 | <para>
|
---|
| 355 | loads a supplied <application>Transcode</application> filter
|
---|
| 356 | module and prints its parameters.
|
---|
| 357 | </para>
|
---|
[6ef979c9] | 358 | <indexterm zone="transcode tcmodinfo">
|
---|
| 359 | <primary sortas="b-tcmodinfo">tcmodinfo</primary>
|
---|
| 360 | </indexterm>
|
---|
| 361 | </listitem>
|
---|
| 362 | </varlistentry>
|
---|
| 363 |
|
---|
| 364 | <varlistentry id="tcmp3cut">
|
---|
| 365 | <term><command>tcmp3cut</command></term>
|
---|
| 366 | <listitem>
|
---|
[edb9c52] | 367 | <para>
|
---|
| 368 | is a tool which can cut MP3 streams at milliseconds
|
---|
| 369 | positions.
|
---|
| 370 | </para>
|
---|
[6ef979c9] | 371 | <indexterm zone="transcode tcmp3cut">
|
---|
| 372 | <primary sortas="b-tcmp3cut">tcmp3cut</primary>
|
---|
| 373 | </indexterm>
|
---|
| 374 | </listitem>
|
---|
| 375 | </varlistentry>
|
---|
| 376 |
|
---|
| 377 | <varlistentry id="tcprobe">
|
---|
| 378 | <term><command>tcprobe</command></term>
|
---|
| 379 | <listitem>
|
---|
[edb9c52] | 380 | <para>
|
---|
| 381 | prints information about the input file format.
|
---|
| 382 | </para>
|
---|
[6ef979c9] | 383 | <indexterm zone="transcode tcprobe">
|
---|
| 384 | <primary sortas="b-tcprobe">tcprobe</primary>
|
---|
| 385 | </indexterm>
|
---|
| 386 | </listitem>
|
---|
| 387 | </varlistentry>
|
---|
| 388 |
|
---|
| 389 | <varlistentry id="tcscan">
|
---|
| 390 | <term><command>tcscan</command></term>
|
---|
| 391 | <listitem>
|
---|
[edb9c52] | 392 | <para>
|
---|
| 393 | performs several measurements on the given input data.
|
---|
| 394 | </para>
|
---|
[6ef979c9] | 395 | <indexterm zone="transcode tcscan">
|
---|
| 396 | <primary sortas="b-tcscan">tcscan</primary>
|
---|
| 397 | </indexterm>
|
---|
| 398 | </listitem>
|
---|
| 399 | </varlistentry>
|
---|
| 400 |
|
---|
| 401 | <varlistentry id="tcxmlcheck">
|
---|
| 402 | <term><command>tcxmlcheck</command></term>
|
---|
| 403 | <listitem>
|
---|
[edb9c52] | 404 | <para>
|
---|
| 405 | checks information in a SMIL input file.
|
---|
| 406 | </para>
|
---|
[6ef979c9] | 407 | <indexterm zone="transcode tcxmlcheck">
|
---|
| 408 | <primary sortas="b-tcxmlcheck">tcxmlcheck</primary>
|
---|
| 409 | </indexterm>
|
---|
| 410 | </listitem>
|
---|
| 411 | </varlistentry>
|
---|
| 412 |
|
---|
| 413 | <varlistentry id="transcode-prog">
|
---|
| 414 | <term><command>transcode</command></term>
|
---|
| 415 | <listitem>
|
---|
[edb9c52] | 416 | <para>
|
---|
| 417 | is the encoder's user interface that handles the plugins and other
|
---|
| 418 | programs, being the glue between the modules. There are several
|
---|
| 419 | well documented usage examples on both the homepage and the
|
---|
| 420 | documentation included in the package.
|
---|
| 421 | </para>
|
---|
[6ef979c9] | 422 | <indexterm zone="transcode transcode-prog">
|
---|
| 423 | <primary sortas="b-transcode">transcode</primary>
|
---|
| 424 | </indexterm>
|
---|
| 425 | </listitem>
|
---|
| 426 | </varlistentry>
|
---|
| 427 |
|
---|
| 428 | </variablelist>
|
---|
| 429 |
|
---|
| 430 | </sect2>
|
---|
[1c62057] | 431 |
|
---|
| 432 | </sect1>
|
---|