VDR-Plugin Xinelibout – Installation unter Ubuntu

Inhalt

Inhalt

Beschreibung

Dieser Artikel beschreibt die Installation und Konfiguration des VDR Plugins xinelibout.

Hersteller VDR
Autor(en) Klaus Schmidinger
Lizenz GPL / OpenSource
OS Linux – Ubuntu Studio 14.04.1 lts / KodiBuntu 14.04.1 lts
Kernel 3.13.0-39-lowlatency #66-Ubuntu SMP PREEMPT Tue Oct 28 13:56:46 UTC 2014 x86_64
3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Funktion io
Status open

Installationsumgebung / -Voraussetzung

Getestet wurde(n) die Plugin Version(en): amd64/trusty 1.1.0-1build1
mit der/den VDR Versionen: 2.0.3
unter der/den Ubuntu Version(en): 14.04.1 lts

Installationsquelle wechseln

Wegen Inkompatibilität und Problemen bei den vdr-plugin-vnsiserver für die Integration von xbmc / Kodi mit den original Ubuntu Quellen, werden hier die repos von yavdr genutzt (main, unstable-main, unstable-vdr). Es wird vom yavdr team expliziet vor dem unstable tree gewarnt, bei Nutzung sie hier nochmal aufs Risiko bzw. den Spass hingeweisen:
https://launchpad.net/~yavdr/+archive/ubuntu/unstable-vdr/+index?start=225&batch=75
http://www.vdr-portal.de/board16-video-disk-recorder/board99-distributionen/board96-yavdr/125336-fehlendes-paket-libavutil54-ffmpeg-in-ubuntu-14-04/

http://forum.kodi.tv/showthread.php?tid=212391&pid=1878958#pid1878958
http://kodi.wiki/view/VDR/Installation
http://kodi.wiki/view/VDR

sudo add-apt-repository ppa:yavdr/unstable-vdr
sudo add-apt-repository ppa:yavdr/main
sudo add-apt-repository ppa:yavdr/unstable-main
sudo apt-get update

Installation

Plugins Installation

Die Installation der Plugins

sudo apt-get install libcec3 libxine2 vdr-plugin-xineliboutput xineliboutput-fbfe libxineliboutput-fbfe libxineliboutput-fbfe xineliboutput-sxfe libxineliboutput-sxfe libxine2-xvdr xine-ui xine-plugin

Troubleshooting nach Installation der Plugins

Momentan (17.07.2015) kommt es zu ungelösten Abhängigkeiten und Paketkonflikten zwischen kodi und vdr-sxfe. kodi benötigt libcec2 und die Pakete für vdr-sxfe libcec3 welches eigentlich V2 enthält, kodi bemerkt das aber anscheinend nicht. Um kodi und vdr-sxfe trotzdem zu installieren nutze ich ein (nicht ganz so schönes) workaround.
http://serverfault.com/questions/250224/how-do-i-get-apt-get-to-ignore-some-dependencies

Während der  Installation der Pakete kodi und libcec2 de-installieren lassen und anschließend das kodi Paket runterladen

apt-get download kodi

Das runtergeladene Paket manuell installieren und die Abhängigkeiten ignorieren lassen
!!!ACHTUNG, DANACH IST DIE PAKETVERWALTUNG BESCHÄDIGT UND INKONSISTENT!!!

sudo dpkg -i --force-all /var/cache/apt/archives/kodi_2%3a14.2~git20150327.1058-final-0trusty_all.deb

Nun für apt-get die ungelösten Abhängigkeiten löschen

sudo vim /var/lib/dpkg/status

Nach Package: kodi suchen und in der Zeile Depends: das Paket libcec2 löschen (oder ändern auf libcec3, bleibt auszuprobieren)

Die Paketverwaltung soll eigentlich nun mit folgenden Befehl wieder “ins reine” gebracht werden, anschließend wurde allerdings das Paket kodi immer zurückgehalten (?!?)

sudo apt-get install -f

Ich werde für einige Zeit die Updates de-aktivieren und später versuchen die Abhängigkeiten sauber zu lösen.

Konfiguration

VDR Setup anpassen

Dies muss bei nicht laufenden VDR geschehen, sonst werden die Einstellungen beim nächsten beenden des VDR wieder überschrieben.

sudo service vdr stop
sudo vim /etc/vdr/setup.conf

