Isdnlog-plugin

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Links)
(Links)
Zeile 148: Zeile 148:
 
| http://www.akool.homepage.t-online.de/isdnlog/index.html
 
| http://www.akool.homepage.t-online.de/isdnlog/index.html
 
| Homepage des Plugins
 
| Homepage des Plugins
|}[[Kategorie:Plugins]][[en:isdnlog-plugin]]
+
|}[[Kategorie:Plugins]]
 +
 
 +
{{i18n|isdnlog-plugin}}

Version vom 23. Februar 2006, 21:24 Uhr

Inhaltsverzeichnis

Beschreibung

Autor: Andreas Kool

Dieses Plugin erhält von einem irgendwo im eigenen LAN laufenden isdnlog Informationen über Telefonanrufe, und zeigt diese dann auf dem Fernseher an.

Bilder

Anruf von ...

Hardwareanforderungen

  • ISDN Karte oder ISDN Router

Softwareanforderungen

  • libmad
  • libsndfile
  • isdn4k-utils
  • speech-system

Installation

Das Plugin ist vorher zu entpacken/verlinken!

  • libmad, libsndfile, isdn4k-utils
cd $SOURCEDIR
tar xvzf libmad-<VERSION>.tar.gz
cd libmad-<VERSION>
./configure --prefix=/usr/local
make
make install
ldconfig
cd -

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

tar xvfj isdn4k-utils.<VERSION>.tar.bz2
cd isdn4k-utils
cp $SOURCEDIR/VDR/PLUGINS/src/isdnlog/examples/.config .
make menuconfig # <EXIT> -> <YES>
make

Im Makefile des Plugin eine kleine Änderung. (nur bei --prefix=/usr/local)

- LIB=$(ISDNLOG)/connect/*.o $(ISDNLOG)/../lib/libisdn.a -lmad -lsndfile
+ LIB=$(ISDNLOG)/connect/*.o $(ISDNLOG)/../lib/libisdn.a
+ LIBS     = -lmad -lsndfile

-	$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIB) -o $@
+	$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) $(LIB) -o $@

Folgendes ist jedoch zwingend.

- ISDNLOG=isdn4k-utils/isdnlog
+ ISDNLOG=$SOURCEDIR/isdn4k-utils/isdnlog
  • languages and voices pack
unzip de3-000307.zip -d /usr/local/share/speech
  • speech synthesizer
unzip mbr301h.zip -d /usr/local/bin
ln -s /usr/local/bin/mbrola-linux-i386 /usr/local/bin/mbrola
  • txt2pho
unzip txt2pho.zip -d /usr/local/share
cd /usr/local/share/txt2pho
cp txt2phorc /etc/txt2pho
unzip preproc.zip
cd preproc
mkdir obj
make
cp preproc ../txt2pho ../pipefilt /usr/local/bin
cp Rules.lst Hadifix.abk ../data

Die /etc/txt2pho ist anzupassen.

DATAPATH=/usr/local/share/txt2pho/data/
INVPATH=/usr/local/share/txt2pho/data/
INVENTORY=female

Vorm übersetzen des Plugins, noch eine Änderung in der isdnlog.c.

- sprintf(cmd, "echo \"%s\" | /video/mbrola/preproc /video/mbrola/Rules.lst /video/mbrola/Hadifix.abk | /video/mbrola/txt2pho -f | /video/mbrola/mbrola-linux-i386 /video/mbrola/de3 - -.au > %s",
+ sprintf(cmd, "echo \"%s\" | /usr/local/bin/preproc /usr/local/share/txt2pho/data/Rules.lst /usr/local/share/txt2pho/data/Hadifix.abk | /usr/local/bin/txt2pho -f | /usr/local/bin/mbrola-linux-i386 /usr/local/share/speech/de3/de3 - -.au > %s",


Probleme

  • mit "deaktivierter" Sprachausgabe bleibt die OSD-Anzeige nur fuer einige Millisekunden stehen.

Tipps

Alternativen

Siehe: svdrp-isdnanruf


Links

[1] http://www.isdn4linux.de isdn4k-utils
[2] http://www.underbit.com/products/mad (M)PEG (A)udio (D)ecoder Homepage
[3] http://www.zip.com.au/~erikd/libsndfile Homepage -> libsndfile
[4] http://tcts.fpms.ac.be/synthesis/mbrola.html MBROLA synthesizer
[5] http://www.ikp.uni-bonn.de/dt/forsch/phonetik/hadifix/HADIFIXforMBROLA.html Txt2pho - German TTS front end
[6] http://www.akool.homepage.t-online.de/isdnlog/index.html Homepage des Plugins
In anderen Sprachen