homepage | forum | wiki | feature requests & bugs

MMS and VDR

From Mms-wiki

Jump to: navigation, search

Contents

[edit] Description

These Articles describe the Integration of MMS with VDR.

There are many ways to do so - feel free to add the ones not mentioned.

[edit] MMS and VDR

Before starting to read, make sure that you have at least installed and compiled vdr. Questions regarding vdr should be posted in the Forum for vdr. VDR itself is a well known Project and has a strong German community supporting it - but there is also international/English Support in the forum - just try it,

Some of you out there run mms on DVB-Cards as Output-Devices - those may add their comments too - i am describing a headless VDR-Installation (Budget-Cards).

Before we actually start i would like to explain some Terms, that are frequently used together with vdr:


Term Description
FF-Card FullFeaturedCard - those Cards do have their own Decoder for decoding the DVB-Data and fire the Data over for example S-Video to the TV. These DVB-Cards are quite exepensive

, but allow very weak systems to act as a PVR.

Budget-Card DVB-Cards without an intergated Decoder, so decoding must be done by other Hardware or is done in Software - these are Cheap - good for your Budget :-)
Headless This Type of VDR does not control the Output itself, instead it acts like a Server/Daemon - waiting for Connections. Those can be made over Pipes and Network - including localhost (Loopback), depending only on the Type of Output-Plugin installed with vdr.
xinelibout Plugin for VDR which uses xinelib/ffmpeg to decode the DVB-Data and waits for External Connections (mostly vdr-sxfe)
vdr-xine Plugin for VDR which patches xinelib to handle MRL's from/for vdr and provides streams for example over Pipes. The patched xine-lib allows xine (xine-ui) to connect and control the vdr.

[edit] Watch TV

[edit] Headless VDR

Under Construction

[edit] xinelibout (vdr-sxfe)
[edit] Server

Start VDR standalone like this

/usr/local/bin/vdr    --lirc=/dev/lircd  \
                       -L /usr/local/src/VDR/PLUGINS/lib \
                       -c /etc/vdr/ \
                       -v /var/lib/video.00/ \
                       -P'xinelibout' \
                       -P'skinenigmang' \
                       -P'femon'

Or just use it with /usr/sbin/runvdr automatically.

[edit] Client

Use these settings in /etc/mms/TVConfig and/or /etc/mms/EPGConfig

  #
  svdrp_tv_path = /usr/local/bin/vdr-sxfe
  #
  svdrp_tv_opts = --lirc --fullscreen --aspect=auto --post=tvtime:method=Linear,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1 --video=xv --audio=alsa --reconnect    xvdr://localhost
[edit] Lirc

Under Construction

/etc/vdr/remote.conf

Exit from vdr-sxfe ....

[edit] vdr-xine (xine)

Under Construction

( suggestion from acmelabs )

[edit] Server

Start VDR standalone like this

/usr/local/bin/vdr    --lirc=/dev/lircd  \
                       -L /usr/local/src/VDR/PLUGINS/lib \
                       -c /etc/vdr/ \
                       -v /var/lib/video.00/ \
                       -P'xine -r' \
                       -P'skinenigmang' \
                       -P'femon'

Or just use it with /usr/sbin/runvdr automatically.

[edit] Client

Use these settings in /etc/mms/TVConfig and/or /etc/mms/EPGConfig

tv_path=/usr/bin/xine
tvopts=/usr/local/bin/xine --verbose=2 -V vdpau -A also -L --post vdr_video --post vdr_audio --post upmix_mono "vdr:/tmp/vdr-xine/stream#demux:mpeg_pes" ${@}

~

[edit] Lirc

Under Construction .lircrc.... ~/.xine/keymap


Exit from xine ....

[edit] EPG - Plugin

Once your VDR is up and running - you can use the VDR for EPG-retrieval and use the EPG-Plugin for displaying it inside MMS - you can also create Timers from within that Plugin. Have a look at Plugins/Epg.

--Magicamun 10:55, 25 January 2009 (CET)



Personal tools