Mediamvp-plugin

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Konfiguration)
Zeile 141: Zeile 141:
  
 
==Konfiguration==
 
==Konfiguration==
 +
cp -u $SOURCEDIR/VDR/PLUGINS/src/mediamvp/*.conf [[Struktur|/etc/vdr/plugins]]
  
 
<!-- ==Einstellungen== -->
 
<!-- ==Einstellungen== -->

Version vom 1. April 2006, 12:05 Uhr

Inhaltsverzeichnis

Beschreibung

Autor: Dominic Morris

Hauppauge MediaMVP => als VDR Client

Bilder

Einstellungen

Hardwareanforderungen

Softwareanforderungen

  • libevent (benötigt)
  • zlib (benötigt)
  • libjpeg (optional)
  • libxml2 (optional)
  • ImageMagick (optional)

Installation

Source

Firmware und Loader.

cd /tmp
wget ftp://ftp.shspvr.com/download/mediamvp/mediamvp_<VERSION>.exe

#--------------------------------------
# unzip -l *.exe DONGLE.BIN
# Archive:  mediamvp_2.3.22343.exe
# Windows Self-Installing Executable
# Length   Date       Time  Name
# -------- ----       ----  ----
# 1464352  01-20-04  10:48  DONGLE.BIN
# --------                  -------
# 1464352                   1 file
#--------------------------------------

mkdir /tftpboot
unzip -p *.exe DONGLE.BIN > /tftpboot/mvp-dongle-22343
cd /tftpboot
ln -vfs mvp-dongle-22343 dongle.bin

cd /tftpboot
wget http://warped.bluecherry.net/~other/mediamvp/files/mvploader-1.0.c.gz
gunzip mvploader-1.0.c.gz
gcc -Wall -O2 mvploader-1.0.c -o mvploader

Anhängen der Version für das Plugin.

echo 'mediamvp.dongle_version = 22343' >>/etc/vdr/setup.conf

Lib

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

ImageMagick siehe text2skin-plugin, auskommentieren des Makefiles nicht vergessen, laut doc/HISTORY ist ImageMagick für die Konvertierung von Bildern zuständig.

Um genau zu sein ImageMagick oder Libjpeg, letzteres wird laut Makefile standard genutzt.

HAVE_LIBJPEG = 1

Libjpeg sollte eigentlich schon installiert sein, ohne diese Lib läßt sich VDR nicht übersetzen, falls nicht.

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

libxml2

cd $SOURCEDIR
tar xvzf libxml2-<VERSION>.tar.gz
cd libxml2-<VERSION>
./configure --prefix=/usr/local
make
make install
ln -s /usr/local/include/libxml2/"* /usr/local/include
ldconfig

Um den MVPLoader bei jedem Systemstart zu starten, liegt unter Mvploader ein Init-Skript bereit.

Arch-Linux

pacman -S libxml2 imagemagick libevent

Crux

prt-get depinst libxml2 imagemagick libevent

Debian

apt-get install libevent-dev libxml2-dev libmagick9-dev libid3tag0-dev

Gentoo

emerge libxml2 imagemagick libevent

SuSE

yast -i libxml2-devel ImageMagick-devel ImageMagick-Magick++ libevent

Optionen

HAVE_MAGICK=1 Uncomment these if you have the appropriate libraries
MAGICK_VERSION=6 Set this to the version of ImageMagick that you have
HAVE_LIBJPEG=1
HAVE_LIBXML2=1
HAVE_LIBID3TAG=1
SINGLE_DEVICE=1 Uncomment this if you only have a single device in your vdr machine


Konfiguration

cp -u $SOURCEDIR/VDR/PLUGINS/src/mediamvp/*.conf /etc/vdr/plugins


Parameter

Parameter (kurz) Parameter (lang) Beschreibung
-f fontfile --aaa=fontfile Use specified font for menus


Tipps

vompserver-plugin funktioniert, mediamvp-plugin nicht

Falls das vompserver-plugin funktioniert, mediamvp-plugin nicht.

Könnte ein Eintrag in der /etc/hosts fehlen.

192.168.178.22    crux
^^^^^^^^^^^^^^    ^^^^
inet addr         hostname

Plugin x2

Es werden 2 Plugins beim übersetzen erstellt, letzteres ist nicht zu laden. (Will heißen, man kann es wohl laden, nur funktionierten beide zusammen hier nicht...)

mediamvp
mvp


Snapshot

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-mediamvp login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-mediamvp co mediamvp

Links

[1] http://www.gzip.org/zlib Zlib
[2] http://www.ijg.org Libjpeg
[3] http://www.xmlsoft.org Libxml2
[4] http://www.imagemagick.org ImageMagick
[5] http://www.hauppauge.de/pages/products/data_mediamvp.html Hauppauge MediaMVP
[6] http://www.hauppauge.com/html/mediamvp_datasheet.htm MediaMVP Datenblatt (Englisch)
[7] http://www.monkey.org/~provos/libevent Libevent
[8] http://www.rst38.org.uk/vdr Homepage des Plugins
[9] http://bluecherry.net/~other/mediamvp/files Simpler firmware loader für MediaMVP unter Linux
[10] ftp://ftp.shspvr.com/download/mediamvp MediaMVP Software (DONGLE.BIN)
[11] http://www.heise.de/ct/ftp/projekte/vdr/firmware.shtml MediaMVP Software (DONGLE.BIN)
[12] http://www.shspvr.com/forum/viewtopic.php?t=5749&highlight=radio Internet Radiosender mit MVP nutzen
[13] http://www.vdrportal.de/board/thread.php?threadid=10135&sid= HOWTO: Hauppauge MediaMVP mit VDR (aus dem Vdrportal)
In anderen Sprachen