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