Mercurial > mplayer.hg
annotate DOCS/xml/en/mencoder.xml @ 13222:8b4734aecdec
typo
author | diego |
---|---|
date | Thu, 02 Sep 2004 00:46:21 +0000 |
parents | fad3639920d5 |
children | 1958e47f0efb |
rev | line source |
---|---|
9675 | 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 | 3 <chapter id="mencoder"> |
11540 | 4 <title>Encoding with <application>MEncoder</application></title> |
9675 | 5 |
6 <para> | |
7 For the complete list of available <application>MEncoder</application> options | |
8 and examples, please see the man page. For a series of hands-on examples and | |
9 detailed guides on using several encoding parameters, read the | |
10 <ulink url="../../tech/encoding-tips.txt">encoding-tips</ulink> that were | |
11 collected from several mailing list threads on mplayer-users. Search the | |
12 <ulink url="http://mplayerhq.hu/pipermail/mplayer-users/">archives</ulink> | |
13 for a wealth of discussions about all aspects of and problems related to | |
14 encoding with <application>MEncoder</application>. | |
15 </para> | |
16 | |
12400
903ac68f2bc8
divx --> lavc, spelling, more sensible section name
diego
parents:
12399
diff
changeset
|
17 <sect1 id="menc-feat-mpeg4"> |
12484
58056bc98dd9
Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents:
12400
diff
changeset
|
18 <title>Encoding 2-pass MPEG4 ("DivX")</title> |
9675 | 19 |
20 <para> | |
21 The name comes from the fact that this method encodes the file <emphasis>twice</emphasis>. | |
22 The first encoding (dubbed pass) creates some temporary files | |
23 (<filename>*.log</filename>) with a size of few megabytes, do not delete | |
24 them yet (you can delete the AVI). In the second pass, the 2-pass output | |
25 file is created, using the bitrate data from the temporary files. The | |
26 resulting file will have much better image quality. If this is the first | |
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 | 29 </para> |
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 | 33 <para> |
12484
58056bc98dd9
Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents:
12400
diff
changeset
|
34 2-pass encode of a DVD to an MPEG4 ("DivX") AVI while copying |
58056bc98dd9
Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents:
12400
diff
changeset
|
35 the audio track. |
9675 | 36 <screen> |
11710 | 37 mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o <replaceable>movie.avi</replaceable> |
38 mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o <replaceable>movie.avi</replaceable> | |
9675 | 39 </screen> |
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 | 42 |
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 | 45 <para> |
12484
58056bc98dd9
Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents:
12400
diff
changeset
|
46 2-pass encode of a DVD to an MPEG4 ("DivX") AVI while encoding |
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 | 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 | 51 </screen> |
52 </para> | |
53 </example> | |
54 </sect1> | |
55 | |
56 <sect1 id="menc-feat-mpeg"> | |
57 <title>Encoding to MPEG format</title> | |
58 <para> | |
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 | 62 <emphasis>mpeg1video</emphasis> codec, because players - except |
63 <application>MPlayer</application> - expect MPEG1 video, and MPEG1 layer 2 (MP2) | |
64 audio streams in MPEG files. | |
9675 | 65 </para> |
66 | |
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 | 69 but the more importantly because <application>MEncoder</application> currently |
70 cannot encode MPEG1 layer 2 (MP2) audio, which all other players expect in MPEG files. | |
9675 | 71 </para> |
72 | |
73 <para> | |
12578 | 74 To change <application>MEncoder</application>'s output file format, |
11540 | 75 use the <option>-of mpeg</option> option. |
9675 | 76 </para> |
77 | |
78 <para> | |
79 Example: | |
80 <screen> | |
11710 | 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 | 82 </screen> |
83 </para> | |
84 </sect1> | |
85 | |
86 | |
87 <sect1 id="menc-feat-rescale"> | |
88 <title>Rescaling movies</title> | |
89 | |
90 <para> | |
91 Often the need to resize movie images' size emerges. Its reasons can be | |
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 | 95 </para> |
96 | |
97 <para> | |
98 The scaling process is handled by the <literal>scale</literal> video filter: | |
9677 | 99 <option>-vf scale=<replaceable>width</replaceable>:<replaceable>height</replaceable></option>. |
9675 | 100 Its quality can be set with the <option>-sws</option> option. |
101 If it's not specified, <application>MEncoder</application> will use 0: fast | |
102 bilinear. | |
103 </para> | |
104 | |
105 <para> | |
106 Usage: | |
107 <screen> | |
12484
58056bc98dd9
Remove 3-pass encoding guide (can break A/V sync), rescaling is not
diego
parents:
12400
diff
changeset
|
108 mencoder <replaceable>input.mpg</replaceable> -ovc lavc -lavcopts vcodec=mpeg4 -vf scale=640:480 -o <replaceable>output.avi</replaceable> |
9675 | 109 </screen> |
110 </para> | |
111 </sect1> | |
112 | |
113 | |
114 <sect1 id="menc-feat-streamcopy"> | |
115 <title>Stream copying</title> | |
116 | |
117 <para> | |
118 <application>MEncoder</application> can handle input streams in two ways: | |
119 <emphasis role="bold">encode</emphasis> or <emphasis role="bold">copy</emphasis> | |
120 them. This section is about <emphasis role="bold">copying</emphasis>. | |
121 </para> | |
122 | |
123 <itemizedlist> | |
124 <listitem><para> | |
125 <emphasis role="bold">Video stream</emphasis> (option <option>-ovc copy</option>): | |
126 nice stuff can be done :) Like, putting (not converting!) FLI or VIVO or | |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
127 MPEG1 video into an AVI file! Of course only |
9675 | 128 <application>MPlayer</application> can play such files :) And it probably |
129 has no real life value at all. Rationally: video stream copying can be | |
130 useful for example when only the audio stream has to be encoded (like, | |
131 uncompressed PCM to MP3). | |
132 </para></listitem> | |
133 <listitem><para> | |
134 <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
|
135 straightforward. It is possible to take an external audio file (MP3, |
10429 | 136 WAV) and mux it into the output stream. Use the |
9675 | 137 <option>-audiofile <replaceable>filename</replaceable></option> option |
138 for this. | |
139 </para></listitem> | |
140 </itemizedlist> | |
141 </sect1> | |
142 | |
143 | |
144 <sect1 id="menc-feat-fix-avi"> | |
145 <title>Fixing AVIs with broken index or interleaving</title> | |
146 | |
147 <para> | |
148 Easiest thing. We simply copy the video and audio streams, and | |
149 <application>MEncoder</application> generates the index. Of course this cannot fix possible bugs in | |
150 the video and/or audio streams. It also fixes files with broken interleaving, | |
151 thus the <option>-ni</option> option won't be needed for them anymore. | |
152 </para> | |
153 | |
154 <para> | |
155 Command: | |
156 <screen> | |
157 mencoder -idx <replaceable>input.avi</replaceable> -ovc copy -oac copy -o <replaceable>output.avi</replaceable><!-- | |
158 --></screen> | |
159 </para> | |
160 | |
161 | |
162 <sect2 id="menc-feat-appending"> | |
163 <title>Appending multiple AVI files</title> | |
164 | |
165 <para> | |
11540 | 166 As a side-effect, the broken AVI fixer function enables <application>MEncoder</application> |
167 to append 2 (or more) AVI files: | |
9675 | 168 </para> |
169 | |
170 <para> | |
171 Command: | |
12599
8795514d0f29
MEncoder has problems reading from stdin, files need to be concatenated
diego
parents:
12578
diff
changeset
|
172 <screen>cat <replaceable>1.avi</replaceable> <replaceable>2.avi</replaceable> > <replaceable>3.avi</replaceable> |
8795514d0f29
MEncoder has problems reading from stdin, files need to be concatenated
diego
parents:
12578
diff
changeset
|
173 mencoder -noidx -ovc copy -oac copy -o <replaceable>output.avi</replaceable> <replaceable>3.avi</replaceable></screen> |
9675 | 174 </para> |
175 | |
176 <note><para> | |
177 This expects <filename>1.avi</filename> and <filename>2.avi</filename> to use | |
178 the same codecs, resolution, stream rate etc, and at least <filename>1.avi</filename> | |
179 must not be broken. You may need to fix your input AVI files first, as described | |
180 <link linkend="menc-feat-fix-avi">above</link>. | |
181 </para></note> | |
182 </sect2> | |
183 </sect1> | |
184 | |
185 <sect1 id="menc-feat-enc-libavcodec"> | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11820
diff
changeset
|
186 <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
|
187 codec family</title> |
9675 | 188 |
189 <para> | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11820
diff
changeset
|
190 <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
|
191 provides simple encoding to a lot of interesting video and audio formats. |
11747 | 192 You can encode to the following codecs (more or less up to date): |
9675 | 193 |
194 <informaltable frame="all"> | |
195 <tgroup cols="2"> | |
196 <thead> | |
197 <row><entry>Codec name</entry><entry>Description</entry></row> | |
198 </thead> | |
199 <tbody> | |
200 <row><entry>mjpeg</entry><entry> | |
201 Motion JPEG | |
202 </entry></row> | |
10869 | 203 <row><entry>ljpeg</entry><entry> |
204 Lossless JPEG | |
205 </entry></row> | |
9675 | 206 <row><entry>h263</entry><entry> |
13111 | 207 H.263 |
9675 | 208 </entry></row> |
209 <row><entry>h263p</entry><entry> | |
13111 | 210 H.263+ |
9675 | 211 </entry></row> |
212 <row><entry>mpeg4</entry><entry> | |
12400
903ac68f2bc8
divx --> lavc, spelling, more sensible section name
diego
parents:
12399
diff
changeset
|
213 ISO standard MPEG4 (DivX 5, XVID compatible) |
9675 | 214 </entry></row> |
215 <row><entry>msmpeg4</entry><entry> | |
13222 | 216 pre-standard MPEG4 variant by MS, v3 (AKA DivX3) |
9675 | 217 </entry></row> |
218 <row><entry>msmpeg4v2</entry><entry> | |
12400
903ac68f2bc8
divx --> lavc, spelling, more sensible section name
diego
parents:
12399
diff
changeset
|
219 pre-standard MPEG4 by MS, v2 (used in old asf files) |
9675 | 220 </entry></row> |
10869 | 221 <row><entry>wmv1</entry><entry> |
13222 | 222 Windows Media Video, version 1 (AKA WMV7) |
9675 | 223 </entry></row> |
10869 | 224 <row><entry>wmv2</entry><entry> |
13222 | 225 Windows Media Video, version 2 (AKA WMV8) |
10869 | 226 </entry></row> |
9675 | 227 <row><entry>rv10</entry><entry> |
228 an old RealVideo codec | |
229 </entry></row> | |
230 <row><entry>mpeg1video</entry><entry> | |
10869 | 231 MPEG1 video |
232 </entry></row> | |
233 <row><entry>mpeg2video</entry><entry> | |
234 MPEG2 video | |
9675 | 235 </entry></row> |
236 <row><entry>huffyuv</entry><entry> | |
237 lossless compression | |
238 </entry></row> | |
10869 | 239 <row><entry>asv1</entry><entry> |
240 ASUS Video v1 | |
241 </entry></row> | |
242 <row><entry>asv2</entry><entry> | |
243 ASUS Video v2 | |
244 </entry></row> | |
245 <row><entry>ffv1</entry><entry> | |
246 FFmpeg's lossless video codec | |
247 </entry></row> | |
9675 | 248 </tbody> |
249 </tgroup> | |
250 </informaltable> | |
251 | |
252 The first column contains the codec names that should be passed after the | |
253 <literal>vcodec</literal> config, like: <option>-lavcopts vcodec=msmpeg4</option> | |
254 </para> | |
255 | |
256 <informalexample> | |
257 <para> | |
258 An example, with MJPEG compression: | |
10184
b6c63ab184a4
Changed a few remaining -dvd and -vcd options to dvd:// and vcd://.
diego
parents:
10065
diff
changeset
|
259 <screen>mencoder dvd://2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -oac copy</screen> |
9675 | 260 </para> |
261 </informalexample> | |
262 </sect1> | |
263 | |
264 | |
265 <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
|
266 <title>Encoding from multiple input image files (JPEG, PNG, TGA, SGI)</title> |
9675 | 267 |
268 <para> | |
269 <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
|
270 or more JPEG, PNG or TGA files. With simple framecopy it can create MJPEG |
9675 | 271 (Motion JPEG), MPNG (Motion PNG) or MTGA (Motion TGA) files. |
272 </para> | |
273 | |
274 <orderedlist> | |
275 <title>Explanation of the process:</title> | |
276 <listitem><para> | |
277 <application>MEncoder</application> <emphasis>decodes</emphasis> the input image(s) with | |
278 <systemitem class="library">libjpeg</systemitem> (when decoding PNGs, it | |
279 will use <systemitem class="library">libpng</systemitem>). | |
280 </para></listitem> | |
281 <listitem><para> | |
282 <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
|
283 chosen video compressor (DivX4, XviD, FFmpeg msmpeg4, etc.). |
9675 | 284 </para></listitem> |
285 </orderedlist> | |
286 | |
287 <formalpara> | |
288 <title>Examples</title> | |
289 <para> | |
12399
9403b245fcda
Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents:
11913
diff
changeset
|
290 The explanation of the <option>-mf</option> option is in the man page. |
9675 | 291 |
292 <informalexample> | |
293 <para> | |
12399
9403b245fcda
Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents:
11913
diff
changeset
|
294 Creating an MPEG4 file from all the JPEG files in the current directory: |
9675 | 295 <screen> |
12399
9403b245fcda
Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents:
11913
diff
changeset
|
296 mencoder mf://*.jpg -mf type=jpg:w=800:h=600:fps=25 -ovc lavc -lavcopts vcodec=mpeg4 -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
|
297 </screen> |
9675 | 298 </para> |
299 </informalexample> | |
300 | |
301 <informalexample> | |
302 <para> | |
12399
9403b245fcda
Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents:
11913
diff
changeset
|
303 Creating an MPEG4 file from some JPEG files in the current directory: |
9675 | 304 <screen> |
12399
9403b245fcda
Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents:
11913
diff
changeset
|
305 mencoder mf://<replaceable>frame001.jpg,frame002.jpg</replaceable> -mf type=jpg:w=800:h=600:fps=25 -ovc lavc -lavcopts vcodec=mpeg4 -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
|
306 </screen> |
9675 | 307 </para> |
308 </informalexample> | |
309 | |
310 <informalexample> | |
311 <para> | |
312 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
|
313 directory: |
9675 | 314 <screen> |
12399
9403b245fcda
Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents:
11913
diff
changeset
|
315 mencoder mf://*.jpg -mf type=jpg:w=800:h=600:fps=25 -ovc copy -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
|
316 </screen> |
9675 | 317 </para> |
318 </informalexample> | |
319 | |
320 <informalexample> | |
321 <para> | |
12399
9403b245fcda
Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents:
11913
diff
changeset
|
322 Creating an uncompressed file from all the PNG files in the current directory: |
9675 | 323 <screen> |
12399
9403b245fcda
Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents:
11913
diff
changeset
|
324 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
|
325 </screen> |
9675 | 326 </para> |
327 </informalexample> | |
328 | |
329 <note><para> | |
330 Width must be integer multiple of 4, it's a limitation of the RAW RGB AVI format. | |
331 </para></note> | |
332 | |
333 <informalexample> | |
334 <para> | |
335 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
|
336 directory: |
9675 | 337 <screen> |
12399
9403b245fcda
Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents:
11913
diff
changeset
|
338 mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=png -ovc copy -oac copy -o <replaceable>output.avi</replaceable> <!-- |
9675 | 339 --></screen> |
340 </para> | |
341 </informalexample> | |
342 | |
343 <informalexample> | |
344 <para> | |
345 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
|
346 directory: |
9675 | 347 <screen> |
12399
9403b245fcda
Obsolet -mf syntax replaced by mf://, based on a patch sent by Compn, bug
diego
parents:
11913
diff
changeset
|
348 mencoder mf://*.tga -mf w=800:h=600:fps=25:type=tga -ovc copy -oac copy -o <replaceable>output.avi</replaceable><!-- |
9675 | 349 --></screen> |
350 </para> | |
351 </informalexample> | |
352 | |
353 </para> | |
354 </formalpara> | |
355 </sect1> | |
356 | |
357 | |
358 <sect1 id="menc-feat-extractsub"> | |
12615 | 359 <title>Extracting DVD subtitles to VOBsub file</title> |
9675 | 360 |
361 <para> | |
362 <application>MEncoder</application> is capable of extracting subtitles from | |
12615 | 363 a DVD into VOBsub formatted files. They consist of a pair of files ending in |
9675 | 364 <filename>.idx</filename> and <filename>.sub</filename> and are usually |
365 packaged in a single <filename>.rar</filename> archive. | |
366 <application>MPlayer</application> can play these with the | |
367 <option>-vobsub</option> and <option>-vobsubid</option> options. | |
368 </para> | |
369 | |
370 <para> | |
371 You specify the basename (i.e without the <filename>.idx</filename> or | |
372 <filename>.sub</filename> extension) of the output files with | |
373 <option>-vobsubout</option> and the index for this subtitle in the | |
374 resulting files with <option>-vobsuboutindex</option>. | |
375 </para> | |
376 | |
377 <para> | |
378 If the input is not from a DVD you should use <option>-ifo</option> to | |
379 indicate the <filename>.ifo</filename> file needed to construct the | |
380 resulting <filename>.idx</filename> file. | |
381 </para> | |
382 | |
383 <para> | |
384 If the input is not from a DVD and you do not have the | |
385 <filename>.ifo</filename> file you will need to use the | |
386 <option>-vobsubid</option> option to let it know what language id to put in | |
387 the <filename>.idx</filename> file. | |
388 </para> | |
389 | |
390 <para> | |
391 Each run will append the running subtitle if the <filename>.idx</filename> | |
392 and <filename>.sub</filename> files already exist. So you should remove any | |
393 before starting. | |
394 </para> | |
395 | |
396 <example> | |
12776 | 397 <title>Copying two subtitles from a DVD while doing 2-pass encoding</title> |
9675 | 398 <screen> |
399 rm subtitles.idx subtitles.sub | |
12776 | 400 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
|
401 mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -vobsubout subtitles -vobsuboutindex 1 -sid 5<!-- |
9675 | 402 --></screen> |
403 </example> | |
404 | |
405 <example> | |
406 <title>Copying a french subtitle from an MPEG file</title> | |
407 <screen> | |
408 rm subtitles.idx subtitles.sub | |
11710 | 409 mencoder <replaceable>movie.mpg</replaceable> -ifo <replaceable>movie.ifo</replaceable> -vobsubout subtitles -vobsuboutindex 0 -vobsuboutid fr -sid 1<!-- |
9675 | 410 --></screen> |
411 </example> | |
412 | |
413 </sect1> | |
414 | |
415 <sect1 id="aspect"> | |
416 <title>Preserving aspect ratio</title> | |
417 <para> | |
418 DVDs and SVCDs (i.e. MPEG1/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
|
419 describes how the player should scale the video stream, so humans won't |
9675 | 420 have egg heads (ex.: 480x480 + 4:3 = 640x480). However when encoding to AVI |
421 (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
|
422 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
|
423 way! |
9675 | 424 </para> |
425 | |
426 <para>There is</para> | |
427 | |
428 <para> | |
429 MPEG4 has an unique feature: the video stream can contain its needed aspect | |
13111 | 430 ratio. Yes, just like MPEG1/2 (DVD, SVCD) and H.263 files. Regretfully, there are |
9675 | 431 <emphasis role="bold">no</emphasis> video players outside which support this |
10869 | 432 attribute of MPEG4, except <application>MPlayer</application>. |
9675 | 433 </para> |
434 | |
435 <para> | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11820
diff
changeset
|
436 This feature can be used only with |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11820
diff
changeset
|
437 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>'s |
10869 | 438 <systemitem>mpeg4</systemitem> codec. Keep in mind: although |
439 <application>MPlayer</application> will correctly play the created file, | |
440 other players will use the wrong aspect ratio. | |
9675 | 441 </para> |
442 | |
443 <para> | |
444 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
|
445 See the man page for the usage of the <systemitem>cropdetect</systemitem> and |
9675 | 446 <systemitem>crop</systemitem> filters. |
447 </para> | |
448 | |
449 <para> | |
10869 | 450 Usage |
11710 | 451 <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 | 452 </para> |
10869 | 453 </sect1> |
454 | |
455 <sect1 id="custommatrices"><title>Custom inter/intra matrices</title> | |
456 | |
457 <para> | |
11822
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11820
diff
changeset
|
458 With this feature of |
359eaf957bf1
Add <systemitem class="library"> tags to libavcodec and a few others.
diego
parents:
11820
diff
changeset
|
459 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link> |
13022 | 460 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
|
461 (P-frames/predicted frames) matrices. It is supported by many of the codecs: |
10869 | 462 <systemitem>mpeg1video</systemitem> and <systemitem>mpeg2video</systemitem> |
463 are reported as working. | |
464 </para> | |
465 | |
466 <para> | |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
467 A typical usage of this feature is to set the matrices preferred by the |
10869 | 468 <ulink url="http://www.kvcd.net/">KVCD</ulink> specifications. |
469 </para> | |
470 | |
471 <para> | |
472 The <emphasis role="bold">KVCD "Notch" Quantization Matrix:</emphasis> | |
473 </para> | |
474 | |
475 <para> | |
476 Intra: | |
477 <screen> | |
478 8 9 12 22 26 27 29 34 | |
479 9 10 14 26 27 29 34 37 | |
480 12 14 18 27 29 34 37 38 | |
481 22 26 27 31 36 37 38 40 | |
482 26 27 29 36 39 38 40 48 | |
483 27 29 34 37 38 40 48 58 | |
484 29 34 37 38 40 48 58 69 | |
485 34 37 38 40 48 58 69 79 | |
486 </screen> | |
487 | |
488 Inter: | |
489 <screen> | |
490 16 18 20 22 24 26 28 30 | |
491 18 20 22 24 26 28 30 32 | |
492 20 22 24 26 28 30 32 34 | |
493 22 24 26 30 32 32 34 36 | |
494 24 26 28 32 34 34 36 38 | |
495 26 28 30 32 34 36 38 40 | |
496 28 30 32 34 36 38 42 42 | |
497 30 32 34 36 38 40 42 44 | |
498 </screen> | |
499 </para> | |
500 | |
501 <para> | |
502 Usage: | |
503 <screen> | |
11710 | 504 $ mencoder <replaceable>input.avi</replaceable> -o <replaceable>output.avi</replaceable> -oac copy -ovc lavc -lavcopts inter_matrix=...:intra_matrix=... |
10869 | 505 </screen> |
506 </para> | |
507 | |
508 <para> | |
509 <screen> | |
11710 | 510 $ mencoder <replaceable>input.avi</replaceable> -ovc lavc -lavcopts |
10869 | 511 vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37, |
512 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, | |
513 29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79 | |
514 :inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26, | |
515 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, | |
516 36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44 -oac copy -o svcd.mpg | |
517 </screen> | |
518 </para> | |
9675 | 519 </sect1> |
520 | |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
521 <sect1 id="menc-feat-dvd-mpeg4"> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
522 <title>Making a high quality MPEG4 ("DivX") rip of a DVD movie</title> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
523 |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
524 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
525 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
|
526 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
|
527 quality." |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
528 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
529 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
530 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
531 This question is perhaps at least somewhat wrongly posed. After all, if |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
532 you don't care about file size, why not simply copy the MPEG2 video |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
533 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
|
534 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
|
535 this is certainly your best option. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
536 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
537 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
538 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
539 In fact, the reason you want to transcode a DVD into MPEG4 is |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
540 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
|
541 file size. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
542 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
543 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
544 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
545 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
|
546 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
|
547 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
|
548 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
|
549 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
|
550 <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
|
551 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
|
552 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
553 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
554 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
555 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
|
556 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
|
557 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
|
558 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
|
559 video on a CD. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
560 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
561 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
562 <sect2 id="menc-feat-dvd-mpeg4-2pass"> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
563 <title>Constant Quantizer vs. 2-pass</title> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
564 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
565 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
566 There are three approaches to encoding the video: constant bitrate |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
567 (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
|
568 </para> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
569 |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
570 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
571 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
|
572 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
|
573 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
|
574 quality and higher the bitrate. The method |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
575 <systemitem class="library">libavcodec</systemitem> uses to determine |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
576 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
|
577 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
|
578 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
|
579 </para> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
580 |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
581 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
582 When you specify a constant bitrate, <systemitem |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
583 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
|
584 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
|
585 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
|
586 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
|
587 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
|
588 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
|
589 <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
|
590 possible quantizer for each macroblock (as specified by |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
591 <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
|
592 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
|
593 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
|
594 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
|
595 you care about quality. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
596 </para> |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
597 |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
598 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
599 With constant quantizer, <systemitem |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
600 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
|
601 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
|
602 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
|
603 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
|
604 (peak signal-to-noise ratio) as CBR with |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
605 <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
|
606 of 2. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
607 </para> |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
608 |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
609 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
610 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
|
611 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
|
612 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
|
613 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
|
614 CPU has as many cycles as there is time, but there's only so many bits |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
615 on your harddisk. |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
616 </para> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
617 |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
618 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
619 With a two-pass encode, the first pass will rip the movie as though it |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
620 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
|
621 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
|
622 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
|
623 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
|
624 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
|
625 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
626 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
627 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
628 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
|
629 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
|
630 quality rip. Suppose you rip a DVD at <option>vqscale=3</option>, and |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
631 the result is 1800Kbit. If you do a two-pass encode with |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
632 <option>vbitrate=1800</option>, the resulting video will have <emphasis |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
633 role="bold">higher quality</emphasis> for the <emphasis role="bold">same |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
634 bitrate</emphasis>. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
635 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
636 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
637 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
638 Since you're now convinced that two-pass is the way to go, the real |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
639 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
|
640 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
|
641 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
|
642 depending on the source video. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
643 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
644 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
645 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
646 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
|
647 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
|
648 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
|
649 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
|
650 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
|
651 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
652 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
653 </sect2> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
654 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
655 <sect2 id="menc-feat-dvd-mpeg4-crop"> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
656 <title>Cropping and Scaling</title> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
657 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
658 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
659 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
|
660 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
|
661 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
|
662 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
|
663 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
|
664 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
665 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
666 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
667 <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
|
668 will determine the crop rectangle (<option>-vf cropdetect</option>). |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
669 Because MPEG4 uses 16x16 macroblocks, you'll want to make sure that each |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
670 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
|
671 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
|
672 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
|
673 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
|
674 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
|
675 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
|
676 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
|
677 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
|
678 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
|
679 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
|
680 at this in our example below. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
681 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
682 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
683 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
684 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
|
685 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
|
686 are better spent elsewhere. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
687 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
688 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
689 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
690 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
|
691 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
|
692 could calculate the new aspect ratio manually, but |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
693 <application>MEncoder</application> offers an option for <systemitem |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
694 class="library">libavcodec</systemitem> called <option>autoaspect</option> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
695 that will do this for you. Absolutely do not scale this video in order to |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
696 square the pixels unless you like to waste your harddisk space. Scaling |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
697 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
|
698 the AVI to determine the correct resolution. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
699 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
700 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
701 </sect2> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
702 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
703 <sect2 id="menc-feat-dvd-mpeg4-audio"> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
704 <title>Audio</title> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
705 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
706 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
707 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
|
708 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
|
709 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
|
710 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
|
711 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
|
712 preserving the AC3 stream. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
713 </para> |
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 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
716 </sect2> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
717 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
718 <sect2 id="menc-feat-dvd-mpeg4-interlacing"> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
719 <title>Interlacing and Telecine</title> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
720 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
721 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
722 Almost all movies are shot at 24 fps. Because NTSC is 29.97 fps, some |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
723 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
|
724 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
|
725 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
|
726 process), and, naively described, it works by slowing the film down to |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
727 23.976 fps, and repeating every fourth frame. |
11780 | 728 </para> |
729 | |
730 <para> | |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
731 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
|
732 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
|
733 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
|
734 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
|
735 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
|
736 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
|
737 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
|
738 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
|
739 </para> |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
740 |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
741 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
742 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
|
743 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
|
744 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
|
745 apply inverse telecine. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
746 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
747 |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
748 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
749 For movies shot at 24 fps, the video on the NTSC DVD is either telecined |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
750 29.97 fps, or else it is progressive 24 fps and intended to be telecined |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
751 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
|
752 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
|
753 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
|
754 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
|
755 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
756 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
757 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
758 It's highly recommended that you read the section on <link |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
759 linkend="menc-feat-telecine">How to deal with telecine and interlacing |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
760 in NTSC DVDs</link> 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
|
761 </para> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
762 |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
763 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
764 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
|
765 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
|
766 use the <option>pullup</option> filter <option>-vf |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
767 pullup,softskip</option>. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
768 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
769 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
770 </sect2> |
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 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
773 <sect2 id="menc-feat-dvd-mpeg4-filtering"> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
774 <title>Filtering</title> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
775 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
776 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
777 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
|
778 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
|
779 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
|
780 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
|
781 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
|
782 trade bits for quality. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
783 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
784 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
785 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
786 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
|
787 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
|
788 be done on playback only. |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
789 </para> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
790 |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
791 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
792 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
|
793 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
|
794 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
|
795 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
|
796 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
|
797 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
|
798 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
|
799 (<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
|
800 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
|
801 </para> |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
802 |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
803 </sect2> |
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 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
806 <sect2 id="menc-feat-dvd-mpeg4-example"> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
807 <title>Example</title> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
808 |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
809 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
810 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
|
811 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
|
812 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
|
813 so it's NTSC. The example below will still apply to PAL, except you'll |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
814 omit <option>-ofps 23.976</option> (because the output framerate is the |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
815 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
|
816 different. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
817 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
818 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
819 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
820 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
|
821 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
|
822 with telecine and interlacing in NTSC DVDs</link> and discover that it's |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
823 24 fps progressive video, which means that we needn't use an inverse |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
824 telecine filter, such as <option>pullup</option> or |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
825 <option>filmdint</option>. |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
826 </para> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
827 |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
828 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
829 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
|
830 cropdetect filter: |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
831 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
832 <screen>mplayer dvd://1 -vf cropdetect</screen> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
833 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
834 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
|
835 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
|
836 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
837 <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
|
838 |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
839 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
|
840 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
841 <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
|
842 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
843 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
|
844 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
|
845 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
|
846 multiple of 16 lower than 362 is 352. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
847 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
848 |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
849 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
850 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
|
851 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
|
852 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
|
853 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
|
854 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
|
855 4 pixels: |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
856 |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
857 <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
|
858 |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
859 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
|
860 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
|
861 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
|
862 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
|
863 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
|
864 (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
|
865 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
|
866 </para> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
867 |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
868 <para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
869 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
|
870 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
|
871 The filter chain would look like: |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
872 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
873 <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
|
874 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
875 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
|
876 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
|
877 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
|
878 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
|
879 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
|
880 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
|
881 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
|
882 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
883 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
884 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
885 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
|
886 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
|
887 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
888 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
889 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
890 We're now ready to do the 2-pass encode. Pass 1: |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
891 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
892 <screen>mencoder dvd://1 -ofps 23.976 -oac copy -vf crop=720:352:0:62,hqdn3d=2:1:2 -ovc lavc \ |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
893 -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
|
894 -o Harry_Potter_2.avi</screen> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
895 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
896 And pass 2 is the same, except that we specify <option>vpass=2</option>: |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
897 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
898 <screen>mencoder dvd://1 -ofps 23.976 -oac copy -vf crop=720:352:0:62,hqdn3d=2:1:2 -ovc lavc \ |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
899 -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
|
900 -o Harry_Potter_2.avi</screen> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
901 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
902 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
903 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
904 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
|
905 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
|
906 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
|
907 <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
|
908 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
|
909 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
|
910 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
|
911 source material. For example, if you find |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
912 <systemitem class="library">libavcodec</systemitem> produces too much |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
913 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
|
914 comparison function via <option>*cmp=10</option>. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
915 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
916 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
917 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
918 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
|
919 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
|
920 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
|
921 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
|
922 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
|
923 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
|
924 free to experiment until you're happy. |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
925 </para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
926 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
927 <para> |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
928 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
|
929 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
|
930 <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
|
931 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
|
932 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
|
933 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
|
934 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
|
935 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
|
936 |
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
937 <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
|
938 |
11732
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
939 </para> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
940 </sect2> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
941 |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
942 </sect1> |
d5784b575959
DVD ripping section added courtesy of Samuli K«£rkk«£inen with some
diego
parents:
11710
diff
changeset
|
943 |
11905
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
944 <sect1 id="menc-feat-telecine"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
945 <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
|
946 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
947 <formalpara> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
948 <title>Introduction</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
949 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
950 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
|
951 is written in this document: |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
952 <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
|
953 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
|
954 description of what telecine is. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
955 </para></formalpara> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
956 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
957 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
958 For technical reasons pertaining to the limitations of early |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
959 television hardware, all video intended to be displayed on an NTSC |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
960 television set must be 59.94 fields per second. Made-for-TV movies |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
961 and shows are often filmed directly at 59.94 fields per second, but |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
962 the majority of cinema is filmed at 24 or 23.976 frames per |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
963 second. When cinematic movie DVDs are mastered, the video is then |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
964 converted for television using a process called telecine. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
965 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
966 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
967 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
968 On a DVD, the video is never actually stored as 59.94 fields per |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
969 second. For video that was originally 59.94, each pair of fields is |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
970 combined to form a frame, resulting in 29.97 frames per |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
971 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
|
972 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
|
973 form the first field. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
974 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
975 |
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 Usually, 23.976 frames per second content stays as it is when |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
978 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
|
979 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
|
980 <emphasis>before</emphasis> being stored on the DVD; even though it |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
981 was originally 23.976 frames per second, it becomes 59.94 fields per |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
982 second, and is stored on the disk as 29.97 frames per second. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
983 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
984 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
985 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
986 When looking at individual frames formed from 59.94 fields per |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
987 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
|
988 wherever there is any motion, because one field (say, the |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
989 even-numbered lines) represents a moment in time 1/59.94th of a |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
990 second later than the other. Playing interlaced video on a computer |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
991 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
|
992 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
|
993 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
994 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
995 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
996 Notes: |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
997 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
998 <itemizedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
999 <listitem><para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1000 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
|
1001 </para></listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1002 <listitem><para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1003 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
|
1004 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
|
1005 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
|
1006 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
|
1007 <systemitem class="library">libavcodec</systemitem> for maximum |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1008 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
|
1009 </para></listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1010 <listitem><para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
1011 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
|
1012 <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
|
1013 </para></listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1014 </itemizedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1015 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1016 <sect2 id="menc-feat-telecine-ident"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1017 <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
|
1018 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1019 <sect3 id="menc-feat-telecine-ident-progressive"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1020 <title>Progressive</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1021 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1022 Progressive video was originally filmed at 23.976 fps, and stored |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1023 on the DVD without alteration. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1024 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1025 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1026 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1027 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
|
1028 <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
|
1029 soon as the movie begins to play: |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1030 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1031 <screen> demux_mpg: 24fps progressive NTSC content detected, switching framerate.</screen> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1032 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1033 From this point forward, demux_mpg should never say it finds |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1034 "30fps NTSC content." |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1035 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1036 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1037 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1038 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
|
1039 interlacing. Beware, however, because sometimes there is a tiny bit |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1040 of telecine mixed in, where you wouldn't expect. I've encountered TV |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1041 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
|
1042 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
|
1043 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
|
1044 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
|
1045 entire movie: |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1046 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1047 <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
|
1048 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1049 Using <option>-benchmark</option> makes |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1050 <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
|
1051 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
|
1052 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
|
1053 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
|
1054 occurred. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1055 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1056 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1057 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1058 Sometimes progressive video is referred to as "soft-telecine" |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1059 because it is intended to be telecined by the DVD player. |
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 </sect3> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1062 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1063 <sect3 id="menc-feat-telecine-ident-telecined"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1064 <title>Telecined</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1065 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1066 Telecined video was originally filmed at 23.976, but was telecined |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1067 <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
|
1068 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1069 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1070 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1071 <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
|
1072 framerate changes when it plays telecined video. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1073 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1074 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1075 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1076 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
|
1077 seem to "blink": they repeatedly appear and disappear. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1078 You can look closely at this by |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1079 <orderedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1080 <listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1081 <screen>mplayer dvd://1 -speed 0.1</screen> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1082 </listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1083 <listitem><para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1084 Seek to a part with motion. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1085 </para></listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1086 <listitem><para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1087 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
|
1088 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
|
1089 video is telecined. If you see some other pattern, then the video |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1090 may have been telecined using some non-standard method and |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1091 <application>MEncoder</application> cannot losslessly convert it |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1092 to progressive. If you don't see any pattern at all, then it is |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1093 most likely interlaced. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1094 </para></listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1095 </orderedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1096 </para> |
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 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1099 Sometimes telecined video is referred to as "hard-telecine". |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1100 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1101 </sect3> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1102 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1103 <sect3 id="menc-feat-telecine-ident-interlaced"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1104 <title>Interlaced</title> |
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 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1107 Interlaced video was originally filmed at 59.94 fields per second, |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1108 and stored on the DVD as 29.97 frames per second. The interlacing is |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1109 a result of combining pairs of fields into frames, because within |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1110 each frame, each field is 1/59.94 seconds apart. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1111 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1112 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1113 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1114 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
|
1115 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
|
1116 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1117 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1118 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1119 When you view an interlaced video closely with <option>-speed 0.1</option>, |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1120 you will see that every single frame is interlaced. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1121 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1122 </sect3> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1123 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1124 <sect3 id="menc-feat-telecine-ident-mixedpt"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1125 <title>Mixed progressive and telecine</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1126 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1127 All of a "mixed progressive and telecine" video was originally |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1128 23.976 frames per second, but some parts of it ended up being telecined. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1129 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1130 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1131 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1132 When <application>MPlayer</application> plays this category, it will |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1133 (often repeatedly) switch back and forth between "30fps |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1134 NTSC" and "24fps progressive NTSC". Watch the bottom of |
12578 | 1135 <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
|
1136 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1137 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1138 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1139 You should check the "30fps NTSC" sections to make sure |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1140 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
|
1141 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1142 </sect3> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1143 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1144 <sect3 id="menc-feat-telecine-ident-mixedpi"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1145 <title>Mixed progressive and interlaced</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1146 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1147 In "mixed progressive and interlaced" content, progressive |
11913 | 1148 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
|
1149 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1150 |
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 This category looks just like "mixed progressive and telecine", |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1153 until you examine the 30fps sections and see that they don't have the |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1154 telecine pattern. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1155 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1156 </sect3> |
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 </sect2> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1159 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1160 <sect2 id="menc-feat-telecine-encode"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1161 <title>How to encode each category</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1162 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1163 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
|
1164 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
|
1165 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
|
1166 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1167 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1168 <sect3 id="menc-feat-telecine-encode-progressive"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1169 <title>Progressive</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1170 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1171 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
|
1172 parameter you need to be sure to use is |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1173 <option>-ofps 23.976</option>. Otherwise, <application>MEncoder</application> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1174 will try to encode at 29.97 fps and duplicate frames. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1175 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1176 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1177 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1178 <screen>mencoder dvd://1 -nosound -ovc lavc -ofps 23.976</screen> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1179 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1180 </sect3> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1181 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1182 <sect3 id="menc-feat-telecine-encode-telecined"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1183 <title>Telecined</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1184 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1185 Telecine can be reversed to retrieve the original 23.976 content, |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1186 using a process called inverse-telecine. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1187 <application>MPlayer</application> contains two filters to |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1188 accomplish this: <option>detc</option> and |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1189 <option>ivtc</option>. You can read the manual page to see their |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1190 differences, but for DVDs I've never had a problem with |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1191 <option>ivtc</option>. Note that you should |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1192 <emphasis role="bold">always</emphasis> inverse-telecine before any |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1193 rescaling; unless you really know what you're doing, |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1194 inverse-telecine before cropping, too |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1195 <link linkend="menc-feat-telecine-footnotes">[1]</link>. Again, |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1196 <option>-ofps 23.976</option> is needed, too. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1197 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1198 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1199 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1200 <screen>mencoder dvd://1 -nosound -vf ivtc=1 -ovc lavc -ofps 23.976</screen> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1201 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1202 </sect3> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1203 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1204 <sect3 id="menc-feat-telecine-encode-interlaced"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1205 <title>Interlaced</title> |
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 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
|
1208 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
|
1209 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
|
1210 framerate and try to "guess" what ought to make up the |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1211 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
|
1212 3). |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1213 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1214 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1215 <orderedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1216 <listitem><para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1217 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1218 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
|
1219 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
|
1220 <systemitem class="library">libavcodec</systemitem> has two |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1221 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
|
1222 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
|
1223 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
|
1224 <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
|
1225 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
|
1226 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
|
1227 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1228 <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
|
1229 </para></listitem> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
1230 <listitem><para> |
11905
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1231 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
|
1232 these filters available to choose from, each with its own advantages |
11913 | 1233 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
|
1234 what's available (grep for "deint"), and search the |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1235 <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
|
1236 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
|
1237 various filters. Again, the framerate is not changing, so no |
11913 | 1238 <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
|
1239 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
|
1240 before scaling. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1241 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1242 <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
|
1243 </para></listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1244 <listitem><para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1245 Unfortunately, this option is buggy with |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1246 <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
|
1247 <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
|
1248 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
|
1249 tfields</option> is to create a full frame out of each field, which |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1250 makes the framerate 59.94. The advantage of this approach is that no |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1251 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
|
1252 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
|
1253 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
|
1254 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
|
1255 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
|
1256 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
|
1257 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
|
1258 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
|
1259 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
|
1260 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
|
1261 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
|
1262 <option>tfields</option> you |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
1263 <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
|
1264 <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
|
1265 framerate of your original source. |
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 -vf tfields=2 -ovc lavc -fps 59.94 -ofps 59.94</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 If you plan on downscaling dramatically, you can excise and encode |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1271 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
|
1272 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
|
1273 original, the loss won't matter much. The result will be a |
11913 | 1274 progressive 29.97 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
|
1275 <option>-vf field</option>, then crop |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1276 <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
|
1277 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
|
1278 compensate for the vertical resolution being halved. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1279 <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
|
1280 </para></listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1281 </orderedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1282 </sect3> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1283 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1284 <sect3 id="menc-feat-telecine-encode-mixedpt"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1285 <title>Mixed progressive and telecine</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1286 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1287 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
|
1288 progressive video, the telecined parts have to be |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1289 inverse-telecined. There are two filters that accomplish this |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1290 natively, but a better solution most of the time is to use two |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1291 filters in conjunction (read onward for more detail). |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1292 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1293 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1294 <itemizedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1295 <listitem><para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1296 Currently the most reliable method to deal with this type of video |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1297 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
|
1298 the non-telecined parts and then inverse-telecine the whole |
11913 | 1299 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
|
1300 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
|
1301 softpulldown with either <option>detc</option> or |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1302 <option>ivtc</option>, the final result will be entirely |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1303 progressive. Cropping and scaling should be done after the |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1304 inverse-telecine operations, and <option> -ofps 23.976</option> is |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1305 needed. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1306 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1307 <screen>mencoder dvd://1 -nosound -vf softpulldown,ivtc=1 -ovc lavc -ofps 23.976</screen> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1308 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1309 </listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1310 <listitem><para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1311 <option>-vf pullup</option> is designed to inverse-telecine |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1312 telecined material while leaving progressive data alone. Pullup |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1313 doesn't really work well with the current |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1314 <application>MEncoder</application>, though, and is really intended |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1315 for use with <application>MEncoder G2</application> (whenever it's |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1316 ready). It works fine without <option>-ofps</option>, but |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1317 <option>-ofps</option> is needed to prevent choppy output. With |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1318 <option>-ofps</option>, it sometimes fails. The problems arise from |
12578 | 1319 <application>MEncoder</application>'s behavior of dropping frames to |
11905
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1320 maintain synchronization between the audio and video: it drops |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1321 frames before sending them through the filter chain, rather than |
11913 | 1322 after. As a result, <option>pullup</option> is sometimes deprived |
11905
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1323 of the data it needs. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1324 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1325 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1326 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1327 If <application>MEncoder</application> drops too many frames in a |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1328 row, it starves <option>pullup</option>'s buffers and causes it to |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1329 crash. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1330 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1331 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1332 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1333 Even if <application>MEncoder</application> only drops one frame, |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1334 <option> pullup</option> still doesn't get to see it, and will end |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1335 up operating on an incorrect sequence of frames. Even though this |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1336 doesn't cause a crash, <option> pullup</option> won't be able to |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1337 make correct decisions on how to reassemble progressive frames, and |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1338 will either match fields together incorrectly or drop several fields |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1339 to compensate. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1340 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1341 </listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1342 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1343 <listitem><para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1344 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
|
1345 D Richard Felker III has to say: |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1346 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1347 <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
|
1348 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
|
1349 players & progressive TVs) which gives ugly flickering and |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1350 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
|
1351 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
|
1352 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
|
1353 </para></listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1354 </itemizedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1355 </sect3> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1356 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1357 <sect3 id="menc-feat-telecine-encode-mixedpi"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1358 <title>Mixed progressive and interlaced</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1359 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1360 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
|
1361 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
|
1362 duration/location of each type. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1363 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1364 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1365 <itemizedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1366 <listitem><para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1367 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
|
1368 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
|
1369 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
|
1370 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
|
1371 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1372 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1373 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1374 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
|
1375 display the video on an interlaced device (with a TV card, for |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1376 example). If you have interlaced frames in a 23.976 frames per |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1377 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
|
1378 frames. Half of the interlaced "frames" will be displayed for three |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1379 fields' duration (3/59.94 seconds), resulting in a flicking |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1380 "jump back in time" effect that looks quite bad. If you |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1381 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
|
1382 deinterlacing filter like <option>lb</option> or |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1383 <option>l5</option>. |
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 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1386 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1387 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
|
1388 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
|
1389 that can be more visible than with the second method, which shows |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1390 some progressive frames twice. 29.97 frames per second interlaced |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1391 video is already a bit choppy because it really should be shown at |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1392 59.94 fields per second, so the duplicate frames don't stand out as |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1393 much. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1394 </para> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
1395 |
11905
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 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
|
1398 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
|
1399 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
|
1400 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
|
1401 interlaced. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1402 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1403 </listitem> |
12758
250ce1b2ef8f
improved DVD ripping guide by Jason Tackaberry <tack@sault.org>
diego
parents:
12615
diff
changeset
|
1404 |
11905
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1405 <listitem><para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1406 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
|
1407 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
|
1408 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
|
1409 </para></listitem> |
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 </itemizedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1412 </sect3> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1413 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1414 </sect2> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1415 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1416 <sect2 id="menc-feat-telecine-footnotes"> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1417 <title>Footnotes</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1418 <orderedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1419 <listitem><formalpara> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1420 <title>About cropping:</title> |
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 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
|
1423 video, luma ("brightness") and chroma ("color") |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1424 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
|
1425 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
|
1426 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
|
1427 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
|
1428 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
|
1429 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
|
1430 <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
|
1431 <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
|
1432 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1433 </formalpara> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1434 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1435 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1436 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
|
1437 bit more complicated. Instead of every four luma pixels in the |
11913 | 1438 <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
|
1439 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
|
1440 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
|
1441 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
|
1442 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
|
1443 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
|
1444 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
|
1445 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
|
1446 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
|
1447 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
|
1448 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1449 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1450 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1451 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
|
1452 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
|
1453 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
|
1454 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
|
1455 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
|
1456 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1457 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1458 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1459 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
|
1460 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
|
1461 field</option> before cropping. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1462 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1463 </listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1464 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1465 <listitem><formalpara> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1466 <title>About encoding parameters and quality:</title> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1467 <para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1468 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
|
1469 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
|
1470 <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
|
1471 <systemitem class="library">libavcodec</systemitem> options that |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1472 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
|
1473 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
|
1474 encoding). There are many other options to |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1475 <systemitem class="library">libavcodec</systemitem> that increase |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1476 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
|
1477 the scope of this document. |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1478 </para> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1479 </formalpara> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1480 </listitem> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1481 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1482 </orderedlist> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1483 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1484 </sect2> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1485 |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1486 </sect1> |
e1730b82a762
Telecine HOWTO by Corey Hickey <bugfood-ml@fatooh.org>, some modifications
diego
parents:
11823
diff
changeset
|
1487 |
9675 | 1488 </chapter> |