G man wrote:
> Thanks Jon/Hiro for your feedback.
>
> Jon: I've just modified my m3u file so that .ts streams are just the URL, and anything else goes via ffmpeg and just clicking around channels I've found a few that don't work the first time (I see "No input detected" in the tvh log), so I switch channels and come back to it and it starts up fine :( Just curious what do you use for your stream profile in recording settings? matroska?
>
> Hiro: it's a shame because if I leave anything to record, it's a hit & miss whether it'll actually work or not. I'm truly curious how anyone else is able to reliably record things off IPTV streams (specifically .ts) in tvh. If the issue is hardware related (since the Synology NAS is not exactly a powerful machine), I'm happy to throw hardware at the issue but I'm not convinced it's hardware.
My recording profile is the default (mkv) with only dvr and file retention being different. My second recording profile is ts passthrough.
I also have the same issue sometimes with the channel switch where there is no input detected and restarting the channel works This was easy to diagnose, as on my internet gateway (pfsense) I can watch the bandwidth coming in. When a stream started (only some channels) there appeared to be little to no traffic coming in, after approx 10 seconds then the channel would work and the bandwidth would match the bitrate of the stream (12-16MB/s). I put this down to the stream taking a while to navigate it's way accross the internet. This issue for me is not isolated to tvheadend, as the same would occur on VLC.
I wonder could this be fixed by getting tvheadend to buffer first before passing to the endpoint?
Gman, noting you also have a synology, have you removed the universal search app? As that synology forced app is a resource hog and I had heaps of issues with it consuming over 80% of cpu when it was on and not even indexing. Removing it and my system returned to dsm 5 performance.