Ubuntu VDR DVB-T mittels Xine und VDPAU - xineliboutput Plugin

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(runvdr anpassen)
(Finetuning xineliboutput Plugin)
Zeile 212: Zeile 212:
 
  # numeric, default: 500
 
  # numeric, default: 500
 
  engine.buffers.video_num_buffers:1000
 
  engine.buffers.video_num_buffers:1000
 
# SCR-Treshold for SD-Playback (%)
 
# numeric, default: 50
 
media.xvdr.scr_treshold_sd:20
 
'''==>''' Prozentwert von "number of video buffers" bei dem die Wiedergabe des Bildes bei SD-Content beginnt
 
'''==>''' hier 20% von 1000 = 200
 
 
# SRC tuning step
 
# numeric, default: 5000
 
media.xvdr.scr_tuning_step:100
 
 
# Standardanzahl von Videobildern
 
# numeric, default: 15
 
engine.buffers.video_num_frames:22
 
  
 
==Links==
 
==Links==

Version vom 17. September 2010, 15:17 Uhr

Inhaltsverzeichnis

xineliboutput Plugin

Das xineliboutput Plugin ist das Ausgabedevice für den VDR.

Downloadverzeichnis vorbereiten

mkdir -p /data/installfiles/vdrplugins

Download

cd /data/installfiles/vdrplugins
cvs -z3 -d:pserver:anonymous@xineliboutput.cvs.sourceforge.net:/cvsroot/xineliboutput co vdr-xineliboutput
mv vdr-xineliboutput vdr-xineliboutput-cvs-16092010

Änderungen am xineliboutput Plugin

Unter folgendem Link kann man die Änderungen am Plugin mitverfolgen:

http://sourceforge.net/mailarchive/forum.php?forum_name=xineliboutput-cvslog

xineliboutput installieren

cd /usr/local/src/vdr/PLUGINS/src/
cp -a /data/installfiles/vdrplugins/vdr-xineliboutput-cvs-16092010 .
ln -s vdr-xineliboutput-cvs-16092010/ xineliboutput
sudo su -
cd /usr/local/src/vdr/PLUGINS/src/xineliboutput/
./configure && make && make install
exit

Berechtigungen für vdruser setzen

sudo chown -R vdruser.vdruser /usr/local/bin/vdr-fbfe
sudo chown -R vdruser.vdruser /usr/local/bin/vdr-sxfe
sudo chown -R vdruser.vdruser /usr/local/src/vdr/PLUGINS/src/xineliboutput/
sudo chown -R vdruser.vdruser /usr/local/src/vdr/PLUGINS/lib/
sudo chown -R vdruser.vdruser /usr/local/src/vdr/locale/

Konfigurationsdateien ablegen

cd /usr/local/src/vdr/PLUGINS/src/xineliboutput/
mkdir -p /etc/vdr/plugins/xineliboutput
cp *.mpg /etc/vdr/plugins/xineliboutput/

remote.conf anpassen

Achtung! Dieser Schritt ist nicht zwingend erforderlich. Wenn Ihr euren VDR mit dem Plugin startet wird ein Anlernmenü für die Tastatur und die Fernbedienung gestartet. Dort könnt Ihr vorerst eure Tastatur anlernen und dadurch wird die remote.conf automatisch erstellt. Falls Ihr eure Tastatur nicht anlernen möchtet könnt Ihr einfach die untigen Werte in eure remote.conf übertragen.

cd /etc/vdr
vi remote.conf
XKeySym.Up         Up
XKeySym.Down       Down
XKeySym.Menu       m
XKeySym.Ok         Return
XKeySym.Back       BackSpace
XKeySym.Left       Left
XKeySym.Right      Right
XKeySym.Red        r
XKeySym.Green      g
XKeySym.Yellow     y
XKeySym.Blue       b
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.Power      Home
XKeySym.Channel+   KP_Add
XKeySym.Channel-   KP_Subtract
XKeySym.Volume+    Prior
XKeySym.Volume-    Next

setup.conf anpassen

Achtung! Konfiguration nur bei gestoptem VDR durchführen.

VDR stoppen
killall runvdr
killall vdr
setup.conf bearbeiten
cd /etc/vdr
vi setup.conf
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 = default
xineliboutput.Audio.SoftwareVolumeControl = 0
xineliboutput.Audio.Speakers = Stereo 2.0
xineliboutput.Audio.Surround = 0
xineliboutput.Audio.Upmix = 0
xineliboutput.Audio.Visualization = goom
xineliboutput.Audio.Visualization.GoomOpts = width=720,height=576,fps=25
xineliboutput.DisplayAspect = 16:10
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.Enable = 0
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 = 5
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 = 0
xineliboutput.Video.AspectRatio = 0
xineliboutput.Video.AutoCrop = 1
xineliboutput.Video.AutoCrop.AutoDetect = 1
xineliboutput.Video.AutoCrop.DetectSubs = 1
xineliboutput.Video.AutoCrop.FixedSize = 1
xineliboutput.Video.AutoCrop.SoftStart = 1
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 = 0
xineliboutput.Video.SwScale.Downscale = 0
xineliboutput.Video.SwScale.Height = 1050
xineliboutput.Video.SwScale.Resize = 1
xineliboutput.Video.SwScale.Width = 1680
xineliboutput.VideoModeSwitching = 1
xineliboutput.X11.UseKeyboard = 1
xineliboutput.X11.WindowHeight = 1050
xineliboutput.X11.WindowWidth = 1680

runvdr anpassen

Achtung! Was die einzelnen Parameter bedeuten könnt Ihr unter den Links zum xineliboutput Plugin im Wiki nachlesen. Wenn Ihr keinen Ton bekommen solltet müsst Ihr den --audio Parameter überarbeiten und an euere System anpassen.

vi /usr/local/bin/runvdr
-P'xineliboutput --local=sxfe --video=vdpau --display=:0 --primary --post tvtime:method=use_vo_driver --audio=alsa -f' \

System neu starten

Nach dem Systemneustart solltet Ihr ein TV Bild zu sehen bekommen.

sudo init 6

Finetuning xineliboutput Plugin

Achtung!" Die "config" Datei von xineliboutput darf nur editiert werden wenn der VDR gestoppt ist. Ansonsten werden eure Änderungen an der Datei wieder überschrieben.

cd /etc/vdr/plugins/xineliboutput/
vi config
# vdpau: SD deinterlace method
# { bob  half temporal  half temporal_spatial  temporal  temporal_spatial }, default: 3
video.output.vdpau_sd_deinterlace_method:temporal_spatial

# number of video buffers
# numeric, default: 500
engine.buffers.video_num_buffers:1000

Links

  1. Homepage des Plugin