Rust · UPnP / DLNA · Virtual HDTV Tuner

Turn OBS Studio into a virtual HDTV tuner for Smart TVs.

Zero TV apps to install. No typing IP addresses into a clunky TV browser. Stream your PC desktop or games natively to Samsung, LG, Sony, Roku, and any DLNA Smart TV as Channel 1.1.

OBS HomeRun retro rabbit-ears TV logo with OBS Studio emblem on screen
~14 MB RAM Idle footprint (Rust + MediaMTX)
0% GPU Stream-copy video remuxing
Zero TV Apps Native SSDP / DLNA discovery
amd64 & arm64 Single multi-arch container

How It Works

A lightweight local broadcast bridge that speaks native HDTV tuner protocols so your TV locks on in ~1 second.

1 · RTMP :1935

OBS Studio

Stream H.264 video from OBS to rtmp://localhost:1935/live using NVENC, AMF, QuickSync, VideoToolbox, or x264.

2 · RTSP :8554

MediaMTX Ingest

Holds the live feed in an internal lightweight socket buffer with zero FFmpeg overhead until a TV tunes in.

3 · SSDP :1900

OBS HomeRun

Announces a virtual ATSC tuner over SSDP, injects SPS/PPS headers on keyframes, transcodes audio to AC-3, and pads jitter.

4 · HTTP :5004

Smart TV

Open your TV’s native Inputs or Media Devices list, pick OBS HomeRun → Channel 1.1, and watch.

Built for Reliable Living-Room Streaming

Solves the exact failure modes that break generic DLNA media servers and wireless screen casting.

Mid-Stream Decoder Lock

Injects H.264 SPS/PPS parameter sets into every keyframe (dump_extra) so hardware TV decoders lock on immediately when you tune in mid-stream.

ATSC Dolby Digital Audio

Converts audio on the fly to broadcast-standard AC-3 (or optional passthrough) for universal Smart TV compatibility.

Jitter-Free Playback

Maintains a configurable ~3-second clock cushion (muxdelay/muxpreload) so Wi-Fi micro-stutters don’t trigger endless loading wheels.

On-Demand FFmpeg

FFmpeg only spawns when a TV actively watches and is terminated immediately when the TV disconnects—leaving idle CPU at 0.0%.

Built-in Status Dashboard

Visit http://<host>:5004/ for a live HTMX status page showing active viewers, RTSP ingest health, and tuner endpoints.

DVR & Media Server Ready

Need recording or time-shifting? Point Plex Live TV, Jellyfin, Kodi, or Channels DVR at /auto/v1.1 and /discover.json.

Quick Start

Run with host networking (--net=host / Network=host) so SSDP multicast discovery reaches your LAN.

Podman Quadlet (Linux / Bazzite / SteamOS / Fedora)

Save as ~/.config/containers/systemd/obs-homerun.container:

[Unit]
Description=OBS HomeRun - Virtual HDTV Tuner
After=network-online.target
Wants=network-online.target

[Container]
Image=ghcr.io/bradwestness/obs-homerun:latest
ContainerName=obs-homerun
Network=host
Pull=newer
AutoUpdate=registry
Environment="FRIENDLY_NAME=OBS HomeRun"
Environment=CHANNEL_NUMBER=1.1
Environment=BUFFER_SECONDS=3.0

[Install]
WantedBy=default.target
systemctl --user daemon-reload
systemctl --user start obs-homerun.service
loginctl enable-linger $USER

Docker Compose (Linux & NAS)

services:
  obs-homerun:
    image: ghcr.io/bradwestness/obs-homerun:latest
    container_name: obs-homerun
    network_mode: host
    restart: unless-stopped
    environment:
      - FRIENDLY_NAME=OBS HomeRun
      - CHANNEL_NUMBER=1.1
      - BUFFER_SECONDS=3.0

OBS Studio Stream Settings

In OBS Studio → Settings → Stream, pick Custom…, set Server to rtmp://localhost:1935/live (or your NAS IP), Stream Key to stream, and in Output use H.264 CBR with Keyframe Interval: 1 s and Max B-frames: 0.

Documentation

Step-by-step setup guides for every OS, GPU encoder, and home network.