Installing VDR on a RaspberryPi

I also published a tutorial for the VDR alternative Tvheadend here: Installing Tvheadend on a RaspberryPi.

I am currently choosing VDR over it's alternative Tvheadend mainly because the transcoding support looks more promising. Also VDR's streamdev-plugin generates a .m3u playlist file for the available channels which comes in handy.

  1. Install VDR, the streaming-server and the webfrontend:
    apt-get install vdr-plugin-streamdev-server vdradmin-am vdr
    and let the install routine create the video.00 folder.
  2. Set ENABLED to 1 in both
    /etc/default/vdr and
    /etc/default/vdradmin-am
  3. Enable access via your local network by adding e.g. 192.168.2.0/24 to /etc/vdr/svdrphosts.conf
  4. Start the deamons:
    service vdr start service vdradmin-am start
  5. Access the admin frontend on e.g. http://raspberrypi:8001/ and the streamdev frontend on e.g. http://raspberrypi:3000/.
    Note: The "Watch TV" preview function in your webadmin frontend may not work even though streaming via streamdev works.

Manually scan for channels

VDR potentially provides you with a good list but if you want to scan manually here you go:

  1. Install dvb-apps for the scan command:
    apt-get install dvb-apps
  2. Backup channels.conf:
    mv /var/lib/vdr/channels.conf /var/lib/vdr/channels.conf.bkup.$(date +%ymd)
  3. Create a file containing at least one valid frequency e.g. in Germany you would probably use Astra 19E2: [src]
    echo "S 12551500 V 22000000 5/6" > astra
  4. Start the scan: [src]
    scan -o vdr astra > /var/lib/vdr/channels.conf
  5. Wait a while (or press Ctrl+C if you feel you have enough).

Valuable ressources:
- VDR-Wiki
- Overview (VDR Streamdev Plugin)

The author

Written by Per

Free software enthusiast and transhumanist residing in Stuttgart, Germany.


comments powered by Disqus