Differences between revisions 5 and 6
Revision 5 as of 2013-11-28 20:51:00
Size: 3120
Editor: ?_cedric_
Comment: initial instructions for installing VDR
Revision 6 as of 2013-11-29 20:43:43
Size: 4237
Editor: ?_cedric_
Comment: VDR cannot run without DVB receiver
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
VDR currently cannot be made to run without a DVB receiver. This guide has been tested with the PCTV NanoStick 73e SE (solo) http://linuxtv.org/wiki/index.php/Pinnacle_PCTV_nano_Stick_%2873e%29

== Installing and testing DVB receiver ==
In a new terminal, monitor syslog:
{{{
# tail -f /var/log/syslog
}}}
Plug in your USB receiver. check for error messages about missing firmware:
{{{

}}}
This can be solved by installing the package "firmware-linux-nonfree". Start synaptic, goto settings=>repositories, and activate "Non-DFSG-compatible Software (non-free)". Close and Reload. Now the package "firmware-linux-nonfree" can be installed.

Remove and re-plug your USB receiver. Now the following messages can be seen in syslog:
{{{

}}}
Check if the kernel has made the device nodes:
{{{

}}}
Line 8: Line 30:
Enter the following command as root to install VDR: Enter the following command to install VDR:
Line 10: Line 32:
apt-get install vdr # apt-get install vdr
Line 17: Line 39:
# /etc/default/vdr
#
# See also /usr/share/doc/vdr/README.Debian.gz
#
Line 18: Line 44:
# Change to 1 to enable vdr's init-script
ENABLED=1

# Change this to 1 if you want vdr to be able to shutdown the
# computer
ENABLE_SHUTDOWN=0

# Options that will be passed to vdr's commandline
# for example: OPTIONS="-w 15"
OPTIONS="-w 60"
Line 20: Line 56:
== Testing VDR without DVB receiver == == Testing VDR ==

WARNING: This article is not finished, and has not yet been tested. Please don't use below information yet.

Introduction

VDR is a Personal Video Recoder (PVR) application. It can record TV from DVB-C, DVB-S and DVB-T receivers. This guide assumes debian-7.2.0-i386 stable has just been installed with the default settings. VDR currently cannot be made to run without a DVB receiver. This guide has been tested with the PCTV ?NanoStick 73e SE (solo) http://linuxtv.org/wiki/index.php/Pinnacle_PCTV_nano_Stick_%2873e%29

Installing and testing DVB receiver

In a new terminal, monitor syslog:

# tail -f /var/log/syslog

Plug in your USB receiver. check for error messages about missing firmware:

This can be solved by installing the package "firmware-linux-nonfree". Start synaptic, goto settings=>repositories, and activate "Non-DFSG-compatible Software (non-free)". Close and Reload. Now the package "firmware-linux-nonfree" can be installed.

Remove and re-plug your USB receiver. Now the following messages can be seen in syslog:

Check if the kernel has made the device nodes:

Installing

Enter the following command to install VDR:

# apt-get install vdr

By default, vdr uses the directory /var/lib/video.00 to store it's recordings. The installer will ask if the directory should be created. Choose "Yes" Next, the installer will ask the type of DVB cards. Choose "Terrastrial" Now the installer will make a new user, "VDR", and try to run VDR Edit /etc/default/vdr, set variable ENABLED=1

# /etc/default/vdr
#
# See also /usr/share/doc/vdr/README.Debian.gz
#

# Change to 1 to enable vdr's init-script
ENABLED=1

# Change this to 1 if you want vdr to be able to shutdown the
# computer
ENABLE_SHUTDOWN=0

# Options that will be passed to vdr's commandline
# for example: OPTIONS="-w 15"
OPTIONS="-w 60"

Testing VDR

VDR logs to /var/log/syslog. In a new terminal, enter the following command:

tail -f /var/log/syslog

Now start VDR:

invoke-rc.d vdr start

Compatible receivers

http://linuxtv.org/wiki/index.php/Hardware_Device_Information

Using VDR with analog TV

DVB itself cannot use analog TV, however, the plugin "Analogtv" causes analog TV cards to be seen as a DVB receiver. http://www.linuxtv.org/vdrwiki/index.php/Analogtv-plugin

Configuration files

VDR store it's configuration files in the following directories:

 /var/lib/vdr/*
 /etc/default/vdr
 /etc/vdr/*
 /etc/init.d/vdr

Setting up VDR for DVB-T reception

Netherlands: KPN Digitenne

In the Netherlands, KPN provides DVB-T broadcasts under the name "Digitenne".

Scanning channels

To scan the channels, enter the following command as root:

scan -o vdr /usr/share/dvb/dvb-t/nl-All /var/lib/vdr/channels.conf

(Re)start VDR, so the new channels.conf is read.

Adding support for encrypted broadcasts

Install vdr-plugin-sc and libvdr-sc-cardclient from source

Information taken from http://www.eurocardsharing.com/f273/vdr-1-7-21-sc-361291 Enter the following command as root to install the packages needed to complie

apt-get install wget vdr-dev build-essential cdbs dpatch mercurial devscripts libssl-dev

Then enter the following commands to compile:

hg clone http://85.17.209.13:6100/sc
wget http://vdrbox.lautre.net/fichiers/VDR/debianize-sc/sc-debian-package-03062011.diff
cd sc/
patch -p1 <../sc-debian-package-03062011.diff
dpkg-buildpackage -us -uc -b
cd ..

Then enter the following commands as root to install:

dpkg -i vdr-plugin-sc_*.deb libvdr-sc-cardclient_*.deb

Installing OSCAM from source

Configuring OSCAM

Connecting VDR to OSCAM

Extending VDR

EPGsearch

Live

Accessing VDR from other devices

vdr-sxfe

VDR

browser with VDR

VDR with streamdev

Popcorn hour

Other Settings

Auto shutdown

Auto startup


CategorySoftware