r21078: add a link to Michael's de-interlacing filters...

r21079: Add a new MPEG encoding example using lavf


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21150 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
voroshil 2006-11-21 19:37:58 +00:00
parent 8f114f17b9
commit 554cee6997
2 changed files with 18 additions and 6 deletions

View File

@ -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

View File

@ -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 -ovc lavc -lavcopts vcode
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>