# HG changeset patch # User voroshil # Date 1164137878 0 # Node ID d3ef4ae45375b24368259bf2e2189a12b0e07318 # Parent a71cf06a462136ae753997b66343f76893a99a58 r21078: add a link to Michael's de-interlacing filters... r21079: Add a new MPEG encoding example using lavf diff -r a71cf06a4621 -r d3ef4ae45375 DOCS/xml/ru/encoding-guide.xml --- 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 @@ - + Кодирование с <application>MEncoder</application> @@ -2234,16 +2234,20 @@ Use a deinterlacing filter before encoding. There are several of these filters available to choose from, each with its own advantages - and disadvantages. Consult to see - what is available (grep for "deint"), and search the + and disadvantages. Consult and + to see what is available + (grep for "deint"), read Michael's Niedermayer + Deinterlacing filters comparison, + and search the MPlayer mailing lists 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 . Also, deinterlacing should be done after cropping [1] and before scaling. - mencoder dvd://1 -oac copy -vf pp=lb -ovc lavc + mencoder dvd://1 -oac copy -vf yadif -ovc lavc Unfortunately, this option is buggy with diff -r a71cf06a4621 -r d3ef4ae45375 DOCS/xml/ru/mencoder.xml --- 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 @@ - + Основы использования <application>MEncoder</application> @@ -405,6 +405,14 @@ mencoder input.avi -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o output.mpg -oac lavc -ovc lavc \ -lavcopts acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3 +То же, но используя libavformat MPEG + +муксер[muxer]: + +mencoder input.avi -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 +