annotate DOCS/xml/en/mencoder.xml @ 14958:85546d215f6e

precise framerate values everywhere patch by Corey Hickey <bugfood-ml at fatooh dot org>
author diego
date Sat, 19 Mar 2005 16:55:26 +0000
parents 37112d48fb50
children aec21cf429cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1 <?xml version="1.0" encoding="iso-8859-1"?>
10913
49b1a67e7381 Add revision keyword to english xml files, to ease translation synchronization
lumag
parents: 10869
diff changeset
2 <!-- $Revision$ -->
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 <chapter id="mencoder">
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
4 <title>Encoding with <application>MEncoder</application></title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
5
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
6 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 For the complete list of available <application>MEncoder</application> options
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 and examples, please see the man page. For a series of hands-on examples and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 detailed guides on using several encoding parameters, read the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
10 <ulink url="../../tech/encoding-tips.txt">encoding-tips</ulink> that were
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
11 collected from several mailing list threads on mplayer-users. Search the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
12 <ulink url="http://mplayerhq.hu/pipermail/mplayer-users/">archives</ulink>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
13 for a wealth of discussions about all aspects of and problems related to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
14 encoding with <application>MEncoder</application>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
15 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
16
12400
903ac68f2bc8 divx --> lavc, spelling, more sensible section name
diego
parents: 12399
diff changeset
17 <sect1 id="menc-feat-mpeg4">
14421
4a70b65cd2ae consistent "two pass" spelling
diego
parents: 14131
diff changeset
18 <title>Encoding two pass MPEG-4 (&quot;DivX&quot;)</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
19
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 The name comes from the fact that this method encodes the file <emphasis>twice</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 The first encoding (dubbed pass) creates some temporary files
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
23 (<filename>*.log</filename>) with a size of few megabytes, do not delete
14421
4a70b65cd2ae consistent "two pass" spelling
diego
parents: 14131
diff changeset
24 them yet (you can delete the AVI). In the second pass, the two pass output
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
25 file is created, using the bitrate data from the temporary files. The
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
26 resulting file will have much better image quality. If this is the first
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 time you heard about this, you should consult some guides available on the
12484
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
28 net.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
29 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
30
12484
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
31 <example>
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
32 <title>copy audio track</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 <para>
14421
4a70b65cd2ae consistent "two pass" spelling
diego
parents: 14131
diff changeset
34 Two pass encode of a DVD to an MPEG-4 (&quot;DivX&quot;) AVI while copying
12484
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
35 the audio track.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
36 <screen>
11710
d37d4bc38f26 <replaceable> tags by Qba <jim85@wp.pl>
wight
parents: 11680
diff changeset
37 mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o <replaceable>movie.avi</replaceable>
d37d4bc38f26 <replaceable> tags by Qba <jim85@wp.pl>
wight
parents: 11680
diff changeset
38 mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o <replaceable>movie.avi</replaceable>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
39 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
40 </para>
12484
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
41 </example>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
42
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
43 <example>
12484
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
44 <title>encode audio track</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 <para>
14421
4a70b65cd2ae consistent "two pass" spelling
diego
parents: 14131
diff changeset
46 Two pass encode of a DVD to an MPEG-4 (&quot;DivX&quot;) AVI while encoding
12484
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
47 the audio track to MP3.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 <screen>
12484
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
49 mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac mp3lame -lameopts vbr=3 -o <replaceable>movie.avi</replaceable>
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
50 mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac mp3lame -lameopts vbr=3 -o <replaceable>movie.avi</replaceable>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 </example>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
55
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 <sect1 id="menc-feat-mpeg">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 <title>Encoding to MPEG format</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 <application>MEncoder</application> can create MPEG (MPEG-PS) format output
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11820
diff changeset
60 files. It's probably useful only with
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11820
diff changeset
61 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>'s
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
62 <emphasis>mpeg1video</emphasis> codec, because players - except
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
63 <application>MPlayer</application> - expect MPEG-1 video, and MPEG-1 layer 2 (MP2)
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
64 audio streams in MPEG files.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
66
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 <para>
11680
f2f7c22847b3 added capital letter at the beginning of the sentence
paszczi
parents: 11540
diff changeset
68 This feature is not very useful right now, aside that it probably has many bugs,
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
69 but the more importantly because <application>MEncoder</application> currently
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
70 cannot encode MPEG-1 layer 2 (MP2) audio, which all other players expect in MPEG files.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
72
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 <para>
12578
3f543ec01d1e 's should be outside of <application> tags.
diego
parents: 12484
diff changeset
74 To change <application>MEncoder</application>'s output file format,
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
75 use the <option>-of mpeg</option> option.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
76 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
77
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
78 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 Example:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
80 <screen>
11710
d37d4bc38f26 <replaceable> tags by Qba <jim85@wp.pl>
wight
parents: 11680
diff changeset
81 mencoder -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy <replaceable>other_options</replaceable> <replaceable>media.avi</replaceable> -o <replaceable>output.mpg</replaceable>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
83 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
84 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
85
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
86
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 <sect1 id="menc-feat-rescale">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
88 <title>Rescaling movies</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
89
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
90 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
91 Often the need to resize movie images' size emerges. Its reasons can be
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
92 many: decreasing file size, network bandwidth,etc. Most people even do
12484
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
93 rescaling when converting DVDs or SVCDs to DivX AVI. If you wish to rescale,
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
94 read the <link linkend="aspect">Preserving aspect ratio</link> section.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
95 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
96
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
97 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
98 The scaling process is handled by the <literal>scale</literal> video filter:
9677
142c42fa0986 sync with HTML
nicolas
parents: 9675
diff changeset
99 <option>-vf scale=<replaceable>width</replaceable>:<replaceable>height</replaceable></option>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
100 Its quality can be set with the <option>-sws</option> option.
14131
b2584e7ce21b Default rescaler is 2; bicubic
gpoirier
parents: 14093
diff changeset
101 If it's not specified, <application>MEncoder</application> will use 2: bicubic.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
102 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
103
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
104 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
105 Usage:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
106 <screen>
12484
58056bc98dd9 Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents: 12400
diff changeset
107 mencoder <replaceable>input.mpg</replaceable> -ovc lavc -lavcopts vcodec=mpeg4 -vf scale=640:480 -o <replaceable>output.avi</replaceable>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
108 </screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
109 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
110 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
111
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
112
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
113 <sect1 id="menc-feat-streamcopy">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
114 <title>Stream copying</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
115
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
116 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
117 <application>MEncoder</application> can handle input streams in two ways:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
118 <emphasis role="bold">encode</emphasis> or <emphasis role="bold">copy</emphasis>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
119 them. This section is about <emphasis role="bold">copying</emphasis>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
120 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
121
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
122 <itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
123 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
124 <emphasis role="bold">Video stream</emphasis> (option <option>-ovc copy</option>):
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
125 nice stuff can be done :) Like, putting (not converting!) FLI or VIVO or
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
126 MPEG-1 video into an AVI file! Of course only
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
127 <application>MPlayer</application> can play such files :) And it probably
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
128 has no real life value at all. Rationally: video stream copying can be
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
129 useful for example when only the audio stream has to be encoded (like,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
130 uncompressed PCM to MP3).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
131 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
132 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
133 <emphasis role="bold">Audio stream</emphasis> (option <option>-oac copy</option>):
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
134 straightforward. It is possible to take an external audio file (MP3,
10429
diego
parents: 10184
diff changeset
135 WAV) and mux it into the output stream. Use the
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
136 <option>-audiofile <replaceable>filename</replaceable></option> option
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
137 for this.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
138 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
139 </itemizedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
140 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
141
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
142
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
143 <sect1 id="menc-feat-fix-avi">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
144 <title>Fixing AVIs with broken index or interleaving</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
145
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
146 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
147 Easiest thing. We simply copy the video and audio streams, and
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
148 <application>MEncoder</application> generates the index. Of course this cannot fix possible bugs in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
149 the video and/or audio streams. It also fixes files with broken interleaving,
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
150 thus the <option>-ni</option> option won't be needed for them anymore.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
151 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
152
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
153 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
154 Command:
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
155 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
156 mencoder -idx <replaceable>input.avi</replaceable> -ovc copy -oac copy -o <replaceable>output.avi</replaceable><!--
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
157 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
158 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
159
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
160
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
161 <sect2 id="menc-feat-appending">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
162 <title>Appending multiple AVI files</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
163
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
164 <para>
11540
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
165 As a side-effect, the broken AVI fixer function enables <application>MEncoder</application>
d480f7e36b74 <application> attack
wight
parents: 11271
diff changeset
166 to append 2 (or more) AVI files:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
167 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
168
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
169 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
170 Command:
12599
8795514d0f29 MEncoder has problems reading from stdin, files need to be concatenated
diego
parents: 12578
diff changeset
171 <screen>cat <replaceable>1.avi</replaceable> <replaceable>2.avi</replaceable> &gt; <replaceable>3.avi</replaceable>
8795514d0f29 MEncoder has problems reading from stdin, files need to be concatenated
diego
parents: 12578
diff changeset
172 mencoder -noidx -ovc copy -oac copy -o <replaceable>output.avi</replaceable> <replaceable>3.avi</replaceable></screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
173 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
174
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
175 <note><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
176 This expects <filename>1.avi</filename> and <filename>2.avi</filename> to use
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
177 the same codecs, resolution, stream rate etc, and at least <filename>1.avi</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
178 must not be broken. You may need to fix your input AVI files first, as described
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
179 <link linkend="menc-feat-fix-avi">above</link>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
180 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
181 </sect2>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
182 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
183
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
184 <sect1 id="menc-feat-enc-libavcodec">
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11820
diff changeset
185 <title>Encoding with the <systemitem class="library">libavcodec</systemitem>
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11820
diff changeset
186 codec family</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
187
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
188 <para>
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11820
diff changeset
189 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11820
diff changeset
190 provides simple encoding to a lot of interesting video and audio formats.
11747
6ed241d3db16 lavc audio codecs are now supported.
diego
parents: 11732
diff changeset
191 You can encode to the following codecs (more or less up to date):
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
192
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
193 <informaltable frame="all">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
194 <tgroup cols="2">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
195 <thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
196 <row><entry>Codec name</entry><entry>Description</entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
197 </thead>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
198 <tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
199 <row><entry>mjpeg</entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
200 Motion JPEG
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
201 </entry></row>
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
202 <row><entry>ljpeg</entry><entry>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
203 Lossless JPEG
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
204 </entry></row>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
205 <row><entry>h263</entry><entry>
13111
fad3639920d5 H.263 spelling
diego
parents: 13022
diff changeset
206 H.263
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
207 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
208 <row><entry>h263p</entry><entry>
13111
fad3639920d5 H.263 spelling
diego
parents: 13022
diff changeset
209 H.263+
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
210 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
211 <row><entry>mpeg4</entry><entry>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
212 ISO standard MPEG-4 (DivX 5, XVID compatible)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
213 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
214 <row><entry>msmpeg4</entry><entry>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
215 pre-standard MPEG-4 variant by MS, v3 (AKA DivX3)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
216 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
217 <row><entry>msmpeg4v2</entry><entry>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
218 pre-standard MPEG-4 by MS, v2 (used in old asf files)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
219 </entry></row>
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
220 <row><entry>wmv1</entry><entry>
13222
diego
parents: 13111
diff changeset
221 Windows Media Video, version 1 (AKA WMV7)
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
222 </entry></row>
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
223 <row><entry>wmv2</entry><entry>
13222
diego
parents: 13111
diff changeset
224 Windows Media Video, version 2 (AKA WMV8)
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
225 </entry></row>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
226 <row><entry>rv10</entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
227 an old RealVideo codec
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
228 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
229 <row><entry>mpeg1video</entry><entry>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
230 MPEG-1 video
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
231 </entry></row>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
232 <row><entry>mpeg2video</entry><entry>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
233 MPEG-2 video
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
234 </entry></row>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
235 <row><entry>huffyuv</entry><entry>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
236 lossless compression
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
237 </entry></row>
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
238 <row><entry>asv1</entry><entry>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
239 ASUS Video v1
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
240 </entry></row>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
241 <row><entry>asv2</entry><entry>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
242 ASUS Video v2
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
243 </entry></row>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
244 <row><entry>ffv1</entry><entry>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
245 FFmpeg's lossless video codec
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
246 </entry></row>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
247 </tbody>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
248 </tgroup>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
249 </informaltable>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
250
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
251 The first column contains the codec names that should be passed after the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
252 <literal>vcodec</literal> config, like: <option>-lavcopts vcodec=msmpeg4</option>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
253 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
254
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
255 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
256 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
257 An example, with MJPEG compression:
10184
b6c63ab184a4 Changed a few remaining -dvd and -vcd options to dvd:// and vcd://.
diego
parents: 10065
diff changeset
258 <screen>mencoder dvd://2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -oac copy</screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
259 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
260 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
261 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
262
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
263
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
264 <sect1 id="menc-feat-enc-images">
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
265 <title>Encoding from multiple input image files (JPEG, PNG, TGA, SGI)</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
266
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
267 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
268 <application>MEncoder</application> is capable of creating movies from one
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
269 or more JPEG, PNG or TGA files. With simple framecopy it can create MJPEG
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
270 (Motion JPEG), MPNG (Motion PNG) or MTGA (Motion TGA) files.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
271 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
272
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
273 <orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
274 <title>Explanation of the process:</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
275 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
276 <application>MEncoder</application> <emphasis>decodes</emphasis> the input image(s) with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
277 <systemitem class="library">libjpeg</systemitem> (when decoding PNGs, it
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
278 will use <systemitem class="library">libpng</systemitem>).
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
279 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
280 <listitem><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
281 <application>MEncoder</application> then feeds the decoded image to the
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
282 chosen video compressor (DivX4, XviD, FFmpeg msmpeg4, etc.).
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
283 </para></listitem>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
284 </orderedlist>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
285
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
286 <formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
287 <title>Examples</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
288 <para>
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
289 The explanation of the <option>-mf</option> option is in the man page.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
290
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
291 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
292 <para>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
293 Creating an MPEG-4 file from all the JPEG files in the current directory:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
294 <screen>
14093
3bf74bf969ff Unify all image encoding examples and fix a typo (*.jpg vs *.png) noticed
diego
parents: 14024
diff changeset
295 mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o <replaceable>output.avi</replaceable>
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
296 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
297 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
298 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
299
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
300 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
301 <para>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
302 Creating an MPEG-4 file from some JPEG files in the current directory:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
303 <screen>
14093
3bf74bf969ff Unify all image encoding examples and fix a typo (*.jpg vs *.png) noticed
diego
parents: 14024
diff changeset
304 mencoder mf://<replaceable>frame001.jpg,frame002.jpg</replaceable> -mf w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o <replaceable>output.avi</replaceable>
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
305 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
306 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
307 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
308
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
309 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
310 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
311 Creating a Motion JPEG (MJPEG) file from all the JPEG files in the current
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
312 directory:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
313 <screen>
14093
3bf74bf969ff Unify all image encoding examples and fix a typo (*.jpg vs *.png) noticed
diego
parents: 14024
diff changeset
314 mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc copy -oac copy -o <replaceable>output.avi</replaceable>
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
315 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
316 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
317 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
318
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
319 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
320 <para>
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
321 Creating an uncompressed file from all the PNG files in the current directory:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
322 <screen>
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
323 mencoder mf:// -mf w=800:h=600:fps=25:type=png -ovc raw -oac copy -o <replaceable>output.avi</replaceable>
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
324 </screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
325 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
326 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
327
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
328 <note><para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
329 Width must be integer multiple of 4, it's a limitation of the RAW RGB AVI format.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
330 </para></note>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
331
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
332 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
333 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
334 Creating a Motion PNG (MPNG) file from all the PNG files in the current
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
335 directory:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
336 <screen>
14093
3bf74bf969ff Unify all image encoding examples and fix a typo (*.jpg vs *.png) noticed
diego
parents: 14024
diff changeset
337 mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc copy -oac copy -o <replaceable>output.avi</replaceable> <!--
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
338 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
339 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
340 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
341
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
342 <informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
343 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
344 Creating a Motion TGA (MTGA) file from all the TGA files in the current
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
345 directory:
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
346 <screen>
12399
9403b245fcda Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents: 11913
diff changeset
347 mencoder mf://*.tga -mf w=800:h=600:fps=25:type=tga -ovc copy -oac copy -o <replaceable>output.avi</replaceable><!--
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
348 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
349 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
350 </informalexample>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
351
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
352 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
353 </formalpara>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
354 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
355
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
356
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
357 <sect1 id="menc-feat-extractsub">
12615
84e078fd64b4 uniform VOBsub spelling
diego
parents: 12599
diff changeset
358 <title>Extracting DVD subtitles to VOBsub file</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
359
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
360 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
361 <application>MEncoder</application> is capable of extracting subtitles from
12615
84e078fd64b4 uniform VOBsub spelling
diego
parents: 12599
diff changeset
362 a DVD into VOBsub formatted files. They consist of a pair of files ending in
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
363 <filename>.idx</filename> and <filename>.sub</filename> and are usually
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
364 packaged in a single <filename>.rar</filename> archive.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
365 <application>MPlayer</application> can play these with the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
366 <option>-vobsub</option> and <option>-vobsubid</option> options.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
367 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
368
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
369 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
370 You specify the basename (i.e without the <filename>.idx</filename> or
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
371 <filename>.sub</filename> extension) of the output files with
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
372 <option>-vobsubout</option> and the index for this subtitle in the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
373 resulting files with <option>-vobsuboutindex</option>.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
374 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
375
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
376 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
377 If the input is not from a DVD you should use <option>-ifo</option> to
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
378 indicate the <filename>.ifo</filename> file needed to construct the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
379 resulting <filename>.idx</filename> file.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
380 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
381
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
382 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
383 If the input is not from a DVD and you do not have the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
384 <filename>.ifo</filename> file you will need to use the
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
385 <option>-vobsubid</option> option to let it know what language id to put in
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
386 the <filename>.idx</filename> file.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
387 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
388
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
389 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
390 Each run will append the running subtitle if the <filename>.idx</filename>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
391 and <filename>.sub</filename> files already exist. So you should remove any
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
392 before starting.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
393 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
394
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
395 <example>
14421
4a70b65cd2ae consistent "two pass" spelling
diego
parents: 14131
diff changeset
396 <title>Copying two subtitles from a DVD while doing two pass encoding</title>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
397 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
398 rm subtitles.idx subtitles.sub
12776
1154a70ade70 3-pass encoding is evil.
diego
parents: 12758
diff changeset
399 mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -vobsubout subtitles -vobsuboutindex 0 -sid 2
12400
903ac68f2bc8 divx --> lavc, spelling, more sensible section name
diego
parents: 12399
diff changeset
400 mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -vobsubout subtitles -vobsuboutindex 1 -sid 5<!--
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
401 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
402 </example>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
403
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
404 <example>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
405 <title>Copying a french subtitle from an MPEG file</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
406 <screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
407 rm subtitles.idx subtitles.sub
11710
d37d4bc38f26 <replaceable> tags by Qba <jim85@wp.pl>
wight
parents: 11680
diff changeset
408 mencoder <replaceable>movie.mpg</replaceable> -ifo <replaceable>movie.ifo</replaceable> -vobsubout subtitles -vobsuboutindex 0 -vobsuboutid fr -sid 1<!--
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
409 --></screen>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
410 </example>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
411
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
412 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
413
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
414 <sect1 id="aspect">
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
415 <title>Preserving aspect ratio</title>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
416 <para>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
417 DVDs and SVCDs (i.e. MPEG-1/2) files contain an aspect ratio value, which
10065
422876da049e Error in the aspect ratio calculation, plus typos and rewordings.
diego
parents: 9677
diff changeset
418 describes how the player should scale the video stream, so humans won't
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
419 have egg heads (ex.: 480x480 + 4:3 = 640x480). However when encoding to AVI
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
420 (DivX) files, you have be aware that AVI headers don't store this value.
10065
422876da049e Error in the aspect ratio calculation, plus typos and rewordings.
diego
parents: 9677
diff changeset
421 Rescaling the movie is disgusting and time consuming, there has to be a better
422876da049e Error in the aspect ratio calculation, plus typos and rewordings.
diego
parents: 9677
diff changeset
422 way!
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
423 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
424
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
425 <para>There is</para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
426
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
427 <para>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
428 MPEG-4 has an unique feature: the video stream can contain its needed aspect
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
429 ratio. Yes, just like MPEG-1/2 (DVD, SVCD) and H.263 files. Regretfully, there are
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
430 <emphasis role="bold">no</emphasis> video players outside which support this
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
431 attribute of MPEG-4, except <application>MPlayer</application>.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
432 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
433
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
434 <para>
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11820
diff changeset
435 This feature can be used only with
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11820
diff changeset
436 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>'s
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
437 <systemitem>mpeg4</systemitem> codec. Keep in mind: although
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
438 <application>MPlayer</application> will correctly play the created file,
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
439 other players will use the wrong aspect ratio.
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
440 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
441
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
442 <para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
443 You seriously should crop the black bands over and below the movie image.
10065
422876da049e Error in the aspect ratio calculation, plus typos and rewordings.
diego
parents: 9677
diff changeset
444 See the man page for the usage of the <systemitem>cropdetect</systemitem> and
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
445 <systemitem>crop</systemitem> filters.
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
446 </para>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
447
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
448 <para>
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
449 Usage
11710
d37d4bc38f26 <replaceable> tags by Qba <jim85@wp.pl>
wight
parents: 11680
diff changeset
450 <screen>mencoder <replaceable>sample-svcd.mpg</replaceable> -ovc lavc -lavcopts vcodec=mpeg4:autoaspect -vf crop=714:548:0:14 -oac copy -o <replaceable>output.avi</replaceable></screen>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
451 </para>
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
452 </sect1>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
453
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
454 <sect1 id="custommatrices"><title>Custom inter/intra matrices</title>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
455
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
456 <para>
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11820
diff changeset
457 With this feature of
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11820
diff changeset
458 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
13022
diego
parents: 12776
diff changeset
459 you are able to set custom inter (I-frames/keyframes) and intra
11822
359eaf957bf1 Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents: 11820
diff changeset
460 (P-frames/predicted frames) matrices. It is supported by many of the codecs:
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
461 <systemitem>mpeg1video</systemitem> and <systemitem>mpeg2video</systemitem>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
462 are reported as working.
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
463 </para>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
464
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
465 <para>
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
466 A typical usage of this feature is to set the matrices preferred by the
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
467 <ulink url="http://www.kvcd.net/">KVCD</ulink> specifications.
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
468 </para>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
469
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
470 <para>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
471 The <emphasis role="bold">KVCD &quot;Notch&quot; Quantization Matrix:</emphasis>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
472 </para>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
473
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
474 <para>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
475 Intra:
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
476 <screen>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
477 8 9 12 22 26 27 29 34
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
478 9 10 14 26 27 29 34 37
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
479 12 14 18 27 29 34 37 38
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
480 22 26 27 31 36 37 38 40
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
481 26 27 29 36 39 38 40 48
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
482 27 29 34 37 38 40 48 58
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
483 29 34 37 38 40 48 58 69
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
484 34 37 38 40 48 58 69 79
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
485 </screen>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
486
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
487 Inter:
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
488 <screen>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
489 16 18 20 22 24 26 28 30
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
490 18 20 22 24 26 28 30 32
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
491 20 22 24 26 28 30 32 34
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
492 22 24 26 30 32 32 34 36
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
493 24 26 28 32 34 34 36 38
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
494 26 28 30 32 34 36 38 40
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
495 28 30 32 34 36 38 42 42
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
496 30 32 34 36 38 40 42 44
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
497 </screen>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
498 </para>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
499
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
500 <para>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
501 Usage:
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
502 <screen>
11710
d37d4bc38f26 <replaceable> tags by Qba <jim85@wp.pl>
wight
parents: 11680
diff changeset
503 $ mencoder <replaceable>input.avi</replaceable> -o <replaceable>output.avi</replaceable> -oac copy -ovc lavc -lavcopts inter_matrix=...:intra_matrix=...
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
504 </screen>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
505 </para>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
506
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
507 <para>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
508 <screen>
11710
d37d4bc38f26 <replaceable> tags by Qba <jim85@wp.pl>
wight
parents: 11680
diff changeset
509 $ mencoder <replaceable>input.avi</replaceable> -ovc lavc -lavcopts
10869
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
510 vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
511 12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
512 29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
513 :inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
514 28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
515 36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44 -oac copy -o svcd.mpg
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
516 </screen>
364d43cee33e sync with HTML
diego
parents: 10429
diff changeset
517 </para>
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
518 </sect1>
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
519
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
520 <sect1 id="menc-feat-dvd-mpeg4">
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
521 <title>Making a high quality MPEG-4 (&quot;DivX&quot;) rip of a DVD movie</title>
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
522
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
523 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
524 One frequently asked question is "How do I make the highest quality DVD
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
525 rip possible? I don't care about file size, I just want the best
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
526 quality."
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
527 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
528
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
529 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
530 This question is perhaps at least somewhat wrongly posed. After all, if
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
531 you don't care about file size, why not simply copy the MPEG-2 video
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
532 stream from the DVD whole? Sure, your AVI will end up being 5GB, give
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
533 or take, but if you want the best quality and don't care about size,
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
534 this is certainly your best option.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
535 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
536
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
537 <para>
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
538 In fact, the reason you want to transcode a DVD into MPEG-4 is
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
539 specifically because you <emphasis role="bold">do</emphasis> care about
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
540 file size.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
541 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
542
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
543 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
544 It's difficult to offer a cookbook recipe on how to create a very high
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
545 quality DVD rip. There are several factors to consider, and you should
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
546 understand these details or else you're likely to end up disappointed
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
547 with your results. Below we'll investigate some of these issues, and
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
548 then have a look at an example. We assume you're using
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
549 <systemitem class="library">libavcodec</systemitem> to encode the video,
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
550 although the theory applies to other codecs as well.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
551 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
552
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
553 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
554 The main assumption of this guide is that you have no specific file size
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
555 constraints and have no problem giving up bits in exchange for quality.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
556 While much of the information presented here is useful in any case, some
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
557 of it may work against you if you have a file size goal, such as fitting a
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
558 video on a CD.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
559 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
560
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
561 <sect2 id="menc-feat-dvd-mpeg4-2pass">
14421
4a70b65cd2ae consistent "two pass" spelling
diego
parents: 14131
diff changeset
562 <title>Constant Quantizer vs. two pass</title>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
563
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
564 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
565 There are three approaches to encoding the video: constant bitrate
14421
4a70b65cd2ae consistent "two pass" spelling
diego
parents: 14131
diff changeset
566 (CBR), constant quantizer, and two pass (ABR, or average bitrate).
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
567 </para>
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
568
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
569 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
570 In each of these modes, <systemitem class="library">libavcodec</systemitem>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
571 breaks the video frame into 16x16 pixel macroblocks and then applies a
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
572 quantizer to each macroblock. The lower the quantizer, the better the
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
573 quality and higher the bitrate. The method
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
574 <systemitem class="library">libavcodec</systemitem> uses to determine
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
575 which quantizer to use for a given macroblock varies and is highly
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
576 tunable. (This is an extreme over-simplification of the actual
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
577 process, but the basic concept is useful to understand.)
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
578 </para>
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
579
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
580 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
581 When you specify a constant bitrate, <systemitem
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
582 class="library">libavcodec</systemitem> will encode the video, discarding
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
583 detail as much as necessary and as little as possible in order to remain
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
584 lower than the given bitrate. If you truly don't care about file size,
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
585 you could as well use CBR and specify a bitrate of infinity. (In
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
586 practice, this means a value high enough so that it poses no limit, like
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
587 10000Kbit.) With no real restriction on bitrate, the result is that
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
588 <systemitem class="library">libavcodec</systemitem> will use the lowest
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
589 possible quantizer for each macroblock (as specified by
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
590 <option>vqmin</option>, which is 2 by default). As soon as you specify a
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
591 low enough bitrate that <systemitem class="library">libavcodec</systemitem>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
592 is forced to use a higher quantizer, then you're almost certainly ruining
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
593 the quality of your video. In general, you should avoid CBR altogether if
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
594 you care about quality.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
595 </para>
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
596
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
597 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
598 With constant quantizer, <systemitem
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
599 class="library">libavcodec</systemitem> uses the same quantizer, as
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
600 specified by the <option>vqscale</option> option, on every macroblock. If
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
601 you want the highest quality rip possible, again ignoring bitrate, you can
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
602 use <option>vqscale=2</option>. This will yield the same bitrate and PSNR
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
603 (peak signal-to-noise ratio) as CBR with
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
604 <option>vbitrate</option>=infinity and the default <option>vqmin</option>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
605 of 2.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
606 </para>
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
607
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
608 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
609 The problem with constant quantizing is that it uses the given quantizer
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
610 whether the macroblock needs it or not. That is, it might be possible
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
611 to use a higher quantizer on a macroblock without sacrificing visual
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
612 quality. Why waste the bits on an unnecessarily low quantizer? Your
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
613 CPU has as many cycles as there is time, but there's only so many bits
13523
diego
parents: 13222
diff changeset
614 on your hard disk.
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
615 </para>
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
616
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
617 <para>
14421
4a70b65cd2ae consistent "two pass" spelling
diego
parents: 14131
diff changeset
618 With a two pass encode, the first pass will rip the movie as though it
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
619 were CBR, but it will keep a log of properties for each frame. This
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
620 data is then used during the second pass in order to make intelligent
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
621 decisions about which quantizers to use. During fast action or low
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
622 detail scenes, higher quantizers will likely be used, and during
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
623 slow moving or high detail scenes, lower quantizers will be used.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
624 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
625
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
626 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
627 If you use <option>vqscale=2</option>, then you're wasting bits. If you
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
628 use <option>vqscale=3</option>, then you're not getting the highest
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
629 quality rip. Suppose you rip a DVD at <option>vqscale=3</option>, and
14421
4a70b65cd2ae consistent "two pass" spelling
diego
parents: 14131
diff changeset
630 the result is 1800Kbit. If you do a two pass encode with
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
631 <option>vbitrate=1800</option>, the resulting video will have <emphasis
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
632 role="bold">higher quality</emphasis> for the
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
633 <emphasis role="bold">same bitrate</emphasis>.
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
634 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
635
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
636 <para>
14421
4a70b65cd2ae consistent "two pass" spelling
diego
parents: 14131
diff changeset
637 Since you're now convinced that two pass is the way to go, the real
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
638 question now is what bitrate to use? The answer is that there's no
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
639 single answer. Ideally you want to choose a bitrate that yields the
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
640 best balance between quality and file size. This is going to vary
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
641 depending on the source video.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
642 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
643
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
644 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
645 A good starting point for a very high quality rip is about 2000Kbit plus
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
646 or minus 200Kbit. For fast action or high detail source video, or if
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
647 you just have a very critical eye, you might decide on 2400 or 2600.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
648 For some DVDs, you might not notice a difference at 1400Kbit. It's a
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
649 good idea to experiment with scenes at different bitrates to get a feel.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
650 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
651
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
652 </sect2>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
653
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
654 <sect2 id="menc-feat-dvd-mpeg4-crop">
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
655 <title>Cropping and Scaling</title>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
656
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
657 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
658 Native DVD resolution is 720x480 for NTSC, and 720x576 for PAL, but
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
659 there's an aspect flag that specifies whether it's full-screen (4:3) or
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
660 wide-screen (16:9). Many (if not most) widescreen DVDs are not strictly
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
661 16:9, and will be either 1.85:1 or 2.35:1 (cinescope). This means that
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
662 there will be black bands in the video that will need to be cropped out.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
663 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
664
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
665 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
666 <application>MPlayer</application> provides a crop detection filter that
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
667 will determine the crop rectangle (<option>-vf cropdetect</option>).
14024
0d9e27059495 MPEG-X spelling
diego
parents: 13523
diff changeset
668 Because MPEG-4 uses 16x16 macroblocks, you'll want to make sure that each
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
669 dimension of the video you're encoding is a multiple of 16 or else you
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
670 will be degrading quality, especially at lower bitrates. You can do this
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
671 by rounding the width and height of the crop rectangle down to the nearest
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
672 multiple of 16. When cropping, you'll want to increase the y-offset by
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
673 half the difference of the old and the new height so that the resulting
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
674 video is taken from the center of the frame. And because of the way DVD
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
675 video is sampled, make sure the offset is an even number. (In fact, as a
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
676 rule, never use odd values for any parameter when you're cropping and
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
677 scaling video.) If you're not comfortable throwing a few extra pixels
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
678 away, you might prefer instead to scale the video instead. We'll look
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
679 at this in our example below.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
680 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
681
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
682 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
683 Also, be careful about "half black" pixels at the edges. Make sure you
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
684 crop these out too, or else you'll be wasting bits there that
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
685 are better spent elsewhere.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
686 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
687
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
688 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
689 After all is said and done, you'll probably end up with video whose pixels
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
690 aren't quite 1.85:1 or 2.35:1, but rather something close to that. You
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
691 could calculate the new aspect ratio manually, but
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
692 <application>MEncoder</application> offers an option for <systemitem
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
693 class="library">libavcodec</systemitem> called <option>autoaspect</option>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
694 that will do this for you. Absolutely do not scale this video in order to
13523
diego
parents: 13222
diff changeset
695 square the pixels unless you like to waste your hard disk space. Scaling
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
696 should be done on playback, and the player will use the aspect stored in
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
697 the AVI to determine the correct resolution.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
698 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
699
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
700 </sect2>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
701
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
702 <sect2 id="menc-feat-dvd-mpeg4-audio">
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
703 <title>Audio</title>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
704
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
705 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
706 Audio is a much simpler problem to solve: just leave it as is. Even AC3
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
707 5.1 streams are at most 448Kbit/s, and they're worth every bit. You
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
708 might be tempted to transcode the audio to high quality Ogg Vorbis, but
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
709 just because you don't have an A/V receiver for AC3 pass-through today
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
710 doesn't mean you won't have one tomorrow. Future-proof your DVD rips by
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
711 preserving the AC3 stream.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
712 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
713
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
714
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
715 </sect2>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
716
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
717 <sect2 id="menc-feat-dvd-mpeg4-interlacing">
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
718 <title>Interlacing and Telecine</title>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
719
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
720 <para>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
721 Almost all movies are shot at 24 fps. Because NTSC is 30000/1001 fps, some
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
722 processing must be done to this 24 fps video to make it run at the correct
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
723 NTSC framerate. The process is called 3:2 pulldown, commonly referred to
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
724 as telecine (because pulldown is often applied during the telecine
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
725 process), and, naively described, it works by slowing the film down to
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
726 24000/1001 fps, and repeating every fourth frame.
11780
8e7098f960f8 some little clarifications and additions
diego
parents: 11747
diff changeset
727 </para>
8e7098f960f8 some little clarifications and additions
diego
parents: 11747
diff changeset
728
8e7098f960f8 some little clarifications and additions
diego
parents: 11747
diff changeset
729 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
730 No special processing, however, is done to the video for PAL DVDs, which
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
731 run at 25 fps. (Technically, PAL can be telecined, called 2:2 pulldown,
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
732 but this doesn't become an issue in practice.) The 24 fps film is simply
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
733 played back at 25 fps. The result is that the movie runs slightly faster,
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
734 but unless you're an alien, you probably won't notice the difference.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
735 Most PAL DVDs have pitch-corrected audio, so when they're played back at
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
736 25 fps things will sound right, even though the audio track (and hence the
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
737 whole movie) has a running time that's 4% less than NTSC DVDs.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
738 </para>
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
739
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
740 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
741 Because the video in a PAL DVD hasn't been altered, you needn't worry
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
742 much about frame rate. The source is 25 fps, and your rip will be 25
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
743 fps. However, if you're ripping an NTSC DVD movie, you may need to
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
744 apply inverse telecine.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
745 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
746
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
747 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
748 For movies shot at 24 fps, the video on the NTSC DVD is either telecined
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
749 30000/1001, or else it is progressive 24000/1001 fps and intended to be telecined
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
750 on-the-fly by a DVD player. On the other hand, TV series are usually
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
751 only interlaced, not telecined. This is not a hard rule: some TV series
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
752 are interlaced (such as Buffy the Vampire Slayer) whereas some are a
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
753 mixture of progressive and interlaced (such as Angel, or 24).
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
754 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
755
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
756 <para>
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
757 It's highly recommended that you read the section on
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
758 <link linkend="menc-feat-telecine">How to deal with telecine and interlacing in NTSC DVDs</link>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
759 to learn how to handle the different possibilities.
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
760 </para>
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
761
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
762 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
763 However, if you're mostly just ripping movies, likely you're either
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
764 dealing with 24 fps progressive or telecined video, in which case you can
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
765 use the <option>pullup</option> filter <option>-vf
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
766 pullup,softskip</option>.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
767 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
768
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
769 </sect2>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
770
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
771
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
772 <sect2 id="menc-feat-dvd-mpeg4-filtering">
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
773 <title>Filtering</title>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
774
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
775 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
776 In general, you want to do as little filtering as possible to the movie
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
777 in order to remain close to the original DVD source. Cropping is often
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
778 necessary (as described above), but do not scale the video. Although
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
779 scaling down is sometimes preferred to using higher quantizers, we want
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
780 to avoid both these things: remember that we decided from the start to
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
781 trade bits for quality.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
782 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
783
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
784 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
785 Also, do not adjust gamma, contrast, brightness, etc. What looks good
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
786 on your display may not look good on others. These adjustments should
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
787 be done on playback only.
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
788 </para>
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
789
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
790 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
791 One thing you might want to do, however, is pass the video through a
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
792 very light denoise filter, such as <option>-vf hqdn3d=2:1:2</option>.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
793 Again, it's a matter of putting those bits to better use: why waste them
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
794 encoding noise when you can just add that noise back in during playback?
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
795 Increasing the parameters for <option>hqdn3d</option> will further
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
796 improve compressibility, but if you increase the values too much, you
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
797 risk degrading the image visibily. The suggested values above
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
798 (<option>2:1:2</option>) are quite conservative; you should feel free to
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
799 experiment with higher values and observe the results for yourself.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
800 </para>
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
801
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
802 </sect2>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
803
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
804
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
805 <sect2 id="menc-feat-dvd-mpeg4-example">
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
806 <title>Example</title>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
807
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
808 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
809 So, you've just bought your shiny new copy of Harry Potter and the Chamber
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
810 of Secrets (widescreen edition, of course), and you want to rip this DVD
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
811 so that you can add it to your Home Theatre PC. This is a region 1 DVD,
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
812 so it's NTSC. The example below will still apply to PAL, except you'll
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
813 omit <option>-ofps 24000/1001</option> (because the output framerate is the
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
814 same as the input framerate), and of course the crop dimensions will be
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
815 different.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
816 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
817
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
818 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
819 After running <option>mplayer dvd://1</option>, we follow the process
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
820 detailed in the section <link linkend="menc-feat-telecine">How to deal
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
821 with telecine and interlacing in NTSC DVDs</link> and discover that it's
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
822 24000/1001 fps progressive video, which means that we needn't use an inverse
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
823 telecine filter, such as <option>pullup</option> or
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
824 <option>filmdint</option>.
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
825 </para>
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
826
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
827 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
828 Next, we want to determine the appropriate crop rectangle, so we use the
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
829 cropdetect filter:
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
830
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
831 <screen>mplayer dvd://1 -vf cropdetect</screen>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
832
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
833 Make sure you seek to a fully filled frame (such as a bright scene), and
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
834 you'll see in <application>MPlayer</application>'s console output:
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
835
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
836 <screen>crop area: X: 0..719 Y: 57..419 (-vf crop=720:362:0:58)</screen>
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
837
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
838 We then play the movie back with this filter to test its correctness:
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
839
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
840 <screen>mplayer dvd://1 -vf crop=720:362:0:58</screen>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
841
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
842 And we see that it looks perfectly fine. Next, we ensure the width and
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
843 height are a multiple of 16. The width is fine, however the height is
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
844 not. Since we didn't fail 7th grade math, we know that the nearest
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
845 multiple of 16 lower than 362 is 352.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
846 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
847
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
848 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
849 We could just use <option>crop=720:352:0:58</option>, but it'd be nice
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
850 to take a little off the top and a little off the bottom so that we
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
851 retain the center. We've shrunk the height by 10 pixels, but we don't
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
852 want to increase the y-offset by 5-pixels since that's an odd number and
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
853 will adversely affect quality. Instead, we'll increase the y-offset by
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
854 4 pixels:
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
855
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
856 <screen>mplayer dvd://1 -vf crop=720:352:0:62</screen>
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
857
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
858 Another reason to shave pixels from both the top and the bottom is that we
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
859 ensure we've eliminated any half-black pixels if they exist. Note that if
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
860 your video is telecined, make sure the <option>pullup</option> filter (or
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
861 whichever inverse telecine filter you decide to use) appears in the filter
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
862 chain before you crop. If it is interlaced, deinterlace before cropping.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
863 (If you choose to preserve the interlaced video, then make sure your
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
864 vertical crop offset is a multiple of 4.)
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
865 </para>
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
866
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
867 <para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
868 If you're really concerned about losing those 10 pixels, you might
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
869 prefer instead to scale the dimensions down to the nearest multiple of 16.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
870 The filter chain would look like:
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
871
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
872 <screen>-vf crop=720:362:0:58,scale=720:352</screen>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
873
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
874 Scaling the video down like this will mean that some small amount of
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
875 detail is lost, though it probably won't be perceptible. Scaling up will
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
876 result in lower quality (unless you increase the bitrate). Cropping
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
877 discards those pixels altogether. It's a tradeoff that you'll want to
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
878 consider for each circumstance. For example, if the DVD video was made
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
879 for television, you might want to avoid vertical scaling, since the line
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
880 sampling corresponds to the way the content was originally recorded.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
881 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
882
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
883 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
884 On inspection, we see that our movie has a fair bit of action and high
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
885 amounts of detail, so we pick 2400Kbit for our bitrate.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
886 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
887
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
888 <para>
14422
a4f2691c0109 consistent pass two and pass one spelling
diego
parents: 14421
diff changeset
889 We're now ready to do the two pass encode. Pass one:
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
890
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
891 <screen>mencoder dvd://1 -ofps 24000/1001 -oac copy -vf crop=720:352:0:62,hqdn3d=2:1:2 -ovc lavc \
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
892 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=1 \
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
893 -o Harry_Potter_2.avi</screen>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
894
14422
a4f2691c0109 consistent pass two and pass one spelling
diego
parents: 14421
diff changeset
895 And pass two is the same, except that we specify <option>vpass=2</option>:
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
896
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
897 <screen>mencoder dvd://1 -ofps 24000/1001 -oac copy -vf crop=720:352:0:62,hqdn3d=2:1:2 -ovc lavc \
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
898 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=2 \
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
899 -o Harry_Potter_2.avi</screen>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
900 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
901
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
902 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
903 The options <option>v4mv:mbd=2:trell</option> will greatly increase the
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
904 quality at the expense of encoding time. There's little reason to leave
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
905 these options out when the primary goal is quality. The options
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
906 <option>cmp=3:subcmp=3:mbcmp=3</option> select a comparison function that
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
907 yields higher quality than the defaults. You might try experimenting with
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
908 this parameter (refer to the man page for the possible values) as
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
909 different functions can have a large impact on quality depending on the
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
910 source material. For example, if you find
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
911 <systemitem class="library">libavcodec</systemitem> produces too much
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
912 blocky artifacting, you could try selecting the experimental NSSE as
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
913 comparison function via <option>*cmp=10</option>.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
914 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
915
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
916 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
917 For this movie, the resulting AVI will be 138 minutes long and nearly
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
918 3GB. And because you said that file size doesn't matter, this is a
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
919 perfectly acceptable size. However, if you had wanted it smaller, you
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
920 could try a lower bitrate. Increasing bitrates have diminishing
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
921 returns, so while we might clearly see an improvement from 1800Kbit to
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
922 2000Kbit, it might not be so noticeable above 2000Kbit. Feel
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
923 free to experiment until you're happy.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
924 </para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
925
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
926 <para>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
927 Because we passed the source video through a denoise filter, you may want
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
928 to add some of it back during playback. This, along with the
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
929 <option>spp</option> post-processing filter, drastically improves the
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
930 perception of quality and helps eliminate blocky artifacts in the video.
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
931 With <application>MPlayer</application>'s <option>autoq</option> option,
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
932 you can vary the amount of post-processing done by the spp filter
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
933 depending on available CPU. Also, at this point, you may want to apply
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
934 gamma and/or color correction to best suit your display. For example:
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
935
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
936 <screen>mplayer Harry_Potter_2.avi -vf spp,noise=9ah:5ah,eq2=1.2 -autoq 3</screen>
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
937
11732
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
938 </para>
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
939 </sect2>
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
940
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
941 </sect1>
d5784b575959 DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents: 11710
diff changeset
942
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
943 <sect1 id="menc-feat-telecine">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
944 <title>How to deal with telecine and interlacing within NTSC DVDs</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
945
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
946 <sect2 id="menc-feat-telecine-intro">
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
947 <title>Introduction</title>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
948 <formalpara>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
949 <title>What is telecine?</title>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
950 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
951 I suggest you visit this page if you don't understand much of what
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
952 is written in this document:
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
953 <ulink url="http://www.divx.com/support/guides/guide.php?gid=10">http://www.divx.com/support/guides/guide.php?gid=10</ulink>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
954 This URL links to an understandable and reasonably comprehensive
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
955 description of what telecine is.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
956 </para></formalpara>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
957
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
958 <formalpara>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
959 <title>A note about the numbers.</title>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
960 <para>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
961 Many documents, including the guide linked above, refer to the fields
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
962 per second value of NTSC video as 59.94 and the corresponding frames
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
963 per second values as 29.97 (for telecined and interlaced) and 23.976
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
964 (for progressive). For simplicity, some documents even round these
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
965 numbers to 60, 30, and 24.
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
966 </para></formalpara>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
967
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
968 <para>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
969 Strictly speaking, all those numbers are approximations. Black and
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
970 white NTSC video was exactly 60 fields per second, but 60000/1001
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
971 was later chosen to accomodate color data while remaining compatible
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
972 with contemporary black and white televisions. Digital NTSC video
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
973 (such as on a DVD) is also 60000/1001 fields per second. From this,
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
974 interlaced and telecined video are derived to be 30000/1001 frames
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
975 per second; progressive video is 24000/1001 frames per second.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
976 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
977
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
978 <para>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
979 Older versions of the <application>MEncoder</application> documentation
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
980 and many archived mailing list posts refer to 59.94, 29.97, and 23.976.
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
981 All <application>MEncoder</application> documentation has been updated
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
982 to use the fractional values, and you should use them too.
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
983 </para>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
984
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
985 <para>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
986 <option>-ofps 23.976</option> is incorrect.
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
987 <option>-ofps 24000/1001</option> should be used instead.
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
988 </para>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
989
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
990 <formalpara>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
991 <title>How telecine is used.</title>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
992 <para>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
993 All video intended to be displayed on an NTSC
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
994 television set must be 60000/1001 fields per second. Made-for-TV movies
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
995 and shows are often filmed directly at 60000/1001 fields per second, but
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
996 the majority of cinema is filmed at 24 or 24000/1001 frames per
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
997 second. When cinematic movie DVDs are mastered, the video is then
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
998 converted for television using a process called telecine.
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
999 </para></formalpara>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1000
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1001 <para>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1002 On a DVD, the video is never actually stored as 60000/1001 fields per
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1003 second. For video that was originally 60000/1001, each pair of fields is
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1004 combined to form a frame, resulting in 30000/1001 frames per
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1005 second. Hardware DVD players then read a flag embedded in the video
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1006 stream to determine whether the odd- or even-numbered lines should
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1007 form the first field.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1008 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1009
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1010 <para>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1011 Usually, 24000/1001 frames per second content stays as it is when
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1012 encoded for a DVD, and the DVD player must perform telecining
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1013 on-the-fly. Sometimes, however, the video is telecined
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1014 <emphasis>before</emphasis> being stored on the DVD; even though it
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1015 was originally 24000/1001 frames per second, it becomes 60000/1001 fields per
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1016 second. When it is stored on the DVD, pairs of fields are combined to form
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1017 30000/1001 frames per second.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1018 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1019
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1020 <para>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1021 When looking at individual frames formed from 60000/10001 fields per
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1022 second video, telecined or otherwise, interlacing is clearly visible
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1023 wherever there is any motion, because one field (say, the
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1024 even-numbered lines) represents a moment in time 1/(60000/1001)
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1025 seconds later than the other. Playing interlaced video on a computer
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1026 looks ugly both because the monitor is higher resolution and because
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1027 the video is shown frame-after-frame instead of field-after-field.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1028 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1029
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1030 <itemizedlist>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1031 <title>Notes:</title>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1032 <listitem><para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1033 This section only applies to NTSC DVDs, and not PAL.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1034 </para></listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1035 <listitem><para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1036 The example <application>MEncoder</application> lines throughout the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1037 document are <emphasis role="bold">not</emphasis> intended for
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1038 actual use. They are simply the bare minimum required to encode the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1039 pertaining video category. How to make good DVD rips or fine-tune
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1040 <systemitem class="library">libavcodec</systemitem> for maximum
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1041 quality is not within the scope of this document.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1042 </para></listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1043 <listitem><para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
1044 There are a couple footnotes specific to this guide, linked like this:
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1045 <link linkend="menc-feat-telecine-footnotes">[1]</link>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1046 </para></listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1047 </itemizedlist>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1048 </sect2>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1049
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1050 <sect2 id="menc-feat-telecine-ident">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1051 <title>How to tell what type of video you have</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1052
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1053 <sect3 id="menc-feat-telecine-ident-progressive">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1054 <title>Progressive</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1055 <para>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1056 Progressive video was originally filmed at 24000/1001 fps, and stored
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1057 on the DVD without alteration.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1058 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1059
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1060 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1061 When you play a progressive DVD in <application>MPlayer</application>,
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1062 <application>MPlayer</application> will print the following line as
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1063 soon as the movie begins to play:
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1064
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1065 <screen> demux_mpg: 24000/1001 fps progressive NTSC content detected, switching framerate.</screen>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1066
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1067 From this point forward, demux_mpg should never say it finds
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1068 &quot;30000/1001 fps NTSC content.&quot;
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1069 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1070
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1071 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1072 When you watch progressive video, you should never see any
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1073 interlacing. Beware, however, because sometimes there is a tiny bit
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1074 of telecine mixed in where you wouldn't expect. I've encountered TV
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1075 show DVDs that have one second of telecine at every scene change, or
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1076 at seemingly random places. I once watched a DVD that had a
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1077 progressive first half, and the second half was telecined. If you
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1078 want to be <emphasis>really</emphasis> thorough, you can scan the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1079 entire movie:
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1080
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1081 <screen>mplayer dvd://1 -nosound -vo null -benchmark</screen>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1082
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1083 Using <option>-benchmark</option> makes
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1084 <application>MPlayer</application> play the movie as quickly as it
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1085 possibly can; still, depending on your hardware, it can take a
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1086 while. Every time demux_mpg reports a framerate change, the line
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1087 immediately above will show you the time at which the change
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1088 occurred.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1089 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1090
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1091 <para>
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1092 Sometimes progressive video on DVDs is referred to as
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1093 &quot;soft-telecine&quot; because it is intended to
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1094 be telecined by the DVD player.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1095 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1096 </sect3>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1097
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1098 <sect3 id="menc-feat-telecine-ident-telecined">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1099 <title>Telecined</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1100 <para>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1101 Telecined video was originally filmed at 24000/1001, but was telecined
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1102 <emphasis>before</emphasis> it was written to the DVD.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1103 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1104
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1105 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1106 <application>MPlayer</application> does not (ever) report any
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1107 framerate changes when it plays telecined video.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1108 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1109
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1110 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1111 Watching a telecined video, you will see interlacing artifacts that
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1112 seem to &quot;blink&quot;: they repeatedly appear and disappear.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1113 You can look closely at this by
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1114 <orderedlist>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1115 <listitem>
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1116 <screen>mplayer dvd://1</screen>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1117 </listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1118 <listitem><para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1119 Seek to a part with motion.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1120 </para></listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1121 <listitem><para>
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1122 Use the <keycap>.</keycap> key to step forward one frame at a time.
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1123 </para></listitem>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1124 <listitem><para>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1125 Look at the pattern of interlaced-looking and progressive-looking
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1126 frames. If the pattern you see is PPPII,PPPII,PPPII,... then the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1127 video is telecined. If you see some other pattern, then the video
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1128 may have been telecined using some non-standard method;
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1129 <application>MEncoder</application> cannot losslessly convert
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1130 non-standard telecine to progressive. If you don't see any
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1131 pattern at all, then it is most likely interlaced.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1132 </para></listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1133 </orderedlist>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1134 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1135
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1136 <para>
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1137 Sometimes telecined video on DVDs is referred to as
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1138 &quot;hard-telecine&quot;. Since hard-telecine is already 60000/1001 fields
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1139 per second, the DVD player plays the video without any manipulation.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1140 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1141 </sect3>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1142
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1143 <sect3 id="menc-feat-telecine-ident-interlaced">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1144 <title>Interlaced</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1145 <para>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1146 Interlaced video was originally filmed at 60000/1001 fields per second,
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1147 and stored on the DVD as 30000/1001 frames per second. The interlacing effect
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1148 (often called &quot;combing&quot;) is a result of combining pairs of
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1149 fields into frames. Each field is supposed to be 1/(60000/1001) seconds apart,
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1150 and when they are displayed simultaneously the difference is apparent.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1151 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1152
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1153 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1154 As with telecined video, <application>MPlayer</application> should
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1155 not ever report any framerate changes when playing interlaced content.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1156 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1157
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1158 <para>
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1159 When you view an interlaced video closely by frame-stepping with the
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1160 <keycap>.</keycap> key, you will see that every single frame is interlaced.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1161 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1162 </sect3>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1163
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1164 <sect3 id="menc-feat-telecine-ident-mixedpt">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1165 <title>Mixed progressive and telecine</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1166 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1167 All of a &quot;mixed progressive and telecine&quot; video was originally
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1168 24000/1001 frames per second, but some parts of it ended up being telecined.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1169 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1170
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1171 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1172 When <application>MPlayer</application> plays this category, it will
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1173 (often repeatedly) switch back and forth between &quot;30000/1001 fps NTSC&quot;
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1174 and &quot;24000/1001 fps progressive NTSC&quot;. Watch the bottom of
12578
3f543ec01d1e 's should be outside of <application> tags.
diego
parents: 12484
diff changeset
1175 <application>MPlayer</application>'s output to see these messages.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1176 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1177
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1178 <para>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1179 You should check the &quot;30000/1001 fps NTSC&quot; sections to make sure
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1180 they are actually telecine, and not just interlaced.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1181 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1182 </sect3>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1183
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1184 <sect3 id="menc-feat-telecine-ident-mixedpi">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1185 <title>Mixed progressive and interlaced</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1186 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1187 In &quot;mixed progressive and interlaced&quot; content, progressive
11913
60a38618e6e4 duplicate words and spaces removed
nicolas
parents: 11905
diff changeset
1188 and interlaced video have been spliced together.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1189 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1190
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1191 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1192 This category looks just like &quot;mixed progressive and telecine&quot;,
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1193 until you examine the 30000/1001 fps sections and see that they don't have the
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1194 telecine pattern.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1195 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1196 </sect3>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1197
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1198 </sect2>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1199
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1200 <sect2 id="menc-feat-telecine-encode">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1201 <title>How to encode each category</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1202 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1203 As I mentioned in the beginning, example <application>MEncoder</application>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1204 lines below are <emphasis role="bold">not</emphasis> meant to actually be used;
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1205 they only demonstrate the minimum parameters to properly encode each category.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1206 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1207
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1208 <sect3 id="menc-feat-telecine-encode-progressive">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1209 <title>Progressive</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1210 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1211 Progressive video requires no special filtering to encode. The only
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1212 parameter you need to be sure to use is
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1213 <option>-ofps 24000/1001</option>. Otherwise, <application>MEncoder</application>
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1214 will try to encode at 30000/1001 fps and will duplicate frames.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1215 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1216
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1217 <para>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1218 <screen>mencoder dvd://1 -nosound -ovc lavc -ofps 24000/1001</screen>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1219 </para>
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1220
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1221 <para>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1222 It is often the case, however, that a video that looks progressive
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1223 actually has very short parts of telecine mixed in. Unless you are
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1224 sure, it is safest to treat the video as
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1225 <link linkend="menc-feat-telecine-encode-mixedpt">mixed progressive and telecine</link>.
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1226 The performance loss is small
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1227 <link linkend="menc-feat-telecine-footnotes">[3]</link>.
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1228 </para>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1229 </sect3>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1230
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1231 <sect3 id="menc-feat-telecine-encode-telecined">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1232 <title>Telecined</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1233 <para>
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1234 Telecine can be reversed to retrieve the original 24000/1001 content,
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1235 using a process called inverse-telecine.
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1236 <application>MPlayer</application> contains several filters to
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1237 accomplish this; the best filter, <option>pullup</option>, is described
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1238 in the <link linkend="menc-feat-telecine-encode-mixedpt">mixed
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1239 progressive and telecine</link> section.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1240 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1241 </sect3>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1242
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1243 <sect3 id="menc-feat-telecine-encode-interlaced">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1244 <title>Interlaced</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1245 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1246 For most practical cases it is not possible to retrieve a complete
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1247 progressive video from interlaced content. The only way to do so
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1248 without losing half of the vertical resolution is to double the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1249 framerate and try to &quot;guess&quot; what ought to make up the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1250 corresponding lines for each field (this has drawbacks - see method
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1251 3).
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1252 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1253
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1254 <orderedlist>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1255 <listitem><para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1256
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1257 Encode the video in interlaced form. Normally, interlacing wreaks
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1258 havoc with the encoder's ability to compress well, but
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1259 <systemitem class="library">libavcodec</systemitem> has two
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1260 parameters specifically for dealing with storing interlaced video a
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1261 bit better: <option> ildct</option> and <option>ilme</option>. Also,
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1262 using <option>mbd=2</option> is strongly recommended
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1263 <link linkend="menc-feat-telecine-footnotes">[2] </link> because it
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1264 will encode macroblocks as non-interlaced in places where there is
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1265 no motion. Note that <option>-ofps</option> is NOT needed here.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1266
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1267 <screen>mencoder dvd://1 -nosound -ovc lavc -lavcopts ildct:ilme:mbd=2</screen>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1268 </para></listitem>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
1269 <listitem><para>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1270 Use a deinterlacing filter before encoding. There are several of
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1271 these filters available to choose from, each with its own advantages
11913
60a38618e6e4 duplicate words and spaces removed
nicolas
parents: 11905
diff changeset
1272 and disadvantages. Consult <option>mplayer -pphelp</option> to see
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1273 what's available (grep for &quot;deint&quot;), and search the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1274 <ulink url="http://www.mplayerhq.hu/homepage/design6/info.html#mailing_lists">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1275 MPlayer mailing lists</ulink> to find many discussions about the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1276 various filters. Again, the framerate is not changing, so no
11913
60a38618e6e4 duplicate words and spaces removed
nicolas
parents: 11905
diff changeset
1277 <option>-ofps</option>. Also, deinterlacing should be done after
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1278 cropping <link linkend="menc-feat-telecine-footnotes">[1]</link> and
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1279 before scaling.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1280
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1281 <screen>mencoder dvd://1 -nosound -vf pp=lb -ovc lavc</screen>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1282 </para></listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1283 <listitem><para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1284 Unfortunately, this option is buggy with
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1285 <application>MEncoder</application>; it ought to work well with
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1286 <application>MEncoder G2</application>, but that isn't here yet. You
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1287 might experience crahes. Anyway, the purpose of <option> -vf
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1288 tfields</option> is to create a full frame out of each field, which
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1289 makes the framerate 60000/1001. The advantage of this approach is that no
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1290 data is ever lost; however, since each frame comes from only one
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1291 field, the missing lines have to be interpolated somehow. There are
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1292 no very good methods of generating the missing data, and so the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1293 result will look a bit similar to when using some deinterlacing
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1294 filters. Generating the missing lines creates other issues, as well,
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1295 simply because the amount of data doubles. So, higher encoding
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1296 bitrates are required to maintain quality, and more CPU power is
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1297 used for both encoding and decoding. tfields has several different
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1298 options for how to create the missing lines of each frame. If you
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1299 use this method, then Reference the manual, and chose whichever
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1300 option looks best for your material. Note that when using
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1301 <option>tfields</option> you
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
1302 <emphasis role="bold">have to</emphasis> specify both
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1303 <option>-fps</option> and <option>-ofps</option> to be twice the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1304 framerate of your original source.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1305
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1306 <screen>mencoder dvd://1 -nosound -vf tfields=2 -ovc lavc -fps 60000/1001 -ofps 60000/1001</screen>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1307 </para></listitem>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
1308 <listitem><para>
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1309 If you plan on downscaling dramatically, you can extract and encode
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1310 only one of the two fields. Of course, you'll lose half the vertical
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1311 resolution, but if you plan on downscaling to at most 1/2 of the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1312 original, the loss won't matter much. The result will be a
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1313 progressive 30000/1001 frames per second file. The procedure is to use
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1314 <option>-vf field</option>, then crop
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1315 <link linkend="menc-feat-telecine-footnotes">[1]</link> and scale
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1316 appropriately. Remember that you'll have to adjust the scale to
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1317 compensate for the vertical resolution being halved.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1318 <screen>mencoder dvd://1 -nosound -vf field=0 -ovc lavc</screen>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1319 </para></listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1320 </orderedlist>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1321 </sect3>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1322
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1323 <sect3 id="menc-feat-telecine-encode-mixedpt">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1324 <title>Mixed progressive and telecine</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1325 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1326 In order to turn mixed progressive and telecine video into entirely
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1327 progressive video, the telecined parts have to be
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1328 inverse-telecined. There are three ways to accomplish this,
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1329 described below. Note that you should
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1330 <emphasis role="bold">always</emphasis> inverse-telecine before any
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1331 rescaling; unless you really know what you're doing,
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1332 inverse-telecine before cropping, too
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1333 <link linkend="menc-feat-telecine-footnotes">[1]</link>.
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1334 <option>-ofps 24000/1001</option> is needed here because the output video
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1335 will be 24000/1001 frames per second.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1336 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1337
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1338 <itemizedlist>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1339 <listitem><para>
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1340 <option>-vf pullup</option> is designed to inverse-telecine
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1341 telecined material while leaving progressive data alone. In order to
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1342 work properly, <option>pullup</option> <emphasis role="bold">must</emphasis>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1343 be followed by the <option>softskip</option> filter or
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1344 else <application>MEncoder</application> will crash.
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1345 <option>pullup</option> is, however, the cleanest and most
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1346 accurate method available for encoding both telecine and
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1347 &quot;mixed progressive and telecine&quot;.
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1348
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1349 <screen>mencoder dvd://1 -nosound -vf pullup,softskip -ovc lavc -ofps 24000/1001</screen>
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1350 </para>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1351
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1352
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1353 </listitem>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1354 <listitem><para>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1355 An older method
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1356 is to, rather than inverse-telecine the telecined parts, telecine
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1357 the non-telecined parts and then inverse-telecine the whole
11913
60a38618e6e4 duplicate words and spaces removed
nicolas
parents: 11905
diff changeset
1358 video. Sound confusing? softpulldown is a filter that goes through
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1359 a video and makes the entire file telecined. If we follow
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1360 softpulldown with either <option>detc</option> or
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1361 <option>ivtc</option>, the final result will be entirely
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1362 progressive. <option>-ofps 24000/1001</option> is needed.
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1363
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1364 <screen>mencoder dvd://1 -nosound -vf softpulldown,ivtc=1 -ovc lavc -ofps 24000/1001</screen>
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1365 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1366 </listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1367
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1368 <listitem><para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1369 I haven't used <option>-vf filmdint</option> myself, but here's what
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1370 D Richard Felker III has to say:
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1371
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1372 <blockquote><para>It's OK, but IMO it tries to deinterlace rather
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1373 than doing inverse telecine too often (much like settop DVD
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1374 players &amp; progressive TVs) which gives ugly flickering and
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1375 other artefacts. If you're going to use it, you at least need to
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1376 spend some time tuning the options and watching the output first
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1377 to make sure it's not messing up.</para></blockquote>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1378 </para></listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1379 </itemizedlist>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1380 </sect3>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1381
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1382 <sect3 id="menc-feat-telecine-encode-mixedpi">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1383 <title>Mixed progressive and interlaced</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1384 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1385 There are two options for dealing with this category, each of
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1386 which is a compromise. You should decide based on the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1387 duration/location of each type.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1388 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1389
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1390 <itemizedlist>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1391 <listitem><para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1392 Treat it as progressive. The interlaced parts will look interlaced,
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1393 and some of the interlaced fields will have to be dropped, resulting
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1394 in a bit of uneven jumpiness. You can use a postprocessing filter if
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1395 you want to, but it may slightly degrade the progressive parts.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1396 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1397
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1398 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1399 This option should definitely not be used if you want to eventually
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1400 display the video on an interlaced device (with a TV card, for
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1401 example). If you have interlaced frames in a 24000/1001 frames per
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1402 second video, they will be telecined along with the progressive
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1403 frames. Half of the interlaced "frames" will be displayed for three
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1404 fields' duration (3/(60000/1001) seconds), resulting in a flicking
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1405 &quot;jump back in time&quot; effect that looks quite bad. If you
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1406 even attempt this, you <emphasis role="bold">must</emphasis> use a
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1407 deinterlacing filter like <option>lb</option> or
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1408 <option>l5</option>.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1409 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1410
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1411 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1412 It may also be a bad idea for progressive display, too. It will drop
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1413 pairs of consecutive interlaced fields, resulting in a discontinuity
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1414 that can be more visible than with the second method, which shows
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1415 some progressive frames twice. 30000/1001 frames per second interlaced
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1416 video is already a bit choppy because it really should be shown at
14958
85546d215f6e precise framerate values everywhere
diego
parents: 14828
diff changeset
1417 60000/1001 fields per second, so the duplicate frames don't stand out as
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1418 much.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1419 </para>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
1420
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1421 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1422 Either way, it's best to consider your content and how you intend to
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1423 display it. If your video is 90% progressive and you never intend to
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1424 show it on a TV, you should favor a progressive approach. If it's
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1425 only half progressive, you probably want to encode it as if it's all
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1426 interlaced.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1427 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1428 </listitem>
12758
250ce1b2ef8f improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents: 12615
diff changeset
1429
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1430 <listitem><para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1431 Treat it as interlaced. Some frames of the progressive parts will
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1432 need to be duplicated, resulting in uneven jumpiness. Again,
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1433 deinterlacing filters may slightly degrade the progressive parts.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1434 </para></listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1435
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1436 </itemizedlist>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1437 </sect3>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1438
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1439 </sect2>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1440
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1441 <sect2 id="menc-feat-telecine-footnotes">
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1442 <title>Footnotes</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1443 <orderedlist>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1444 <listitem><formalpara>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1445 <title>About cropping:</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1446 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1447 Video data on DVDs are stored in a format called YUV 4:2:0. In YUV
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1448 video, luma (&quot;brightness&quot;) and chroma (&quot;color&quot;)
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1449 are stored separately. Because the human eye is somewhat less
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1450 sensitive to color than it is to brightness, in a YUV 4:2:0 picture
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1451 there is only one chroma pixel for every four luma pixels. In a
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1452 progressive picture, each square of four luma pixels (two on each
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1453 side) has one common chroma pixel. You must crop progressive YUV
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1454 4:2:0 to even resolutions, and use even offsets. For example,
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1455 <option>crop=716:380:2:26</option> is OK but
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1456 <option>crop=716:380:3:26 </option> is not.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1457 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1458 </formalpara>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1459
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1460 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1461 When you are dealing with interlaced YUV 4:2:0, the situation is a
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1462 bit more complicated. Instead of every four luma pixels in the
11913
60a38618e6e4 duplicate words and spaces removed
nicolas
parents: 11905
diff changeset
1463 <emphasis>frame</emphasis> sharing a chroma pixel, every four luma
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1464 pixels in each <emphasis> field</emphasis> share a chroma
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1465 pixel. When fields are interlaced to form a frame, each scanline is
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1466 one pixel high. Now, instead of all four luma pixels being in a
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1467 square, there are two pixels side-by-side, and the other two pixels
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1468 are side-by-side two scanlines down. The two luma pixels in the
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1469 intermediate scanline are from the other field, and so share a
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1470 different chroma pixel with two luma pixels two scanlines away. All
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1471 this confusion makes it necessary to have vertical crop dimensions
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1472 and offsets be multiples of four. Horizontal can stay even.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1473 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1474
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1475 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1476 For telecined video, I recommend that cropping take place after
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1477 inverse telecining. Once the video is progressive you only need to
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1478 crop by even numbers. If you really want to gain the slight speedup
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1479 that cropping first may offer, you must crop vertically by multiples
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1480 of four or else the inverse-telecine filter won't have proper data.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1481 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1482
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1483 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1484 For interlaced (not telecined) video, you must always crop
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1485 vertically by multiples of four unless you use <option>-vf
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1486 field</option> before cropping.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1487 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1488 </listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1489
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1490 <listitem><formalpara>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1491 <title>About encoding parameters and quality:</title>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1492 <para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1493 Just because I recommend <option>mbd=2</option> here doesn't mean it
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1494 shouldn't be used elsewhere. Along with <option>trell</option>,
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1495 <option>mbd=2</option> is one of the two
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1496 <systemitem class="library">libavcodec</systemitem> options that
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1497 increases quality the most, and you should always use at least those
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1498 two unless the drop in encoding speed is prohibitive (e.g. realtime
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1499 encoding). There are many other options to
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1500 <systemitem class="library">libavcodec</systemitem> that increase
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1501 encoding quality (and decrease encoding speed) but that is beyond
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1502 the scope of this document.
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1503 </para>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1504 </formalpara>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1505 </listitem>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1506
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1507 <listitem><formalpara>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1508 <title>About the performance of pullup:</title>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1509 <para>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1510 It is safe to use <option>pullup</option> (along with <option>softskip
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1511 </option>) on progressive video, and is usually a good idea unless
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1512 the source has been definitively verified to be entirely progressive.
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1513 The performace loss is small for most cases. On a bare-minimum encode,
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1514 <option>pullup</option> causes <application>MEncoder</application> to
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1515 be 50% slower. Adding sound processing and advanced <option>lavcopts
14828
37112d48fb50 grammar fix by Corey Hickey <bugfood-ml at fatooh dot org>
diego
parents: 14734
diff changeset
1516 </option> overshadows that difference, bringing the performance
14734
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1517 decrease of using <option>pullup</option> down to 2%.
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1518 </para>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1519 </formalpara>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1520 </listitem>
0b91f9428c4d Update the MEncoder telecine documentation.
diego
parents: 14422
diff changeset
1521
11905
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1522 </orderedlist>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1523
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1524 </sect2>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1525
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1526 </sect1>
e1730b82a762 Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents: 11823
diff changeset
1527
9675
62c5a17038ba XML version of MPlayer's doc
nicolas
parents:
diff changeset
1528 </chapter>