Project

General

Profile

Installing on UbuntuLubuntu 16.04

Added by jay l over 8 years ago

I'm looking to build a mediacenter system based on linux to eventually replace my Windows based one. I've got a test system running Lubuntu 16.04 with the following hardware:

AMD Athlon 7850
Gigabyte GA-MA78GM-US2H : http://www.gigabyte.com/products/product-page.aspx?pid=2995#ov
4GB RAM
a 500GB HDD, a USB 3.0 Card, and a Hauppauge 1800 PCI tv capture card.

I'm not sure how to install TV Headend on 16.04, the instructions on the Apt Repository page don't list 16.04. Is it not supported?

Thanks


Replies (3)

RE: Installing on UbuntuLubuntu 16.04 - Added by Mark Clarkstone over 8 years ago

There are no automated builds for 16.04 yet, you can build a debian package yourself though..

Quick & Easy guide to building Tvheadend on a RPi2 (This also works on any other deb system!).

sudo apt-get install git build-essential debhelper pkg-config fakeroot
git clone https://github.com/tvheadend/tvheadend.git build/tvheadend/master
cd build/tvheadend/master
##### If you do not want unstable run the following line #####
git checkout release/4.0
##### If you do not want unstable run the above line #####
AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client\ --enable-ffmpeg_static\ --disable-bintray_cache ./Autobuild.sh
What each lines does.
  • 1 Installs a few dependencies (you'll need to install some more later on).
  • 2 Clones the Tvheadend master branch from github & places it in build/tvheadend/master.
  • 3 Changes directory to the above path.
  • 4 (optional) changes source to release/4.0.
  • 5 Runs the Autobuild script that will build a debian package so that you can install it in a nice and neat way.

You can pass more options to AUTOBUILD_CONFIGURE_EXTRA just make sure to place an escaped space between each option, e.g.

AUTOBUILD_CONFIGURE_EXTRA=--enable-hdhomerun_client\ --disable-ffmpeg_static ./Autobuild.sh

A list of build options can be found by running (in the source directory).

./configure --help

The Autobuild.sh script will complain about other missing dependencies you need to install those, e.g.

sudo apt-get install libcurl14-gnutls-dev liburiparser-dev

Run the script again.

Once the build has completed you'll find the built debian package (E.g tvheadend_4.1-368~geeda7d7_armhf.deb) in build/tvheadend.

You can then install it (and the debug package) using.

cd build/tvheadend
sudo dpkg -i tvheadend*.deb

You may need to do the following on some systems with systemd, if the service doesn't start after install.

sudo systemctl disable tvheadend
sudo systemctl enable tvheadend
sudo systemctl start tvheadend

RE: Installing on UbuntuLubuntu 16.04 - Added by jay l over 8 years ago

Thanks Mark, your build instructions worked and I have TV Headend running as a backend with Kodi as the frontend. I'm connected to my antenna and I can watch TV. I'm trying to look into EPG sources, but I'm not sure how to get the EPG running in Tv Headend.

I'm also hoping to get FM radio working as well. If I understand correctly, TV headend 4.0+ no longer supports analog sources but there may be a way to pipe:\\ from an analog source? Any advice on how to get these features working?

I've currently running a Windows7/MediaPortal-backend/Kodi-frontend system with several tuners and I'm approaching this as a learning project with an eye for moving from a windows to Linux-based Media Center with the same features (Multiplexing, which I think TV headend does, Radio, Kodi front end for web streams). Any advice on what to explore with that goal?

Thanks again for the help so far.

RE: Installing on UbuntuLubuntu 16.04 - Added by Mark Clarkstone over 8 years ago

jay l wrote:

Thanks Mark, your build instructions worked and I have TV Headend running as a backend with Kodi as the frontend. I'm connected to my antenna and I can watch TV. I'm trying to look into EPG sources, but I'm not sure how to get the EPG running in Tv Headend.

If you're running stable (4.0) you'll need to use xmltv with something like schedulesdirect, if you're running 4.1 you should be seeing epg as it supports PSIP (ATSC OTA epg data).

The above assumes you're in the US (or similar)..

I'm also hoping to get FM radio working as well. If I understand correctly, TV headend 4.0+ no longer supports analog sources but there may be a way to pipe:\\ from an analog source? Any advice on how to get these features working?

See https://tvheadend.org/projects/tvheadend/wiki/Custom_MPEG-TS_Input

I've currently running a Windows7/MediaPortal-backend/Kodi-frontend system with several tuners and I'm approaching this as a learning project with an eye for moving from a windows to Linux-based Media Center with the same features (Multiplexing, which I think TV headend does, Radio, Kodi front end for web streams). Any advice on what to explore with that goal?

If you want transcoding make sure you've got a system that's powerful enough to encode the number of streams you need, Tvheadend can do transcoding (if you've built it with it, i.e haven't set --disable-ffmpeg_static during build)..

Remember nothing is bug free, you can help by submitting bug issues/reports here on Tvheadend.org (installing dbg package gives more details when it does crash, installing something like corekeeper is helpful here too)..

I haven't had any crashes recently but this isn't to say you won't.

Thanks again for the help so far.

    (1-3/3)