changeset 21134:d3ef4ae45375

r21078: add a link to Michael's de-interlacing filters... r21079: Add a new MPEG encoding example using lavf
author voroshil
date Tue, 21 Nov 2006 19:37:58 +0000
parents a71cf06a4621
children 5474f4b56407
files DOCS/xml/ru/encoding-guide.xml DOCS/xml/ru/mencoder.xml
diffstat 2 files changed, 18 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/ru/encoding-guide.xml	Tue Nov 21 19:30:03 2006 +0000
+++ b/DOCS/xml/ru/encoding-guide.xml	Tue Nov 21 19:37:58 2006 +0000
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r21034  -->
+<!-- synced with r21078  -->
 <!-- **Partially** translated -->
 <chapter id="encoding-guide">
 <title>Кодирование с <application>MEncoder</application></title>
@@ -2234,16 +2234,20 @@
 <listitem><para>
   Use a deinterlacing filter before encoding. There are several of
   these filters available to choose from, each with its own advantages
-  and disadvantages. Consult <option>mplayer -pphelp</option> to see
-  what is available (grep for &quot;deint&quot;), and search the
+  and disadvantages. Consult <option>mplayer -pphelp</option> and
+  <option>mplayer -vf help</option> to see what is available
+  (grep for &quot;deint&quot;), read Michael's Niedermayer
+  <ulink url="http://guru.multimedia.cx/deinterlacing-filters/">Deinterlacing filters comparison</ulink>,
+  and search the
   <ulink url="http://www.mplayerhq.hu/design7/info.html#mailing_lists">
   MPlayer mailing lists</ulink> to find many discussions about the
-  various filters. Again, the framerate is not changing, so no
+  various filters.
+  Again, the framerate is not changing, so no
   <option>-ofps</option>. Also, deinterlacing should be done after
   cropping <link linkend="menc-feat-telecine-footnotes">[1]</link> and
   before scaling.
 
-  <screen>mencoder dvd://1 -oac copy -vf pp=lb -ovc lavc</screen>
+  <screen>mencoder dvd://1 -oac copy -vf yadif -ovc lavc</screen>
   </para></listitem>
 <listitem><para>
   Unfortunately, this option is buggy with
--- a/DOCS/xml/ru/mencoder.xml	Tue Nov 21 19:30:03 2006 +0000
+++ b/DOCS/xml/ru/mencoder.xml	Tue Nov 21 19:37:58 2006 +0000
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- synced with r20876 -->
+<!-- synced with r21079 -->
 <chapter id="mencoder">
 <title>Основы использования <application>MEncoder</application></title>
 
@@ -405,6 +405,14 @@
 mencoder <replaceable>input.avi</replaceable> -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o <replaceable>output.mpg</replaceable> -oac lavc -ovc lavc \
 -lavcopts acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3
 </screen>
+То же, но используя <systemitem class="library">libavformat</systemitem> MPEG
+<!-- FIXME muxer -->
+муксер[muxer]:
+<screen>
+mencoder <replaceable>input.avi</replaceable> -of lavf -lavfopts format=mpg:i_certify_that_my_video_stream_does_not_use_b_frames \
+-ovc lavc -lavcopts vcodec=mpeg1video:vrc_buf_size=327:keyint=15:vrc_maxrate=1152:vbitrate=1152:vmax_b_frames=0 \
+-o VCD.mpg -ofps 25 -vf scale=352:288,harddup -oac lavc -lavcopts acodec=mp2:abitrate=224
+</screen>
 </para>
 </informalexample>