cvs commit: BLFS/BOOK/multimedia/videoutils/mplayer mplayer-config.xml mplayer-desc.xml mplayer-exp.xml mplayer-inst.xml mplayer-intro.xml mplayer.ent

larry at linuxfromscratch.org larry at linuxfromscratch.org
Thu Dec 26 19:33:24 PST 2002


larry       02/12/26 22:33:24

  Modified:    BOOK/multimedia/videoutils/mplayer mplayer-config.xml
                        mplayer-desc.xml mplayer-exp.xml mplayer-inst.xml
                        mplayer-intro.xml mplayer.ent
  Log:
  updated to MPlayer-0.90rc2
  
  Revision  Changes    Path
  1.3       +12 -3     BLFS/BOOK/multimedia/videoutils/mplayer/mplayer-config.xml
  
  Index: mplayer-config.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/multimedia/videoutils/mplayer/mplayer-config.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mplayer-config.xml	12 Oct 2002 02:43:32 -0000	1.2
  +++ mplayer-config.xml	27 Dec 2002 03:33:24 -0000	1.3
  @@ -9,10 +9,12 @@
   
   <para>If you wish to utilize a freetype font, you need to link a TTF
   file to your ~/.mplayer directory.  For example:
  -<screen>ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf ~/.mplayer/subfont.ttf</screen></para>
  +<screen>ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf
  +~/.mplayer/subfont.ttf</screen>otherwise 
  +<screen>ln -sf /usr/share/mplayer/font/iso-8859-1/arial-14 ~/.mplayer/font</screen>
  +where 14 is the font size. You can chose your font size of 14, 18, 24 or 28.</para>
   
  -<para>If you put in the optional gui, your config file needs to be set
  -up with the following commands executed from your source directory:</para>
  +<para>Set up the GUI with the following commands executed from your source directory:</para>
   
   <para><screen><userinput>cat > ~/.mplayer/config << "EOF"</userinput>
   gui = yes
  @@ -21,6 +23,13 @@
   mkdir ~/.mplayer/Skin &&
   tar -xvf ../default.tar -C ~/.mplayer/Skin</userinput></screen>
   </para>
  +
  +<para>The first line, <userinput>gui = yes</userinput>, will make
  +MPlayer start in gui mode automatically. If you want to decide whether to start
  +in gui mode or not, leave that line out and start mplayer with
  +<userinput>-gui</userinput> or as <userinput>gmplayer</userinput> (e.g.
  +when starting from a Window Manager menu or command prompt).</para>
  +
   </sect3>
   
   </sect2>
  
  
  
  1.2       +31 -2     BLFS/BOOK/multimedia/videoutils/mplayer/mplayer-desc.xml
  
  Index: mplayer-desc.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/multimedia/videoutils/mplayer/mplayer-desc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mplayer-desc.xml	11 Oct 2002 23:04:24 -0000	1.1
  +++ mplayer-desc.xml	27 Dec 2002 03:33:24 -0000	1.2
  @@ -10,7 +10,18 @@
   
   <sect3><title>mplayer</title>
   <para>mplayer manages the input formats, the codecs and the output
  -formats to display video files on your screen.</para></sect3>
  +formats to play video files, DVDs, (S)VCDs or network streams containing
  +audio and/or video informations on your system.</para>
  +<para><userinput>Examples:</userinput></para>
  +<para><screen><userinput>mplayer -fs blfs.avi
  +mplayer -vo fbdev -fb /dev/fb0 -dvd 1 -aid 128 -sub en -framedrop
  +mplayer -fs -vcd 1; # works both for VCDs and SVCDs
  +mplayer http://www.students.uni-marburg.de/~Klossa/hapkidofight_lo.mpg
  +</userinput></screen></para>
  +<para>For further information, have a look at the very good
  +documentation
  +included in the package in the subdirectory <filename>DOCS/</filename>.
  +</para></sect3>
   
   <sect3><title>gmplayer</title>
   <para>gmplayer is MPlayer with a graphical user interface.</para></sect3>
  @@ -18,7 +29,25 @@
   <sect3><title>mencoder</title>
   <para>mencoder is used to encode any MPlayer-playable movie to DivX4,
   XviD or any codec in libavcodec with PCM/MP3/VBRMP3
  -audio.</para></sect3>
  +audio.</para>
  +
  +<para><userinput>Example:</userinput></para>
  +<para><screen><userinput>rm frameno.avi
  +mencoder -dvd 1 -aid 128 -ovc frameno -oac mp3lame \
  +-lameopts vbr=3 -o frameno.avi
  +
  +# mencoder should output bitrates for average encodings
  +# now, choose one you like best! In the following lines,
  +# replace <bitrate> and <name.avi> with statements of your
  +# personal liking.
  +
  +mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
  +-lavcopts vcodec=mpeg4:vpass=1:vhq:vbitrate=<bitrate> -o <name.avi>
  +mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \
  +-lavcopts vcodec=mpeg4:vpass=2:vhq:vbitrate=<bitrate> -o <name.avi>
  +mencoder -forceidx <name.avi></userinput></screen></para>
  +
  +</sect3>
   
   </sect2>
   
  
  
  
  1.4       +12 -13    BLFS/BOOK/multimedia/videoutils/mplayer/mplayer-exp.xml
  
  Index: mplayer-exp.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/multimedia/videoutils/mplayer/mplayer-exp.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- mplayer-exp.xml	2 Nov 2002 02:59:04 -0000	1.3
  +++ mplayer-exp.xml	27 Dec 2002 03:33:24 -0000	1.4
  @@ -5,14 +5,18 @@
   compile flags.  This command is optional, but the indications are that
   the majority of installs will need it.</para>
   
  -<para><userinput>--enable-freetype</userinput> : This command can be
  -added to the ./configure command to utilize freetype fonts instead of
  -the fonts provided by mplayer.</para>
  -
  -<para><userinput>--enable-gui</userinput> : This command needs to be
  -added to the ./configure command to compile the gui interface code. The
  -package maintainers consider this code 'alpha', therefore it is not
  -included in our default configuration.</para>
  +<para><userinput>--enable-freetype</userinput> : This switch tells
  +MPlayer to utilize freetype fonts instead of the fonts provided by mplayer.</para>
  +
  +<para><userinput>--enable-gui</userinput> : This switch tells MPlayer to compile the gui interface code.</para>
  +
  +<para><userinput>--enable-menu --enable-new-conf</userinput> :  These
  +switches enable the new menu support.  It's like an OSD, but youi can
  +also run a shell with it.</para>
  +
  +<para><userinput>--enable-shared-pp</userinput>  : This enables the
  +building of a shared libpostproc (library for post processing, featuring
  +filters like sharpen.</para>
   
   <para><userinput>cp etc/codecs.conf ~/.mplayer</userinput> : This
   command copies the standard codecs.conf file to the user.  MPlayer
  @@ -24,11 +28,6 @@
   this file to <filename>config</filename> and edit it for your
   situation.</para>
   
  -<para><userinput>ln -sf /usr/share/mplayer/font/iso-8859-1/arial-14
  -~/.mplayer/font</userinput> : This command sets the default subtitle
  -font if you did not enable freetype.  All of the fonts are arial, but
  -they are available in sizes 14, 18, 24 and 28.  Replace the 14 in the
  -command above with the size of your choice.</para>
   
   </sect2>
   
  
  
  
  1.4       +47 -6     BLFS/BOOK/multimedia/videoutils/mplayer/mplayer-inst.xml
  
  Index: mplayer-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/multimedia/videoutils/mplayer/mplayer-inst.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- mplayer-inst.xml	17 Oct 2002 01:57:28 -0000	1.3
  +++ mplayer-inst.xml	27 Dec 2002 03:33:24 -0000	1.4
  @@ -2,27 +2,68 @@
   <title>Installation of MPlayer</title>
   
   <para>The extra downloads should be located in you source directory with
  -the bzip files decompressed while the zip file should remain
  -compressed.</para>
  +the bzip files decompressed.</para>
   
   <para>Install MPlayer by running the following commands:</para>
   
   <para><screen><userinput>install -d /usr/lib/win32 &&
   tar -xvf ../w32codec.tar -C /usr/lib/win32 &&
  +tar -xvf ../qt5dlls.tar -C /usr/lib/win32 &&
  +tar -xvf ../qt6dlls.tar -C /usr/lib/win32 &&
  +tar -xvf ../qtextras.tar -C /usr/lib/win32 &&
  +tar -xvf ../rp9codecs.tar -C /usr/lib/win32 &&
   unset CFLAGS &&
  -./configure --prefix=/usr --confdir=/etc/mplayer &&
  +./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
  +--enable-gui --enable-menu --enable-new-conf --enable-qtx-codecs \
  +--enable-vorbis --with-reallibdir=/usr/lib/win32/re9codecs \
  +--enable-freetype --enable-shared-pp &&
   make &&
   make install &&
  -unzip ../mp-arial-iso-8859-1.zip -d /usr/share/mplayer/font</userinput></screen></para>
  +</userinput></screen></para>
   
   <para> Each user of MPlayer should complete the install by running the
   following commands:</para>
   <para><screen><userinput>
   mkdir ~/.mplayer &&
   cp etc/codecs.conf ~/.mplayer &&
  -cp etc/example.conf ~/.mplayer/example.conf &&
  -ln -sf /usr/share/mplayer/font/iso-8859-1/arial-14 ~/.mplayer/font
  +cp etc/example.conf ~/.mplayer/example.conf
  +</userinput></screen></para>
  +
  +<sect3>
  +<title>Installing the prerendered Fonts</title>
  +
  +<para>If freetype is in use, the only advantage of prerendered fonts is
  +that they are faster. Install them like this:</para>
  +
  +<para><screen><userinput>install -d /usr/share/mplayer/font &&
  +tar -xvf ../font-arial-iso-8859-1.tar -C /usr/share/mplayer/font &&
  +for i in /usr/share/mplayer/font/font-arial-<size>*
  +do ln -s $i /usr/share/mplayer/font; done</userinput></screen></para>
  +
  +<para>Replace <userinput><size></userinput> with either 14, 18, 24
  +or 28.</para>
  +
  +</sect3>
  +
  +<sect3>
  +<title>Installation for DVD playback</title>
  +<para>If you want DVD playback with MPlayer, you need to make a link
  +from your DVD drive to <filename>/dev/dvd</filename>:</para>
  +<para><screen><userinput>ln -s /dev/<dvd drive> /dev/dvd
   </userinput></screen></para>
  +<para>replace <userinput><dvd drive></userinput> with whatever
  +device is appropriate, for example <filename>/dev/hdc</filename>. if
  +you don't know which device to choose, type:</para>
  +<para><screen><userinput>dmesg | grep DVD</userinput></screen></para>
  +<para>It should result in an output like:</para>
  +<para><screen><userinput>hdc: Pioneer DVD-ROM ATAPIModel DVD-114 0110,
  +ATAPI CD/DVD-ROM drive</userinput></screen></para>
  +<para>If you have SCSI-Emulation activated for the drives, you'll need
  +to get the right SCSI-device. Every CD/DVD-ROM drive is mapped in the
  +same order as in IDE to the devices named
  +<filename>/dev/scd0</filename>,
  +<filename>/dev/scd1</filename> and so on.</para>
  +</sect3>
   
   </sect2>
   
  
  
  
  1.8       +15 -10    BLFS/BOOK/multimedia/videoutils/mplayer/mplayer-intro.xml
  
  Index: mplayer-intro.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/multimedia/videoutils/mplayer/mplayer-intro.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- mplayer-intro.xml	22 Dec 2002 00:35:44 -0000	1.7
  +++ mplayer-intro.xml	27 Dec 2002 03:33:24 -0000	1.8
  @@ -8,19 +8,24 @@
   Estimated Disk space required:  &mplayer-buildsize;</screen>
   
   <screen>Additional downloads:
  -<ulink url="http://ftp.lug.udel.edu/MPlayer/releases/w32codec.tar.bz2"/>
  -<ulink url="http://ftp.lug.udel.edu/MPlayer/releases/fonts/mp-arial-iso-8859-1.zip"/>
  -<ulink url="http://ftp.lug.udel.edu/MPlayer/Skin/default.tar.bz2"/></screen>
  +<ulink url="http://ftp.lug.udel.edu/MPlayer/releases/w32codec.tar.bz2">Win32 codecs</ulink>
  +<ulink url="http://ftp.lug.udel.edu/MPlayer/releases/fonts/mp-arial-iso-8859-1.tar.bz2">Fonts for OSD</ulink>
  +<ulink url="http://ftp.lug.udel.edu/MPlayer/Skin/default.tar.bz2">Default Skin</ulink>
  +<ulink url="http://ftp.lug.udel.edu/MPlayer/releases/codecs/qt5dlls.tar.bz2">QuickTime 5 codecs</ulink>
  +<ulink url="http://ftp.lug.udel.edu/MPlayer/releases/codecs/qt6dlls.tar.bz2">QuickTime 6 codecs</ulink>
  +<ulink url="http://ftp.lug.udel.edu/MPlayer/releases/codecs/qtextras.tar.bz2">QuickTime extra codecs</ulink>
  +<ulink url="http://ftp.lug.udel.edu/MPlayer/releases/codecs/rp9codecs.tar.bz2">RealPlayer 9 codecs</ulink>
  +</screen>
   
  -<para>The MPlayer package contains a command line video player. This is
  -useful for viewing almost all types of video files.</para>
  +<para>The MPlayer package contains an audio/video player that is able to
  +play almost every audio and video codec and can be controlled by command
  +line or GUI.</para>
   
   <screen>MPlayer depends on:
  -<xref linkend="xfree86"/> and <xref linkend="unzip"/>
  +<xref linkend="xfree86"/> or DirectFB
   MPlayer will utilize:
  -<xref linkend="GTK"/>, <xref linkend="freetype2"/>, <xref
  -linkend="libpng"/>, <xref linkend="libjpeg"/>, <xref
  -linkend="libungif"/>, <xref linkend="aalib"/>, <xref linkend="SDL"/>,
  -<xref linkend="ffmpeg"/>, <xref linkend="xvid"/>, <xref linkend="opendivx"/>, oss, <xref linkend="arts"/>, <xref linkend="alsa"/> and <xref linkend="libogg"/></screen>
  +<xref linkend="GTK"/>, <xref linkend="freetype2"/>, <xref linkend="libpng"/>, <xref linkend="libjpeg"/>, <xref linkend="libungif"/>, <xref linkend="aalib"/>, <xref linkend="SDL"/>, 
  +<xref linkend="ffmpeg"/>, <xref linkend="xvid"/>, <xref linkend="opendivx"/>, oss, <xref linkend="arts"/>, <xref linkend="alsa"/>, LZO, libdvdnav, 
  +MAD, <xref linkend="CDParanoia"/>  and <xref linkend="libogg"/></screen>
   
   </sect2>
  
  
  
  1.6       +5 -5      BLFS/BOOK/multimedia/videoutils/mplayer/mplayer.ent
  
  Index: mplayer.ent
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/multimedia/videoutils/mplayer/mplayer.ent,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- mplayer.ent	10 Dec 2002 04:06:45 -0000	1.5
  +++ mplayer.ent	27 Dec 2002 03:33:24 -0000	1.6
  @@ -4,8 +4,8 @@
   <!ENTITY mplayer-exp SYSTEM "mplayer-exp.xml">
   <!ENTITY mplayer-desc SYSTEM "mplayer-desc.xml">
   <!ENTITY mplayer-config SYSTEM "mplayer-config.xml">
  -<!ENTITY mplayer-buildsize "38.7 MB">
  -<!ENTITY mplayer-version "0.90rc1">
  -<!ENTITY mplayer-download-http "http://ftp.lug.udel.edu/MPlayer/releases/MPlayer-0.90rc1.tar.bz2">
  -<!ENTITY mplayer-download-ftp "ftp://ftp.lug.udel.edu/MPlayer/releases/MPlayer-0.90rc1.tar.bz2">
  -<!ENTITY mplayer-size "3 MB">
  +<!ENTITY mplayer-buildsize "40.3 MB">
  +<!ENTITY mplayer-version "0.90rc2">
  +<!ENTITY mplayer-download-http "http://ftp.lug.udel.edu/MPlayer/releases/MPlayer-0.90rc2.tar.bz2">
  +<!ENTITY mplayer-download-ftp "ftp://ftp.lug.udel.edu/MPlayer/releases/MPlayer-0.90rc2.tar.bz2">
  +<!ENTITY mplayer-size "3.1 MB">
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-book' in the subject header of the message



More information about the blfs-book mailing list