selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

ErsatzTV logo

Self-host ErsatzTV

v26.12.0

Turn your media library into custom live TV channels

ReleaseOpen SourceZlib
docker run -d --name ersatztv -e TZ=America/Chicago -p 8409:8409 -v /path/to/config:/config -v /path/to/local/media:/path/to/local/media:ro --restart unless-stopped ghcr.io/ersatztv/legacy
Updatedlast week
LanguageC#
Setup difficultyEasy
Stars
3 037
Port
8409 (All UI, management and streaming requests by default)
Requires
Ffmpeg
Docker
ghcr.io/ersatztv/legacy
ErsatzTV web UI showing the M3U and XMLTV links in the top-right corner

What is ErsatzTV?

ErsatzTV Legacy is a self-hosted IPTV server that reshapes an existing video collection into always-on, personalised TV channels. Point it at local folders or at Plex, Jellyfin and Emby libraries, group the results into collections and lists, and drive each channel with classic, block, sequential or scripted schedules. Playout is handled by FFmpeg, with hardware acceleration via NVENC, QSV, VAAPI, AMF and VideoToolbox, and four streaming modes (HLS Segmenter, HLS Direct, MPEG-TS and the retiring legacy MPEG-TS) cover different clients, including ones that need an HDHomeRun tuner. Viewers consume ordinary M3U and XMLTV endpoints, so Plex, Jellyfin, Kodi, TiviMate or Channels DVR can treat the channels as a live TV source. You run it either as a Docker container or as a native binary, and the service listens on 8409; the management UI can be locked behind OIDC and stream URLs can require a JWT. This repository is the older line of the project: development now sits in a separate next version, while these legacy builds keep receiving security updates.

Should you self-host ErsatzTV?

ErsatzTV scores 63/100 on selfhost.directory (how scoring works) and ranks #4 of 38 in Video Streaming. It has 3 037 GitHub stars, +33 in the last 30 days.

It shipped 25 stable releases in the past year. The latest, v26.12.0, came out on 6 November 2026. New versions land roughly every 8 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Zlib-licensed and written mostly in C#.

Its closest alternative on selfhost.directory is iSponsorBlockTV (74/100, 7 141 stars). It scores higher overall, so compare the two before you pick. See ErsatzTV vs iSponsorBlockTV side by side.

Features

  • Channel scheduling modes
  • Custom live TV channels
  • Custom stream selectors
  • Electronic Program Guide (EPG)
  • Hardware Transcoding
  • HDHomeRun tuner emulationHDHomeRun endpoints are disabled when JWT security is used.
  • IPTV streaming (M3U)
  • Local media libraries
  • Media server library sync
  • Multiple streaming modesMPEG-TS (Legacy) will be removed with a future release.
  • OIDC-protected admin interface
  • Subtitle Support
  • Token-secured streaming
  • Watermark supportNot available in HLS Direct.

ErsatzTV README

ErsatzTV

ErsatzTV lets you transform your media library into a personalized, live TV experience - complete with EPG, channel scheduling, and seamless streaming to all your devices. Rediscover your content, your way.

contact features community

epg-example

How to install ErsatzTV

Install ErsatzTV with Docker

Linux host (Windows/macOS Docker hosts are not supported)
Environment variables
TZ; ETV_UI_PORT; ETV_STREAMING_PORT; OIDC__AUTHORITY; OIDC__CLIENTID; OIDC__CLIENTSECRET; JWT__ISSUERSIGNINGKEY
  1. Download the latest container image
docker pull ghcr.io/ersatztv/legacy
  1. Create a directory to store configuration data
mkdir /path/to/config
  1. Create and run a container
docker run -d \
  --name ersatztv \
  -e TZ=America/Chicago \
  -p 8409:8409 \
  -v /path/to/config:/config \
  -v /path/to/local/media:/path/to/local/media:ro \
  --restart unless-stopped \
  ghcr.io/ersatztv/legacy

Docker is supported on Linux hosts only; hardware acceleration and macOS scanning are known to break on other hosts.

How to configure ErsatzTV

  • TZTimezone used by the container

    values: IANA timezone name

  • ETV_UI_PORTPort that allows all requests, management and streaming

    values: port number

  • ETV_STREAMING_PORTSeparate port that allows streaming requests and blocks management requests

    values: port number

  • OIDC__AUTHORITYOpenID Connect authority, required to enable OIDC on the management interface

    values: URL

  • OIDC__CLIENTIDOIDC client id (required)

    values: string

ErsatzTV releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

How can I contribute?

Contributions of code, documentation and feedback are accepted through GitHub.

What platforms are supported?

The server runs on Windows, Linux and macOS.

Is ErsatzTV free?

Yes, the project is entirely free and open source.

More in Video Streaming

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…