x8ineliboutput.Post.pp.Enable = 0
xineliboutput.Audio.Compression = 100
xineliboutput.Audio.Delay = 0
xineliboutput.Audio.Driver = alsa
xineliboutput.Audio.Equalizer = 0 0 0 0 0 0 0 0 0 0
xineliboutput.Audio.Headphone = 0
xineliboutput.Audio.Port = hw:0,3
xineliboutput.Audio.SoftwareVolumeControl = 0
xineliboutput.Audio.Speakers = Surround 5.1
xineliboutput.Audio.Surround = 0
xineliboutput.Audio.Upmix = 0
xineliboutput.Audio.Visualization = none
xineliboutput.Audio.Visualization.GoomOpts = width=720,height=576,fps=25
xineliboutput.Audio.Visualization.ImageMRL = file:/usr/share/xine/visuals/default.avi
xineliboutput.DisplayAspect = CenterCutOut
xineliboutput.Frontend = sxfe
xineliboutput.Fullscreen = 1
xineliboutput.Media.CacheImplicitPlaylists = 1
xineliboutput.Media.DVD.ArrowKeysControlPlayback = 1
xineliboutput.Media.EnableID3Scanner = 1
xineliboutput.Media.MenuItems = -1
xineliboutput.Modeline =
xineliboutput.OSD.AlphaCorrection = 0
xineliboutput.OSD.AlphaCorrectionAbs = 0
xineliboutput.OSD.Blending = 1
xineliboutput.OSD.BlendingLowRes = 1
xineliboutput.OSD.DvbSubtitles = 0
xineliboutput.OSD.ExtSubSize = -1
xineliboutput.OSD.Height = 576
xineliboutput.OSD.HideMainMenu = 0
xineliboutput.OSD.LayersVisible = 4
xineliboutput.OSD.Scaling = 1
xineliboutput.OSD.ScalingSPU = 1
xineliboutput.OSD.Size = automatic
xineliboutput.OSD.Width = 720
xineliboutput.Playlist.Album = 0
xineliboutput.Playlist.Artist = 0
xineliboutput.Playlist.Tracknumber = 0
xineliboutput.Post.denoise3d.chroma = 30
xineliboutput.Post.denoise3d.Enable = 0
xineliboutput.Post.denoise3d.luma = 40
xineliboutput.Post.denoise3d.time = 60
xineliboutput.Post.pp.Mode = de
xineliboutput.Post.pp.Quality = 3
xineliboutput.Post.unsharp.chroma_amount = 0
xineliboutput.Post.unsharp.chroma_matrix_height = 3
xineliboutput.Post.unsharp.chroma_matrix_width = 3
xineliboutput.Post.unsharp.Enable = 0
xineliboutput.Post.unsharp.luma_amount = 0
xineliboutput.Post.unsharp.luma_matrix_height = 5
xineliboutput.Post.unsharp.luma_matrix_width = 5
xineliboutput.Remote.AllowHttp = 1
xineliboutput.Remote.AllowHttpCtrl = 0
xineliboutput.Remote.AllowRtsp = 1
xineliboutput.Remote.AllowRtspCtrl = 0
xineliboutput.Remote.Iface =
xineliboutput.Remote.Keyboard = 1
xineliboutput.Remote.ListenPort = 37890
xineliboutput.Remote.LocalIP =
xineliboutput.Remote.MaxClients = 10
xineliboutput.Remote.Rtp.Address = 224.0.1.9
xineliboutput.Remote.Rtp.AlwaysOn = 0
xineliboutput.Remote.Rtp.Port = 37890
xineliboutput.Remote.Rtp.SapAnnouncements = 1
xineliboutput.Remote.Rtp.TTL = 1
xineliboutput.Remote.UseBroadcast = 1
xineliboutput.Remote.UseHttp = 1
xineliboutput.Remote.UsePipe = 1
xineliboutput.Remote.UseRtp = 1
xineliboutput.Remote.UseTcp = 1
xineliboutput.Remote.UseUdp = 1
xineliboutput.RemoteMode = 1
xineliboutput.Video.AspectRatio = 3
xineliboutput.Video.AutoCrop = 1
xineliboutput.Video.AutoCrop.AutoDetect = 1
xineliboutput.Video.AutoCrop.AutoDetectRate = 4
xineliboutput.Video.AutoCrop.BarToneTolerance = 0
xineliboutput.Video.AutoCrop.DetectSubs = 1
xineliboutput.Video.AutoCrop.FixedSize = 1
xineliboutput.Video.AutoCrop.LogoWidth = 20
xineliboutput.Video.AutoCrop.OverscanCompensate = 0
xineliboutput.Video.AutoCrop.SoftStart = 1
xineliboutput.Video.AutoCrop.SoftStartStep = 4
xineliboutput.Video.AutoCrop.StabilizeTime = 125
xineliboutput.Video.AutoCrop.SubsDetectLifetime = 1500
xineliboutput.Video.AutoCrop.SubsDetectStabilizeTime = 12
xineliboutput.Video.AutoCrop.UseAvardsAnalysis = 0
xineliboutput.Video.AutoCrop.UseDriverCrop = 0
xineliboutput.Video.Brightness = -1
xineliboutput.Video.Contrast = -1
xineliboutput.Video.Decoder.H264 = automatic
xineliboutput.Video.Decoder.MPEG2 = automatic
xineliboutput.Video.Deinterlace = none
xineliboutput.Video.DeinterlaceOptions = method=Linear,cheap_mode=1,pulldown=none,framerate_mode=full,judder_correction=1,use_progressive_frame_flag=1,chroma_filter=0,enabled=1
xineliboutput.Video.Driver = auto
xineliboutput.Video.FieldOrder = 0
xineliboutput.Video.HUE = -1
xineliboutput.Video.IBPTrickSpeed = 1
xineliboutput.Video.MaxTrickSpeed = 12
xineliboutput.Video.NoiseReduction = -1
xineliboutput.Video.Overscan = 0
xineliboutput.Video.Port = :0
xineliboutput.Video.Saturation = -1
xineliboutput.Video.Scale = 1
xineliboutput.Video.Sharpness = -1
xineliboutput.Video.SwScale = 0
xineliboutput.Video.SwScale.Aspect = 1
xineliboutput.Video.SwScale.Downscale = 1
xineliboutput.Video.SwScale.Height = 1080
xineliboutput.Video.SwScale.Resize = 1
xineliboutput.Video.SwScale.Width = 1920
xineliboutput.VideoModeSwitching = 1
xineliboutput.X11.UseKeyboard = 1
xineliboutput.X11.WindowHeight = 1080
xineliboutput.X11.WindowWidth = 1920

