[Mplayer-cvslog] CVS: main/DOCS documentation.html,1.129,1.130 encoding.html,1.13,1.14 faq.html,1.49,1.50 mplayer.1,1.112,1.113 sound.html,1.17,1.18

Winner of tha face compo gabucino at mplayer.dev.hu
Mon Dec 10 18:37:20 CET 2001


Update of /cvsroot/mplayer/main/DOCS
In directory mplayer:/var/tmp.root/cvs-serv14837

Modified Files:
	documentation.html encoding.html faq.html mplayer.1 sound.html 
Log Message:
fixes, and some new stuff. sorry forgot :)


Index: documentation.html
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/documentation.html,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -r1.129 -r1.130
--- documentation.html	10 Dec 2001 01:00:37 -0000	1.129
+++ documentation.html	10 Dec 2001 17:37:18 -0000	1.130
@@ -117,6 +117,20 @@
       </UL>
     </UL>
     <LI><A HREF="encoding.html#2.4">2.4 MEncoder - An Encoder based on MPlayer</A></LI>
+      <UL>
+        <LI><A HREF="encoding.html#2.4.1">2.4.1 Overview</A></LI>
+        <LI><A HREF="encoding.html#2.4.2">2.4.2 Compiling</A></LI>
+        <LI><A HREF="encoding.html#2.4.3">2.4.3 Features</A></LI>
+          <UL>
+            <LI><A HREF="encoding.html#2.4.3">2.4.3 Summary</A></LI>
+            <LI><A HREF="encoding.html#2.4.3.1">2.4.3.1 Encoding 2-pass DivX4</A></LI>
+            <LI><A HREF="encoding.html#2.4.3.2">2.4.3.2 Rescaling movies</A></LI>
+            <LI><A HREF="encoding.html#2.4.3.3">2.4.3.3 Streamcopy</A></LI>
+          </UL>
+        <LI><A HREF="encoding.html#2.4.4">2.4.4 Syntax</A></LI>
+        <LI><A HREF="encoding.html#2.4.5">2.4.5 Available options</A></LI>
+        <LI><A HREF="encoding.html#2.4.6">2.4.6 Examples</A></LI>
+      </UL>
     <LI><A HREF=#2.5>2.5 TV input</A></LI>
   </UL>
   <LI><A HREF="#3">3. Usage</A></LI>

Index: encoding.html
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/encoding.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- encoding.html	8 Dec 2001 11:19:47 -0000	1.13
+++ encoding.html	10 Dec 2001 17:37:18 -0000	1.14
@@ -5,7 +5,7 @@
 
 <P><B><A NAME=2.4>2.4.  Encoding with MEncoder</A></B></P>
 
-<P><B><I>Overview</I></B>
+<A NAME=2.4.1><P><B><I>Overview</I></B>
 <P><B>MEncoder</B> (<B>MPlayer</B>'s Movie Encoder) is a simple movie encoder,
 designed to encode MPlayer-playable movies
 (<B>AVI/DVD/VCD/VOB/MPG/MOV/VIV/NET</B>) to other MPlayer-playable formats (see
@@ -14,7 +14,7 @@
 copying abilities. In the future, there will be cropping, resizing filters, and
 other interesting stuff.</P>
 
-<P><B><I>Compiling</I></B>
+<A NAME=2.4.2><P><B><I>Compiling</I></B>
   <UL>
     <LI>read <B>MPlayer</B>'s compilation instructions, it contains info about
       how to install <I>libdvdread</I> for <B>DVD</B> support, etc.</LI>
@@ -43,7 +43,7 @@
 <P>You are ready. As you probably know, other encoding tools need the
 <I>avifile</I> library installed. <B>MEncoder</B> doesn't need it at all.</P>
 
-<P><B><I>MEncoder features</I></B> :
+<A NAME=2.4.3><P><B><I>MEncoder features</I></B> :
   <UL>
     <LI>encoding from the wide range of fileformats and decoders of <B>MPlayer</B></LI>
     <LI>encoding from <B>V4L compatible TV tuners</B></LI>
@@ -51,10 +51,11 @@
     <LI>1 or 2 pass <B>DivX4</B> video</LI>
     <LI><B>VBR</B> MP3 audio</LI>
     <LI>PCM audio</LI>
-    <LI>stream copying (only from AVI/ASF now, and CBR audio only)</LI>
+    <LI>stream copying (CBR audio only)</LI>
     <LI>input A/V synchronizing (PTS-based, can be disabled with -mc 0 option)</LI>
     <LI>FPS correction with <CODE>-ofps</CODE> option (useful when encoding
     29.97fps VOB to 24fps AVI)</LI>
+    <LI>movie rescaling</LI>
   </UL>
 </P>
 
@@ -67,7 +68,7 @@
   </UL>
 </P>
 
-<P><B><I>Encoding 2-pass DivX4</I></B></P>
+<A NAME=2.4.3.1><P><B><I>Encoding 2-pass DivX4</I></B></P>
 
 <P>The name comes from the fact that this method encodes the file <I>twice</I>.
 The first encoding (dubbed <I>pass</I>) creates some temporary files with a
@@ -82,11 +83,49 @@
 -o movie.avi -pass 1<BR>
 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc divx4 -oac mp3lame -divx4opts br=1100 -o movie.avi -pass 2</CODE></P>
 
-<P><B><I>Syntax</I></B></P>
+<A NAME=2.4.3.2><P><B><I>Rescaling movies</I></B></P>
 
-<P>&nbsp;&nbsp;<CODE>mencoder [options] &lt;input file&gt; [options] ...</P>
+<P>Often the need to resize movie images' size emerges. Its reasons can be many,
+  examples are decreasing output file size, encoding SVCDs to DivX. Ripped DVDs
+  are mostly rescaled, for example a 4:3 DVD should be 640x480, especially
+  when you want it to fit to 1 CD, and have good quality at the same time.
+  SVCDs have 480x480 size, and their header contains the aspect ratio the
+  player should use (Ex.: 480x480 + 4:3 = 640x480). However when encoding to
+  AVI (DivX) files, you have be aware that AVI headers don't store this
+  value. Thus, the only solution is rescaling.</P>
+
+<P>The output size is specified with the <CODE>-x</CODE>, and <CODE>-y</CODE>
+  options.  Furthermore, there are 3 rescaling filters in <B>MEncoder</B>, <I>0
+  : fast 1 : bilinear</I>, <I>2 : bilinear</I>, <I>bicubic</I> (best quality).
+  They can be specified with the <CODE>-sws</CODE> option. If not specified,
+  <B>MEncoder</B> will use 0 : fast bilinear.</P>
+
+<P>Rescaling is very simple :<BR>
+<CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder sample-svcd.mpg -divx4opts br=1300 -x 640 -y 480 -sws 2 -o output.avi</CODE></P>
+
+<A NAME=2.4.3.3><P><B><I>Stream copying</I></B></P>
+
+<P><B>MEncoder</B> can handle input streams in two ways : <B>encode</B> or
+  <B>copy</B> them. This section is about <B>copying</B>.</P>
+
+<P>
+<UL>
+  <LI><B>Video stream</B> (option <CODE>-ovc copy</CODE>) : nice stuff can be done :)<BR>
+  Like, putting (not converting!) FLI or VIVO or MPEG1 video into an AVI file !
+  Of course only <B>MPlayer</B> can play such files :) And it probably has no
+  real life value at all. Rationally : video stream copying can be useful for
+  example when only the audio stream has to be encoded (like, uncompressed PCM
+  to MP3).</LI>
 
