mplayer 1.0pre4: Unterschied zwischen den Versionen

Aus Mikiwiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: == Installation == === SUSE Linux 9.1 Professional === Skins ins Verzeichnis "/usr/local/share/mplayer/Skin" mplayer kann XMMS-Inputplugins benutzen, um viele Dateif...)
 
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
== Installation ==
<b>mplayer 1.0pre4</b> ist eine Version des Medienspielers [[mplayer]].


=== SUSE Linux 9.1 Professional ===
== Installation unter SUSE Linux 9.1 Professional ==


Skins ins Verzeichnis "/usr/local/share/mplayer/Skin"
Skins ins Verzeichnis "/usr/local/share/mplayer/Skin"
Zeile 7: Zeile 7:
mplayer kann XMMS-Inputplugins benutzen, um viele Dateiformate abzuspielen. Es gibt Plugins für SNES-Spielemusik, SID-Musik, viele Amiga-Formate, .xm, .it, VQF, musepack, Bonk shorten usw. Dazu wird XMMS benötigt, ausserdem muss MPlayer mit "./configure --enable-xmms" kompiliert werden. Funktioniert das nicht, müssen eventuell die Pfade für die XMMS-Plugings und die XMMS-Bibliotheken explizit mit "--with-xmmsplugindir" und "--withxmmslibdir" angegeben werden.
mplayer kann XMMS-Inputplugins benutzen, um viele Dateiformate abzuspielen. Es gibt Plugins für SNES-Spielemusik, SID-Musik, viele Amiga-Formate, .xm, .it, VQF, musepack, Bonk shorten usw. Dazu wird XMMS benötigt, ausserdem muss MPlayer mit "./configure --enable-xmms" kompiliert werden. Funktioniert das nicht, müssen eventuell die Pfade für die XMMS-Plugings und die XMMS-Bibliotheken explizit mit "--with-xmmsplugindir" und "--withxmmslibdir" angegeben werden.


