Willkommen Gast. Bitte einloggen oder registrieren.

Einloggen mit Benutzername, Passwort und Sitzungslänge

 
Erweiterte Suche

17679 Beiträge in 2112 Themen- von 3011 Mitglieder - Neuestes Mitglied: peter_pan

Februar 23, 2018, 08:25:02 pm
Sundtek Support ForumEnglishSundtek MediaTV Pro (Europe)SoftwareLinux VDR - DVB-T and DVB-C
Seiten: [1]
Drucken
Autor Thema: Linux VDR - DVB-T and DVB-C  (Gelesen 9676 mal)
Sundtek
Administrator
Hero Member
*****
Beiträge: 7615


Profil anzeigen
« am: August 17, 2009, 01:00:38 pm »

VDR


1. Installation

Please note that newer Ubuntu versions might have other version numbers than which are used with following libav* packages. This installation guide was made for Ubuntu 8.10, but should also work with other versions.

Code:
sudo apt-get install libavformat52 libavutil49 libavcodec51 libavutil49 libavdevice52
sudo apt-get install libxine1-misc-plugins xine-ui libxine1-all-plugins libxine1-ffmpeg libxine1 libxine1-bin libxine1-x
sudo apt-get install vdr vdr-plugin-xineliboutput libxine1-xvdr

2. Channel configuration

In order to scan all transponders w-scan is required

Ubuntu 9.04 already ships w-scan, older Ubuntu versions need to download and compile it
For Ubuntu 9.04:

Code:
apt-get install w-scan

For older Ubuntu Versions:
W-Scan 2008-11-06

Code:
$ wget http://sundtek.de/support/wscan-20081106.tar.gz
$ tar xvzf wscan-20081106.tar.gz
$ cd w_scan-20081106
$ make

in order to be able to use DVB-C the device needs to be set to DVB-C first, this can be done with the following mediaclient command:

Code:
$ /opt/bin/mediaclient -D DVBC
$ ./w_scan -f c > channels.conf.dvbc

newer w_scan version also require a countryflag eg -c UK
$ ./w_scan -f c -c UK > channels.conf.dvbt

To scan DVB-T transponders:

Code:
$ /opt/bin/mediaclient -D DVBT
$ ./w_scan -f t > channels.conf.dvbt

newer w_scan version also require a countryflag eg -c UK
$ ./w_scan -f t -c UK > channels.conf.dvbt

To use DVB-T just copy channels.conf.dvbt to /var/lib/vdr/channels.conf

To use DVB-C copy channels.conf.dvbc to /var/lib/vdr/channels.conf

It's only possible to set one devicemode, and you should only copy one of those configurations to /var/lib/vdr, upcoming VDR versions will solve this issue.

After copying the configuration, please restart VDR:
Code:
$ sudo /etc/init.d/vdr restart

3. Remote control

We also created a template for the remote control:

Code:
$ sudo cp /opt/doc/sundtek_vdr.conf /var/lib/vdr/remote.conf

further information about how to configure the remote control can be found on following website:

http://www.vdr-wiki.de/wiki/index.php/Remote.conf

After this configuration please restart VDR again.

Code:
$ sudo /etc/init.d/vdr restart

4. Using VDR

The remote control shall work automatically if you have followed the LIRC documentation.

For DVB-T:

Code:
$ sudo /etc/init.d/vdr stop
$ sudo cp channels.conf.dvbt /var/lib/vdr/channels.conf
$ /opt/bin/mediaclient -D DVBT
$ sudo /etc/init.d/vdr start
$ xine

For DVB-C:

Code:
$ sudo /etc/init.d/vdr stop
$ sudo cp channels.conf.dvbc /var/lib/vdr/channels.conf
$ /opt/bin/mediaclient -D DVBC
$ sudo /etc/init.d/vdr start
$ xine

Start Xine:
 Ubuntu Menu, Applications -> Sound & Video -> Xine and finally select XVDR in the xine menu



FAQ
* Audio is muted
there could be 2 reasons for muted audio:
1. Codecs aren't installed correctly, pleae install libxine1-misc-plugins for linux (eg. under ubuntu)
2. Audio is muted, this can also be caused by the xine/pulseaudio plugin, please add following line to your xine configuration:

/home/<username>/.xine/config
Code:

audio.pulseaudio_device:pulseaudio


* Xorg crashes or hardlocks
This error can be caused by Xine and the ATI drivers

As a workaround you can switch the Xine output to use Xshm which is more reliable - but decreases the quality of the OSD menu

/home/<username>/.xine/config
Code:

video.driver:xshm
« Letzte Änderung: Oktober 17, 2009, 09:14:11 pm von Sundtek » Gespeichert

Sundtek Ltd. Support Engineer
Seiten: [1]
Drucken
Gehe zu: