From ec2270fc210edc8eaf236dcd5106ea9a9ca28f61 Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Thu, 20 Jan 2005 05:06:50 +0000 Subject: [PATCH] Updated to MPlayer-1.0pre6a, also added indexing tags to package instructions git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3319 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 4 +- introduction/welcome/changelog.xml | 3 + multimedia/videoutils/mplayer.xml | 133 +++++++++++++++++++--------- multimedia/videoutils/transcode.xml | 4 +- 4 files changed, 99 insertions(+), 45 deletions(-) diff --git a/general.ent b/general.ent index fb210f9264..380908bbb9 100644 --- a/general.ent +++ b/general.ent @@ -1,4 +1,4 @@ - + @@ -459,7 +459,7 @@ - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 5a3c3bb320..756b6ce591 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -22,6 +22,9 @@ who wrote what. +January 20th, 2005 [randy]: Updated to +MPlayer-1.0pre6a. + January 19th, 2005 [randy]: Added installation of HTML documentation to the FFmpeg instructions; added commands to create symlinks to the moved libstdc++ library in the GCC3 diff --git a/multimedia/videoutils/mplayer.xml b/multimedia/videoutils/mplayer.xml index eb34a8207f..e1ab4d3db7 100644 --- a/multimedia/videoutils/mplayer.xml +++ b/multimedia/videoutils/mplayer.xml @@ -5,21 +5,24 @@ - - - + + + + ]> - + $LastChangedBy$ $Date$ <application>MPlayer</application>-&mplayer-version; + +MPlayer Introduction to <application>MPlayer</application> @@ -44,6 +47,7 @@ output devices supported by MPlayer, visit the Download (FTP): +Download MD5 sum: &mplayer-md5sum; Download size: &mplayer-size; Estimated disk space required: &mplayer-buildsize; @@ -162,10 +166,10 @@ and LIRC (which can provide support for additional audio and video formats such as Real, Indeo and QuickTime), extract them to /usr/lib/mplayer/codecs -using the following commands (substitute and/or add different +using the following commands as the root user (substitute and/or add different CODEC filenames, if necessary): -install -d -m755 /usr/lib/mplayer/codecs && +install -d -m755 /usr/lib/mplayer/codecs && tar -jxf ../&mplayer-default-codec; \ -C /usr/lib/mplayer/codecs --strip-path=1 && chown -R root:root /usr/lib/mplayer/codecs @@ -182,9 +186,9 @@ to the configure script. MPlayer (requires ), add to the configure script. You'll also need to extract at least one skin. Extract the desired -skin and create the default location: +skin and create the default location (as the root user): -install -v -d -m755 /usr/share/mplayer/Skin && +install -v -d -m755 /usr/share/mplayer/Skin && tar -jxf ../&mplayer-default-skin; \ -C /usr/share/mplayer/Skin && chown -v -R root:root /usr/share/mplayer/Skin/Blue && @@ -214,8 +218,11 @@ commands: patch -Np1 -i ../MPlayer-&mplayer-version;-kernel_2.6-1.patch && ./configure --prefix=/usr --confdir=/etc/mplayer \ --enable-largefiles && -make && -make install && +make + +Now, as the root user: + +make install && install -d -m755 /usr/share/doc/mplayer && cp -R DOCS/* /usr/share/doc/mplayer @@ -227,7 +234,7 @@ shared library, add to the configure script, then execute the following command after the commands above: -make -C libavcodec/libpostproc install +make -C libavcodec/libpostproc install You will need codecs.conf only if you want to change its properties, as the main binary contains an internal copy of @@ -236,13 +243,13 @@ the desired results, as incorrect entries in this file have been known to cause errors and render the player unusable. If necessary, create the file using the following command. -install -m644 etc/codecs.conf /etc/mplayer +install -m644 etc/codecs.conf /etc/mplayer You may also want to copy all the default configuration files to /etc/mplayer for future reference or more customization ability. -install -m644 etc/*.conf /etc/mplayer +install -m644 etc/*.conf /etc/mplayer @@ -265,7 +272,7 @@ ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf \ prerendered MPlayer font package, extract and link one of the font tarballs using the following commands: -tar -jxf ../&mplayer-default-font;.tar.bz2 \ +tar -jxf ../&mplayer-default-font;.tar.bz2 \ -C /usr/share/mplayer/font && chown -R root:root /usr/share/mplayer/font && cd /usr/share/mplayer/font && @@ -286,7 +293,7 @@ url="http://www.mplayerhq.hu/DOCS/HTML/en/subosd.html#mpsub-install"/>. from your DVD drive to /dev/dvd. If necessary, create the link using the following commands: -cat >> /etc/udev/rules.d/24-dvd.rules << "EOF" +cat >> /etc/udev/rules.d/24-dvd.rules << "EOF" # Create a /dev/dvd symlink KERNEL="[dvd drive]", SYMLINK="dvd" @@ -311,9 +318,13 @@ ATAPI CD/DVD-ROM drive Configuring <application>MPlayer</application> -Config files +Config files /etc/mplayer/*, ~/.mplayer/* + +~/.mplayer/* + +/etc/mplayer/* Configuration information @@ -323,7 +334,7 @@ directory is empty unless you copied the default files as mentioned above). Configuration can be accomplished by choosing the configuration button located on the MPlayer GUI. Any configuration changes made here will be copied to the user's -~/.mplayer directory. +~/.mplayer directory. @@ -331,45 +342,64 @@ configuration changes made here will be copied to the user's Contents -The MPlayer package contains -mplayer, -gmplayer and -mencoder. + +Installed Programs +Installed Libraries +Installed Directories + +gmplayer, mplayer and mencoder +libdha.so and optionally, libpostproc.so +/etc/mplayer, /usr/lib/mplayer, /usr/share/mplayer and +/usr/share/doc/mplayer + + - + +Short Descriptions + -Description + +gmplayer +is a symlink to mplayer which brings up +the graphical user interface component of +MPlayer. + +gmplayer + + -mplayer -mplayer manages the input formats, the -CODECs and the output formats to play video files, -DVDs, (S)VCDs or network streams -containing audio and/or video information on your system. + +mplayer + manages the input formats, the CODECs and +the output formats to play video files, DVDs, +(S)VCDs or network streams containing audio and/or video +information on your system. + +mplayer Examples: -mplayer -fs blfs.avi +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 +mplayer http://www.students.uni-marburg.de/~Klossa/hapkidofight_lo.mpg For further information, look at the very good documentation included with the package in the source tree subdirectory DOCS (also installed at /usr/share/doc/mplayer). - + + -gmplayer -gmplayer is a symlink to -mplayer which brings up the graphical user -interface component of MPlayer. - -mencoder -mencoder is used to encode any -MPlayer playable movie to DivX4, -XviD or any CODEC in + +mencoder +is used to encode any MPlayer +playable movie to DivX4, XviD or any +CODEC in libavcodec with PCM/MP3/VBRMP3 audio. + +mencoder Example: @@ -387,7 +417,28 @@ mencoder -dvd 1 -aid 128 -ovc frameno -oac mp3lame \ mencoder -dvd 1 -aid 128 -oac copy -ovc lavc \ -lavcopts vcodec=mpeg4:vpass=2:vhq:vbitrate=<bitrate> -o <name.avi> mencoder -forceidx <name.avi> - + + + + +libdha.so +contains functions used by the +MPlayer programs. + +libdha.so + + + + +libpostproc.so +is a post-processing filter library used by the +MPlayer programs and other packages. + +libpostproc.so + + + + diff --git a/multimedia/videoutils/transcode.xml b/multimedia/videoutils/transcode.xml index 2fe12cdbad..9bab383967 100644 --- a/multimedia/videoutils/transcode.xml +++ b/multimedia/videoutils/transcode.xml @@ -96,8 +96,8 @@ url="&patch-root;/transcode-&transcode-version;-gcc34-1.patch"/> LoRS/IBP Though Transcode has no compile-time -requirement for 's shared post-processing library, -Transcode can use it at run-time. +requirement for 's shared post-processing +library, Transcode can use it at run-time.