Mplayer-plugin: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
(initial)
 
mNo edit summary
Line 19: Line 19:
==Installation==
==Installation==
To install lame
To install lame
cd $SOURCEDIR
<pre>
tar xvzf lame-<VERSION>.tar.gz
cd $SOURCEDIR
tar xvzf lame-<VERSION>.tar.gz
cd lame-<VERSION>
./configure --prefix=/usr/local
cd lame-<VERSION>
make
./configure --prefix=/usr/local
make
make install
make install
</pre>


FFMPEG
FFMPEG
cd $SOURCEDIR
<pre>
tar xvzf ffmpeg-<VERSION>.tar.gz
cd $SOURCEDIR
tar xvzf ffmpeg-<VERSION>.tar.gz
ln -s ffmpeg-<VERSION> ffmpeg
ln -s ffmpeg-<VERSION> ffmpeg
cd ffmpeg
./configure --prefix=/usr/local \
cd ffmpeg
--enable-shared
./configure --prefix=/usr/local \
make
--enable-shared
make
make install
ldconfig
make install
ldconfig
</pre>


For [[MPlayer]], see it's documentation and homepage.
For [[MPlayer]], see it's documentation and homepage.
Line 52: Line 48:
* Traditional
* Traditional
If "Traditional" is choosen '''/usr/local/bin/mplayer.sh.conf''' has to be altered
If "Traditional" is choosen '''/usr/local/bin/mplayer.sh.conf''' has to be altered
# Lirc RC File
<pre>
LIRCRC="/etc/lircrc.conf"
# Lirc RC File

LIRCRC="/etc/lircrc.conf"
</pre>
and MPlayer must be compiled with [[LIRC]] support!
and MPlayer must be compiled with [[LIRC]] support!



Revision as of 22:41, 30 November 2004

Description

The MPlayer plugin uses MPlayer to play video files other than the recordings. E.g. the famous DivX format can be played using this plugin.

Hint

This plugins comes together with the mp3-plugin in one package

Hardware requirements

  • faster hardware (e.g. >1GHz for DivX other formats might be less CPU intensive)

Software requirements

  • MPlayer
  • several codecs
  • Lame
  • FFMPEG
  • mplayer.sh

Installation

To install lame

cd $SOURCEDIR
tar xvzf lame-<VERSION>.tar.gz
cd lame-<VERSION>
./configure --prefix=/usr/local
make
make install

FFMPEG

cd $SOURCEDIR
tar xvzf ffmpeg-<VERSION>.tar.gz
ln -s ffmpeg-<VERSION> ffmpeg
cd ffmpeg
./configure --prefix=/usr/local \
            --enable-shared
make
make install
ldconfig

For MPlayer, see it's documentation and homepage.

See plugin installation.

Configuration

See also mp3-plugin.

MPlayer can work in one of two modes (changeable in the plugin setup)

  • Slave (recommended)
  • Traditional

If "Traditional" is choosen /usr/local/bin/mplayer.sh.conf has to be altered

# Lirc RC File
LIRCRC="/etc/lircrc.conf"

and MPlayer must be compiled with LIRC support!

Parameter

Parameter (short) Parameter (long) Description
-m CMD --mount=CMD use CMD to mount/unmount/eject mp3 sources (default: mount.sh)
-M CMD --mplayer=CMD use CMD when calling MPlayer (default: mplayer.sh)

Problems

  • MPlayer plays no videos when the first DVB card has no MPEG decoder. Try to alter dev/adapter0 in libvo/vo_mpegpes.c of the MPlayer sources
  • If some video are displayed in black and white, it might be your TV doesn't support NTSC. Try to set the NTSC option in /usr/local/bin/mplayer.sh.conf to false.
  • Does not work for DVDs and (S)VCDs.

Links

[1] http://http://www.muempf.de/index.html Plugin homepage
[2] http://www.mplayerhq.hu/homepage MPlayer homepage
[3] http://ffmpeg.sourceforge.net FFMPEG homepage
[4] http://lame.sourceforge.net Lame homepage
[5] http://batleth.sapienti-sat.org/projects/VDR Shell script (mplayer.sh)
[6] http://www.js-home.org/vdr/mplayer-multi/index.php mplayer-multi