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