This is a fork of johnb-7/hdhr-ac4, converted from python to nodejs.
This is a docker container that proxies requests from an ATSC 3.0 compatible HDHomeRun tuner, but uses the ffmpeg binary from Emby media server to transcode the AC4 audio to AC3 so Plex and other apps can decode it. Read more on the original project: johnb-7/hdhr-ac4.
I've only tested with Plex and VLC.
- Converted to javascript.
- Made the proxy more transparent to make it more resilient to changes.
- Supports not running on port 80 so it can run on a system like unraid.
- Always reverses the device ID (so the emulated tuner can coexist with the real one in Plex).
- Simplified configuration (only the
HDHR_IP
variable needs to be set).
docker build -t hdhr-ac4 .
The docker build will download an Emby release and extract ffmpeg from it. You may need to update the URL in the future if it changes.
docker run -p 5003:80 -p 5004:5004 -e HDHR_IP=192.168.0.123 hdhr-ac4
You can use any host port you want for port 80, but port 5004 can't be changed.
Now go to Plex and add a new tuner. Enter the container IP and your chosen port (ex. 192.168.0.234:5003) as the tuner address. Plex should see and add it without issue.
- Optimize the final image size (currently sits around 1.1GB)
- Set up an automatic build and push the image to a public repo.
Like the original project, this is released under the Apache 2.0 license.