Anpassen der Eingabegeräte

remote.conf  für Keyboard Eingaben anpassen

sudo vim /var/lib/vdr/remote.conf

XKeySym.Up         Up
XKeySym.Down       Down
XKeySym.Left       Left
XKeySym.Right      Right
XKeySym.Menu       m
XKeySym.Ok         Return
XKeySym.Back       BackSpace
XKeySym.Red        F1
XKeySym.Green      F2
XKeySym.Yellow     F3
XKeySym.Blue       F4
XKeySym.0          0
XKeySym.1          1
XKeySym.2          2
XKeySym.3          3
XKeySym.4          4
XKeySym.5          5
XKeySym.6          6
XKeySym.7          7
XKeySym.8          8
XKeySym.9          9
XKeySym.Info       I
XKeySym.Play       p
XKeySym.Pause      space
XKeySym.Stop       s
XKeySym.FastFwd    F6
XKeySym.FastRew    F5
XKeySym.Channel+   +
XKeySym.Channel-   -
XKeySym.Volume+    F12
XKeySym.Volume-    F11
XKeySym.Mute       F10
XKeySym.Audio      a
XKeySym.Audio      Alt+A
XKeySym.Audio      Alt+a
XKeySym.Subtitles  S
XKeySym.Schedule   x
XKeySym.Channels   c
XKeySym.Timers     t
XKeySym.Recordings r
XKeySym.Setup      F7
XKeySym.Commands   F8
XKeySym.Power      *
XKeySym.User1      !
XKeySym.User2      "
XKeySym.User3      §
XKeySym.User4      $
XKeySym.User5      %
XKeySym.User6      &
XKeySym.User7      /
XKeySym.User8      (
XKeySym.User9      )

xinelibout für Remote Zugriff freigeben

Um den Remote Zugriff freizugeben, muss der lokale Zugriff de-aktiviert werden

sudo vim /etc/vdr/plugins/plugin.xineliboutput.conf

#--remote=127.0.0.1:37890 #auskommentieren und im VDR Plugin Menü Remote Zugriff aktivieren

und das Netzwerk in der Steuerdatei für erlaubte Hosts eingetragen werden.

sudo vim /etc/vdr/plugins/xineliboutput/allowed_hosts.conf

127.0.0.1             # always accept localhost
#192.168.100.0/24     # any host on the local net
#204.152.189.113      # a specific host
#0.0.0.0/0            # any host on any net (USE THIS WITH CARE!)

10.xx.xx.x/24         # persönliches Netzwerk x durch Adressraum ersetzen

In den Einstellungen des Plugins im VDR Menü, muss der Remote Zugriff separat auch nochmal freigegeben werden.

Letztlich den VDR wieder starten

sudo service vdr start

Start des lokalen VDR über vdr-sxfe

über die Konsole, den lokalen VDR im Fenster

vdr-sxfe xvdr+tcp://127.0.0.1:37890 #lokaler Host

den lokalen VDR im Vollbild

vdr-sxfe --fullscreen xvdr+tcp://127.0.0.1:37890 #lokaler Host

einen entfernten VDR im Fenster

vdr-sxfe xvdr+tcp://10.xx.xx.xxx:37890 #entfernter Host

Sollte es Probleme mit der Tonausgabe geben, da im Hintergrund z.B. noch XBMC/Kodi läuft, so kann der VDR auch mit Alsa und dmixer als Sounddevice ausgegeben werden (http://www.it-system.info/?p=83)

vdr-sxfe --fullscreen --audio=alsa:dmixer xvdr+tcp://127.0.0.1:37890

 

Print Friendly, PDF & Email

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

*

Time limit is exhausted. Please reload the CAPTCHA.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.