Mercurial > mplayer.hg
comparison DOCS/encoding.html @ 6154:a463bb3a6135
some typos
| author | jonas |
|---|---|
| date | Tue, 21 May 2002 19:05:49 +0000 |
| parents | f107ccf43d26 |
| children | f454e289070f |
comparison
equal
deleted
inserted
replaced
| 6153:045d22fc2608 | 6154:a463bb3a6135 |
|---|---|
| 157 <P><B>Example for 3-pass encoding :</B></P> | 157 <P><B>Example for 3-pass encoding :</B></P> |
| 158 | 158 |
| 159 <P><CODE> rm frameno.avi</CODE> - remove this file, | 159 <P><CODE> rm frameno.avi</CODE> - remove this file, |
| 160 which can come from a previous 3-pass encoding (it interferes with current | 160 which can come from a previous 3-pass encoding (it interferes with current |
| 161 one)<BR> | 161 one)<BR> |
| 162 <CODE> mencoder -dvd 2 -l-ovc frameno | 162 <CODE> mencoder -dvd 2 -ovc frameno |
| 163 -o frameno.avi<BR> | 163 -o frameno.avi<BR> |
| 164 <CODE> mencoder -dvd 2 | 164 <CODE> mencoder -dvd 2 |
| 165 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1<BR> | 165 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 1<BR> |
| 166 mencoder -dvd 2 | 166 mencoder -dvd 2 |
| 167 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2</CODE> | 167 -lavcopts vcodec=mpeg4:more_options -oac copy -o movie.avi -pass 2</CODE> |
| 284 | 284 |
| 285 <P>The explanation of the <CODE>-mf</CODE> option can be found below in the | 285 <P>The explanation of the <CODE>-mf</CODE> option can be found below in the |
| 286 global <A HREF=#2.4.5>Options</A> section and in the manpage.</P> | 286 global <A HREF=#2.4.5>Options</A> section and in the manpage.</P> |
| 287 | 287 |
| 288 <P><I>Creating a DivX4 file from all the JPEG files in the current dir :</I><BR> | 288 <P><I>Creating a DivX4 file from all the JPEG files in the current dir :</I><BR> |
| 289 <CODE>mencoder \*.jpg -lavcopts -mf on:w=800:h=600:fps=25 -ovc divx4 -o | 289 <CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o |
| 290 output.avi</CODE></P> | 290 output.avi</CODE></P> |
| 291 | 291 |
| 292 <P><I>Creating a DivX4 file from some JPEG files in the current dir :</I><BR> | 292 <P><I>Creating a DivX4 file from some JPEG files in the current dir :</I><BR> |
| 293 <CODE>mencoder frame001.jpg,frame002.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o | 293 <CODE>mencoder frame001.jpg,frame002.jpg -mf on:w=800:h=600:fps=25 -ovc divx4 -o |
| 294 output.avi</CODE></P> | 294 output.avi</CODE></P> |
| 441 | 441 |
| 442 <P>Encoding from DVD, title 2 :<BR> | 442 <P>Encoding from DVD, title 2 :<BR> |
| 443 <CODE> mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi</CODE></P> | 443 <CODE> mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi</CODE></P> |
| 444 | 444 |
| 445 <P>The same, but with libavcodec family, MJPEG compression :<BR> | 445 <P>The same, but with libavcodec family, MJPEG compression :<BR> |
| 446 <CODE> mencoder -dvd 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -ffourcc mjpg</CODE></P> | 446 <CODE> mencoder -dvd 2 -lavcopts vcodec=mjpeg:more_options -ffourcc mjpg -o title2.avi</CODE></P> |
| 447 | 447 |
| 448 <P>Encoding from DVD, title 2, with rescaling :<BR> | 448 <P>Encoding from DVD, title 2, with rescaling :<BR> |
| 449 <CODE> mencoder -dvd 2 -vop scale=640:480 -sws 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi</CODE></P> | 449 <CODE> mencoder -dvd 2 -vop scale=640:480 -sws 2 -lavcopts vcodec=mpeg4:more_options -o title2.avi</CODE></P> |
| 450 | 450 |
| 451 <P>Encoding from HTTP :<BR> | 451 <P>Encoding from HTTP :<BR> |
