tellytv / telly

An IPTV proxy
MIT License
750 stars 105 forks source link

telly as an HD Homerun transcoder? #287

Open syadnom opened 2 years ago

syadnom commented 2 years ago

My ultimate goal here is to use a proxy between HDHome Run tuners to transcode to h.265. I can't find examples of how to do something like this with telly.

The target is Channels DVR, but I want a single 'tuner' to show up with h.265 streams that multiple channels instances can be pointed at. HDHomeruns are offering up mpeg2 ts streams which are huge and I'm wanting multiple Channels DVR systems to access the tuner over some low speed links.

Anyone do such a thing or offer some advice/guide on how to massage telly to do this?

chazlarson commented 2 years ago

This is well outside anything telly does. Telly pretends to be an HDHomerun using an m3u file as input, it doesn't communicate or work with HDHomerun devices.

syadnom commented 2 years ago

I still need the video to present as an HDHomeRun. I have this sort of working using a channels dvr as the 'source', then telly looking at that input and then a second channels DVR with telly as the HDHR. I'm using ffmpeg in telly but haven't recompiled with any transcoding bits in the command just yet. I've been messing with creating an m3u file with the hdhr stream as the source but haven't quite nailed the extra exif bits to make it look like a tuner channel.

syadnom commented 2 years ago

Actually, I have it kind of working. M3U file pointing to the HDHR stream:

EXTM3U

EXTINF:-1 group-title=HDHomerun",2.1

http://10.39.40.68:5004/auto/v2.1

hosted on apache, telly using that as a source, input into plex and it 'works'. It's a bit laggy and choppy so I'm not sure where the trouble is there just yet.

chazlarson commented 2 years ago

Interesting Idea.