changeset 21063:75152ed200e7

Add a new MPEG encoding example using lavf
author gpoirier
date Sun, 19 Nov 2006 22:09:16 +0000
parents be83543ce2d0
children 91c3a46d21f1
files DOCS/xml/en/mencoder.xml
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/en/mencoder.xml	Sun Nov 19 21:47:45 2006 +0000
+++ b/DOCS/xml/en/mencoder.xml	Sun Nov 19 22:09:16 2006 +0000
@@ -414,6 +414,12 @@
 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>
+Same, but using <systemitem class="library">libavformat</systemitem> MPEG 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>