comparison DOCS/xml/en/encoding-guide.xml @ 16339:9d772123c27d

New section: Notes on Audio/Video synchronization, taken from Rich's encoding guide NOTE: someone please make sure the doc is cleanly generated.
author gpoirier
date Thu, 01 Sep 2005 22:09:27 +0000
parents 67dc03c037e7
children 5ceeeb85804c
comparison
equal deleted inserted replaced
16338:cbd034008ee0 16339:9d772123c27d
1285 <para> 1285 <para>
1286 Note the <option>ilmv</option> and <option>ildct</option> options. 1286 Note the <option>ilmv</option> and <option>ildct</option> options.
1287 </para> 1287 </para>
1288 </sect2> 1288 </sect2>
1289 1289
1290
1291 <sect2 id="menc-feat-dvd-mpeg4-av-sync">
1292 <title>Notes on Audio/Video synchronization</title>
1293 <para>
1294 <application>MEncoder</application>'s audio/video synchronization
1295 algorithms were designed with the intention of recovering files with
1296 broken sync.
1297 However they seem to cause unnecessary skipping and duplication of
1298 frames, and possibly slight A/V desync, when used with proper input.
1299 It is therefore recommended that you switch to basic A/V sync with
1300 the <option>-mc 0</option> option, or put this in your
1301 <systemitem>~/.mplayer/mencoder</systemitem> config file, as long as
1302 you are only working with good sources (DVD, TV capture, high quality
1303 MPEG-4 rips, etc) and not broken ASF/RM/MOV files.
1304 </para>
1305 <para>
1306 If you want to further guard against strange frame skips and
1307 duplication, you can use both <option>-mc 0</option> and
1308 <option>-noskip</option>.
1309 This will prevent <emphasis>all</emphasis> A/V sync, and copy frames
1310 one-to-one, so you cannot use it if you will be using any filters that
1311 unpredictably add or drop frames, or if your input file has variable
1312 framerate!
1313 Therefore, using <option>-noskip</option> is not in general recommended.
1314 </para>
1315 <para>
1316 The so-called "three-pass" encoding which <application>MEncoder</application>
1317 supports has been reported to cause A/V desync.
1318 This will definitely happen if it is used in conjunction with certain
1319 filters, therefore, it is now recommended <emphasis>not</emphasis> to
1320 use three-pass mode.
1321 This feature is only left for compatibility purposes and for expert
1322 users who understand when it is safe to use and when it is not.
1323 If you have never heard of three-pass mode before, forget that we
1324 even mentioned it!
1325 </para>
1326 <para>
1327 There have also been reports of A/V desync when encoding from stdin
1328 with <application>MEncoder</application>.
1329 Do not do this! Always use a file or CD/DVD/etc device as input.
1330 </para>
1331 </sect2>
1290 1332
1291 <sect2 id="menc-feat-dvd-mpeg4-audio"> 1333 <sect2 id="menc-feat-dvd-mpeg4-audio">
1292 <title>Audio</title> 1334 <title>Audio</title>
1293 1335
1294 <para> 1336 <para>