Installing Tvheadend on a RaspberryPi

*Note: I failed setting up Tvheadend for transcoding on my RaspberryPi. To enable transcding you need a newer version of Tvheadend which you can basically just install over your Apt-get provided version. Even though some people report that they got it to work, I was out of luck. It was throwing a lot of encoding related errors and the stream was stuttering a lot.

I am currently going for the Tvheadend alternative VDR. Read about it here: Installing VDR on a RaspberryPi.

  1. Become the superuser:
    sudo -i
  2. Make the package source available: [thx]
    cat >> /etc/apt/sources.list.d/tvheadend.list << EOF deb http://apt.tvheadend.org/stable wheezy main EOF
  3. Get the GPG keys: [thx]
    apt-key adv --recv-keys --keyserver keys.gnupg.net B42317285E12C7CF
  4. Install:
    apt-get update apt-get install tvheadend
  5. Access tvheadend via port 9981 e.g.: http://raspberrypi:9981/
  6. Configuration -> DVB Inputs -> TV Adapters
    Then select your DVB-S device in the dropdown field.
  7. On the right check Enabled. Hit Save.
  8. -> Add DVB Network by location...
    Then select a satellite (e.g. Astra\19\2E in Germany) and select the only option from the dropdown menu at the bottom.
  9. Wait a while. Check your terminal/the syslog area at the bottom or the Configuration -> DVB-Inputs -> Muxes area to see whats going on.
  10. Now select the TV channels that should generally be available here:
    Configuration -> DVB Inputs -> TV Adapters -> General -> Services
    Best order the list by Service name.
    Highlight the channels you want and click Map selected.
    When done selecting click Save.
  11. Go to the Electronic Programm Guide. There are your channels!
    Note the Watch TV in the top right.
The author

Written by Per

Free software enthusiast and transhumanist residing in Stuttgart, Germany.


comments powered by Disqus