-<P><B><I>Available options</I></B></P>
+  <LI><B>Audio stream</B> (option <CODE>-oac copy</CODE>) : straightforward.</LI>
+</UL>
+</P>
+
+<A NAME=2.4.4><P><B><I>Syntax</I></B></P>
+
+<P>&nbsp;&nbsp;<CODE>mencoder [options] [input file] [options] ...</P>
+
+<A NAME=2.4.5><P><B><I>Available options</I></B></P>
 
 <P>NOTE : for all available options, <B>read the manpage !</B></P>
 
@@ -187,12 +226,15 @@
 </TR>
 </TABLE>
 
-<P><B><I>Examples</I></B></P>
+<A NAME=2.4.6><P><B><I>Examples</I></B></P>
 
 <P>Using <B>MEncoder</B> is the easiest thing on Earth. See the following :</P>
 
 <P>Encoding from DVD, title 2 :<BR>
   <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -o title2.avi</CODE></P>
+
+<P>Encoding from DVD, title 2, with rescaling :<BR>
+  <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -x 640 -y 480 -sws 2 -o title2.avi</CODE></P>
 
 <P>Encoding from HTTP :<BR>
   <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder http://mplayer.hq/example.avi  -o  example.avi</CODE></P>

Index: faq.html
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/faq.html,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- faq.html	8 Dec 2001 11:24:32 -0000	1.49
+++ faq.html	10 Dec 2001 17:37:18 -0000	1.50
@@ -211,7 +211,7 @@
 <TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
 When compiling <B>MEncoder</B>, it segfaults at linking !!!
 </B></TD><TR><TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>A:</TD><TD><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
-Dunno, upgrading binutils should help. Not our fault, do NOT report!
+Dunno, upgrading binutils should help (2.11.92.* or newer should be good). Not our fault, do NOT report!
 </TD><TR><TD COLSPAN=3>&nbsp;</TD><TR>
 
 <TD></TD><TD VALIGN=top><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Q:</TD><TD WIDTH=100%><B><font face="Verdana, Arial, Helvetica, sans-serif" size="2">

Index: mplayer.1
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/mplayer.1,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -r1.112 -r1.113
--- mplayer.1	10 Dec 2001 01:00:37 -0000	1.112
+++ mplayer.1	10 Dec 2001 17:37:18 -0000	1.113
@@ -413,7 +413,7 @@
 (this is NOT for DVD playing! For DVD use the -dvd option!)
 .TP
 .B \-stereo mode
-select type of MPEG1 stereo output.
+select type of MP2/MP3 stereo output.
 
         Stereo         0
         Left channel   1

Index: sound.html
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/sound.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- sound.html	3 Dec 2001 01:13:48 -0000	1.17
+++ sound.html	10 Dec 2001 17:37:18 -0000	1.18
@@ -99,6 +99,12 @@
 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK only with ALSA 0.5 with OSS emulation <B>AND</B> <I>-ao sdl</I> (!) (?)</TD><TR>
 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>?</TD><TR>
 
+<TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Cards with envy24 chips (like Terratec EWS88MT)</B></TD><TR>
+<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>?</TD><TR>
+<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS/Pro:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK</TD><TR>
+<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>?</TD><TR>
+<TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Max kHz:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>?</TD><TR>
+
 <TD COLSPAN=3><B><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>PC Speaker or DAC</B></TD><TR>
 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OSS:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>OK (<I>use the SDL driver : -ao sdl</I>)</TD><TR>
 <TD></TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>ALSA:</TD><TD><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>no driver</TD><TR>




More information about the MPlayer-cvslog mailing list