https://www.linuxtv.org/vdrwiki/api.php?action=feedcontributions&user=160.80.34.113&feedformat=atomVDR Wiki - User contributions [en]2024-03-29T01:38:43ZUser contributionsMediaWiki 1.39.6https://www.linuxtv.org/vdrwiki/index.php?title=Mplayer-plugin&diff=5068Mplayer-plugin2008-06-27T16:59:04Z<p>160.80.34.113: </p>
<hr />
<div>==Description==<br />
[[Image:Mplayer-plugin(setup).jpg|thumb|Setup]]<br />
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.<br />
<br />
{{Box Info|<br />
This plugin comes together with the [[mp3-plugin]] in one package. By default, both the MP3 and MPlayer plugin lib will be built from sources.<br />
}}<br />
<br />
==Hardware requirements==<br />
* faster hardware (e.g. >1GHz for DivX other formats might be less [[CPU]] intensive).<br />
<br />
==Software requirements==<br />
* MPlayer<br />
* several codecs<br />
* Lame<br />
* FFMPEG<br />
* mplayer.sh<br />
<br />
==Installation==<br />
To install lame<br />
cd $SOURCEDIR<br />
tar xvzf lame-<VERSION>.tar.gz<br />
cd lame-<VERSION><br />
./configure --prefix=/usr/local<br />
make<br />
make install<br />
<br />
FFMPEG<br />
cd $SOURCEDIR<br />
tar xvzf ffmpeg-<VERSION>.tar.gz<br />
ln -s ffmpeg-<VERSION> ffmpeg<br />
cd ffmpeg<br />
./configure --prefix=/usr/local \<br />
--enable-shared<br />
make<br />
make install<br />
ldconfig<br />
<br />
For [[MPlayer]], see it's documentation and homepage.<br />
<br />
See [[plugin installation]].<br />
<br />
==Configuration==<br />
See also [[mp3-plugin]].<br />
<br />
MPlayer can work in one of two modes (changeable in the plugin setup)<br />
* Slave (recommended)<br />
** No further configuration is needed for this.<br />
* Traditional<br />
If "Traditional" is choosen '''/usr/local/bin/mplayer.sh.conf''' has to be altered<br />
# Lirc RC File<br />
LIRCRC="/etc/lircrc.conf"<br />
<br />
and MPlayer must be compiled with [[LIRC]] support!<br />
<br />
<br />
===Parameter===<br />
{| border=1 cellpadding=2 cellspacing=0<br />
|- bgcolor=#efdead<br />
!Parameter (short)<br />
!Parameter (long)<br />
!Description<br />
|-<br />
| -m CMD || --mount=CMD || use CMD to mount/unmount/eject mp3 sources (default: mount.sh)<br />
|-<br />
| -M CMD || --mplayer=CMD || use CMD when calling MPlayer (default: mplayer.sh)<br />
|}<br />
<br />
==Problems==<br />
===MPlayer fails to decode movies===<br />
...with errors indicating ffdivx can't handle some fourcc coding or mpegpes can't scale properly: Make sure you use the mplayer.sh script from (5) and not the included example.<br />
<br />
===MPlayer plays no videos when the first DVB card has no MPEG decoder=== <br />
* Try to alter ''dev/adapter0'' in '''libvo/vo_mpegpes.c''' of the MPlayer sources. <br />
* With new mplayer versions it is possible to give the correct video card in '''mplayer.sh.conf''' by <br />
VO="mpegpes:card=2"<br />
* Because the drivers don't always load in the same order, you can make things automagically (in mplayer.sh.conf):<br />
VO="mpegpes:card=$(($(find /dev/dvb | grep video0 | cut -c17)+1))"<br />
AO="mpegpes:card=$(($(find /dev/dvb | grep audio0 | cut -c17)+1))"<br />
<br />
===Video is displayed in black and white===<br />
* It might be your TV doesn't support NTSC. Try to set the ''NTSC'' option in '''/usr/local/bin/mplayer.sh.conf''' to ''false''.<br />
* Does not work for DVDs and (S)VCDs.<br />
<br />
==Links==<br />
{|<br />
| [1]<br />
| http://www.muempf.de/index.html<br />
| Plugin homepage<br />
|-<br />
| [2]<br />
| http://www.mplayerhq.hu/homepage<br />
| MPlayer homepage<br />
|-<br />
| [3]<br />
| http://ffmpeg.sourceforge.net<br />
| FFMPEG homepage<br />
|-<br />
| [4]<br />
| http://lame.sourceforge.net<br />
| Lame homepage<br />
|-<br />
| [5]<br />
| http://batleth.sapienti-sat.org/projects/VDR<br />
| Shell script (mplayer.sh)<br />
|-<br />
| [6]<br />
| http://www.js-home.org/vdr/mplayer-multi/index.php<br />
| mplayer-multi<br />
|}<br />
<br />
[[Category:Plugins]]<br />
<br />
{{i18n|mplayer-plugin}}</div>160.80.34.113