Tvheadend is a TV server for Linux. GPL-3.0, written in C, and old enough to be boring in the good sense.
Official site: Log in or register to see this link
Source: Log in or register to see this link
What it does
It takes television from DVB-S/S2, DVB-C, DVB-T/T2, ATSC, SAT>IP and IPTV sources, and gives it to clients over HTTP or its own HTSP protocol. On top of that it records, keeps a programme guide, and handles several users with different rights.
Typical uses:
- a satellite or terrestrial tuner in a small box, feeding Kodi around the house
- a SAT>IP server on the roof with Tvheadend somewhere warm
- legally received channels packed into one playlist for your own devices
Getting it
There are packages for Debian and Ubuntu, and a well kept Docker image from LinuxServer. The install instructions change with the version, so follow the ones on the official site instead of an old blog post.
The web interface is on port 9981 and HTSP on 9982.
The parts that confuse everybody at first
The model is: adapter, network, mux, service, channel. A tuner (adapter) is assigned to a network (for example one satellite position). The network contains muxes (transponders). Scanning a mux finds services. Services are then mapped to channels, and channels are what clients see. If you see no channels, you are usually stuck one step earlier than you think.
For IPTV you create a network of type “IPTV Automatic Network” and give it a playlist address. It creates one mux per entry.
The guide comes either over the air (EIT) or from an XMLTV grabber. With XMLTV the channel has to be linked to the right guide entry by hand once.
Practical advice
Create a normal user for your players and keep the admin account for yourself. The first-run wizard makes it easy to leave everything open.
Set a limit on recordings disk space. It records happily until the disk is full.
Stream profiles let you choose between passing the stream through untouched and transcoding. Pass-through costs almost nothing. Transcoding inside Tvheadend works, but if you need a lot of it, do it in a dedicated FFmpeg setup.
What hardware are people here running it on? A small ARM box handles more than you would expect as long as nothing is transcoded.