<pre>
See: MPlayer - Fedora guida [ http://www.mjmwired.net/resources/mplayer-fedora.html ]
See: MPlayer - Fedora guida [ http://www.mjmwired.net/resources/mplayer-fedora.html ]


MPlayer handles many file formats internally, however the following
MPlayer handles many file formats internally, however the following applications will add to the file formats that MPlayer can both decode and encode.
applications will add to the file formats that MPlayer can both decode and
 
encode.
<pre>
=== Basic dependencies ===


2. Basic dependencies
==== DivX ====
---------------------


2.1. DivX
---------
DivX is the MPEG-4 codec provided by DivXNetworks, Inc.
DivX is the MPEG-4 codec provided by DivXNetworks, Inc.


Zeile 25: Zeile 22:
Download: http://www.divx.com/divx/linux/
Download: http://www.divx.com/divx/linux/


$ tar xzf divx4linux-std-20030428.tar.gz
$ tar xzf divx4linux-std-20030428.tar.gz
$ cd divx4linux-20030428
$ cd divx4linux-20030428
# checkinstall
# checkinstall
# yast -i /usr/src/packages/RPMS/i386/divx4linux-20030428-1.i386.rpm
# yast -i /usr/src/packages/RPMS/i386/divx4linux-20030428-1.i386.rpm


==== Lame ====


2.2. Lame
Lame is an open source MP3 encoder. MPlayer uses lame for compressing audio into MP3 when encoding files from MPEG or other sources.
---------
Lame is an open source MP3 encoder. MPlayer uses lame for compressing audio
into MP3 when encoding files from MPEG or other sources.


Current Version: 3.96
Current Version: 3.96
Zeile 57: Zeile 52:
# ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
# ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0


==== XviD ====


2.3. XviD
---------
XviD is an ISO MPEG-4 compliant video codec. MPlayer can encode movie files
XviD is an ISO MPEG-4 compliant video codec. MPlayer can encode movie files
formats into the XviD format.
formats into the XviD format.
Zeile 74: Zeile 68:
# yast -i /usr/src/packages/RPMS/i386/generic-0.9.2-1.i386.rpm
# yast -i /usr/src/packages/RPMS/i386/generic-0.9.2-1.i386.rpm


2.4. RealPlayer
==== RealPlayer ====
---------------


RealPlayer 8.0.3.465-89 is already installed with SuSE Linux 9.1
RealPlayer 8.0.3.465-89 is already installed with SuSE Linux 9.1


3. MPlayer
=== MPlayer ===
----------


Current Version: 1.0pre4
Current Version: 1.0pre4
Zeile 86: Zeile 78:
Download: http://www.mplayerhq.hu/homepage/design7/dload.html
Download: http://www.mplayerhq.hu/homepage/design7/dload.html


3.1. MPlayer files
==== MPlayer files ====
------------------


Obtain the following files for installation. Please use an appropriate mirror
Obtain the following files for installation. Please use an appropriate mirror
Zeile 102: Zeile 93:
Basic fonts: font-arial-iso-8859-1.tar.bz2
Basic fonts: font-arial-iso-8859-1.tar.bz2


3.2. Installing additional codecs
==== Installing additional codecs ====
---------------------------------


These additional codecs are to read formats that currently are only accessible
These additional codecs are to read formats that currently are only accessible in Microsoft Windows. They include Windows Media and Quicktime. All the win32 codecs must be installed in /usr/lib/win32.
in Microsoft Windows. They include Windows Media and Quicktime. All the win32
codecs must be installed in /usr/lib/win32.


# mkdir /usr/lib/win32
# mkdir /usr/lib/win32
# cd /usr/lib/win32
# cd /usr/lib/win32
# tar xjf win32codecs.tar.bz2
# tar xjf win32codecs.tar.bz2
# tar xjf qt6dlls.tar.bz2
# tar xjf qt6dlls.tar.bz2
# tar xjf rp8win32codecs.tar.bz2
# tar xjf rp8win32codecs.tar.bz2
# cp win32codecs/* qt6dlls/* rp8win32codecs/* .
# cp win32codecs/* qt6dlls/* rp8win32codecs/* .
# rm -rf win32codecs qt6dlls rp8wincodecs *.bz2
# rm -rf win32codecs qt6dlls rp8wincodecs *.bz2


3.3. Setup MPlayer
==== Setup MPlayer ====
------------------


MPlayer follows standard Linux application procedure of installing
MPlayer follows standard Linux application procedure of installing

Version vom 6. Februar 2009, 13:50 Uhr

mplayer 1.0pre4 ist eine Version des Medienspielers mplayer.

Installation unter SUSE Linux 9.1 Professional

Skins ins Verzeichnis "/usr/local/share/mplayer/Skin"

mplayer kann XMMS-Inputplugins benutzen, um viele Dateiformate abzuspielen. Es gibt Plugins für SNES-Spielemusik, SID-Musik, viele Amiga-Formate, .xm, .it, VQF, musepack, Bonk shorten usw. Dazu wird XMMS benötigt, ausserdem muss MPlayer mit "./configure --enable-xmms" kompiliert werden. Funktioniert das nicht, müssen eventuell die Pfade für die XMMS-Plugings und die XMMS-Bibliotheken explizit mit "--with-xmmsplugindir" und "--withxmmslibdir" angegeben werden.

See: MPlayer - Fedora guida [ http://www.mjmwired.net/resources/mplayer-fedora.html ]

MPlayer handles many file formats internally, however the following applications will add to the file formats that MPlayer can both decode and encode.

=== Basic dependencies ===

==== DivX ====

DivX is the MPEG-4 codec provided by DivXNetworks, Inc.

Current Version: 5.0.5
Current Date: 20030428
Download: http://www.divx.com/divx/linux/

 $ tar xzf divx4linux-std-20030428.tar.gz
 $ cd divx4linux-20030428
 # checkinstall
 # yast -i /usr/src/packages/RPMS/i386/divx4linux-20030428-1.i386.rpm

==== Lame ====

Lame is an open source MP3 encoder. MPlayer uses lame for compressing audio into MP3 when encoding files from MPEG or other sources.

Current Version: 3.96
Release Date: 2004-04-10
Download: http://lame.sourceforge.net/download/download.html

$ tar xzf lame-3.96.tar.gz
$ cd lame-3.96
$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
...
config.status: creating mac/Makefile
config.status: creating config.h
config.status: executing default-1 commands
$ make
# checkinstall
# yast -i /usr/src/packages/RPMS/i386/lame-3.96-1.i386.rpm

Note: At least the MPlayer 1.0pre3 release may not properly link to the Lame libraries in their default install location. The following fix allowed MPlayer to detect Lame:

# ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0

==== XviD ====

XviD is an ISO MPEG-4 compliant video codec. MPlayer can encode movie files
formats into the XviD format.

Current Stable Version: 
Release Date: 
Download: http://files.xvid.org/downloads/xvidcore-1.0.0-rc4.tar.bz2

$ tar xjf xvidcore-1.0.0-rc4.tar.bz2
$ cd xvidcore-1.0.0-rc4/build/generic/
$ ./configure
$ make
# checkinstall
# yast -i /usr/src/packages/RPMS/i386/generic-0.9.2-1.i386.rpm

==== RealPlayer ====

RealPlayer 8.0.3.465-89 is already installed with SuSE Linux 9.1

=== MPlayer ===

Current Version: 1.0pre4
Current Date: 2004.04.28
Download: http://www.mplayerhq.hu/homepage/design7/dload.html

==== MPlayer files ====

Obtain the following files for installation. Please use an appropriate mirror
location to download the files. The first is the MPlayer source, the second
set is additional codecs. The third set is a few skins and the last is the
basic fonts. Select the correct font for your location. Both the skins are
strictly optional, however if you want to have a GUI for MPlayer you should
have at least one skin. You only need one font set.

The MPlayer source: MPlayer-1.0pre4.tar.bz2
Additional codecs: qt6dlls.tar.bz2, rp8win32codecs.tar.bz2,
win32codecs.tar.bz2
Skins: default-1.8.tar.bz2
Basic fonts: font-arial-iso-8859-1.tar.bz2

==== Installing additional codecs ====

These additional codecs are to read formats that currently are only accessible in Microsoft Windows. They include Windows Media and Quicktime. All the win32 codecs must be installed in /usr/lib/win32.

 # mkdir /usr/lib/win32
 # cd /usr/lib/win32
 # tar xjf win32codecs.tar.bz2
 # tar xjf qt6dlls.tar.bz2
 # tar xjf rp8win32codecs.tar.bz2
 # cp win32codecs/* qt6dlls/* rp8win32codecs/* .
 # rm -rf win32codecs qt6dlls rp8wincodecs *.bz2

==== Setup MPlayer ====

MPlayer follows standard Linux application procedure of installing
dependancies, configuring, compiling and installing. The above steps were to
eliminate any dependancy problems.

$ tar xjf MPlayer-1.0pre4.tar.bz2
$ cd MPlayer-1.0pre3

3.3.1. Configuring
------------------

Configuring allows to customize certain parameters. To see all of MPlayers
configuring options run:

$ ./configure --help

I recommend the following options:

$ ./configure --enable-gui --enable-largefiles --enable-menu --enable-xmms

or forget the GUI if there is a problem with GTK:

$ ./configure --enable-largefiles --enable-xmms

Read the output carefully to determine whether or not any mistakes were made
or if some library is not detected. For example to check if the Lame
libraries were detected, look for the following line:

Checking for libmp3lame (for mencoder) ... yes

If you like add any additional codecs or modify the configure settings and
re-run the configure script.

Not all the codecs should be detected. In fact most will not. However the many
that you have should be an adequate starting point for using MPlayer to decode
and encode. Read over the MPlayer documention to find out how to enable
additional codecs or input/output drivers.

Config files successfully generated by ./configure !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer

  Byte order: Little Endian
  Optimizing for: pentium4 mmx mmx2 sse sse2 mtrr

  Languages:
    Messages/GUI: en
    Manual pages: en (no localization selected, use --language=all)

  Enabled optional drivers:
    Input: ftp network tv-v4l2 tv-v4l edl tv cdda mpdvdkit2 vcd dvb
    Codecs: flac(internal) qtx divx5linux xvid libdv libavcodec real xanim dshow/dmo win32 faad2(internal) gif
    Audio output: alsa9 oss mpegpes(dvb)
    Video output: xvidix cvidix vesa gif89a jpeg png mpegpes(dvb) fbdev dga xv x11 xover dfbmga directfb tga
  Disabled optional drivers:
    Input: tv-bsdbt848 live.com matroska dvdread smb
    Codecs: divx4linux libtheora libvorbis libmad liblzo
    Audio output: sgi sun esd arts dxr2 nas win32 sdl macosx
    Video output: winvidix bl zr zr2 dxr3 dxr2 directx sdl svga aa ggi xmga mga opengl xvmc tdfx_vid tdfxfb 3dfx

Note: When MPlayer fails to detect a plugin or library, make sure you have
that library RPM installed AND make sure you have its devel RPM installed.
For example: for artsd output you need arts-1.1.4-3 and
arts-devel-1.1.4-3.3.3.2.

3.3.2 Installing
----------------

$ make

If there is an error at this point you may have used an improper library or
version of a dependancy. Try to determine at which file the compile fails and
post to help forums, newsgroups or mailing lists for assistance. Reading
MPlayer documentions usually helps. Often the easiest solution is go to a
previous version of a library or dependancy application. For example: using
the DivX 5.0.1 instead of 5.0.5. Another solution maybe to entirely disable
that plugin. Running ./configure --help will list how to disable most plugins
or detections that MPlayer uses.

If you need to fix something, you will have to re-do the Configure step from
above. Otherwise continue:

# checkinstall

MPlayer will be installed and the last few lines of output indicate where we
should install the skins and fonts.

*** Download font at http://www.mplayerhq.hu/homepage/dload.html
*** for OSD/Subtitles support and extract to /usr/local/share/mplayer/font/
*** Download skin(s) at http://www.mplayerhq.hu/homepage/dload.html
*** for GUI, and extract to /usr/local/share/mplayer/Skin/


ATTENTION: All the following had to be done under MPlayer 1.0pre3 but now here are no more files called codecs.conf and input.conf (?!)

When MPlayer runs it uses a codec file. After compiling, install this
globally:

# cp etc/codecs.conf /usr/local/etc/mplayer/codecs.conf

To set local codecs.conf, place it in ~/.mplayer/codec.conf. Or link to the
global file:

# su - mik
$ ln -s /usr/local/etc/mplayer/codecs.conf ~/.mplayer/codecs.conf

Similar to the codecs, MPlayer also uses an input control file to map
keyboard, joystick and other devices to functions in the program. For the
global file:

# cp etc/input.conf /usr/local/etc/mplayer/input.conf

To set local input.conf, place it in ~/.mplayer/input.conf. Or link to the
global file:

# su - mik
$ ln -s /usr/local/etc/mplayer/input.conf ~/.mplayer/input.conf

Note: In both cases the files in ~/.mplayer/ are your own personal settings.
You are NOT required to link them, you can edit them and use your own
settings. Please read the MPlayer official documentation from their website
for more information.