Project

General

Profile

IPTV detect error (and close stream) when Bandwidth is 0

Added by Christian Riva over 8 years ago

Hello. First sorry for my english.

I just configured an automatic IPTV Network, choose 15 seconds as timeout, added some muxes (http://....m3u8 stream files) and "Restar on Error" and "Continue even if descrambling" are marked (Config - Stream - HTSP).

The problem occurs with some streams that (while playing) the bandwidth (monitored in Status -> Stream) oscillate/goes from "X" (1000, 2000, etc..) to "0" (1000-0-500-900-0-1200-0-and so on..) continuously.

So when the timeout reaches 15 seconds and detect the bandwith in "0", restarts the stream immediately ("service instance is bad, reason: No input detected" -> "restarting channel..").
But if the bandwidth is not "0" (in that moment) the stream continues.

Is like the "timeout" configured in Networks just detect every X seconds if the connection is alive (monitoring their bandwith) and not checking if the connection is out (with 0 bndw) for X seconds.

These streams plays OK using VLC or directly from Favourites in Kodi (not using TVH).
(it's not the connection, these streams just transmit in this way)

Could I set something in TVH to solve this?

Thanks a lot,
Christian

1.png (27.1 KB) 1.png
2.png (127 KB) 2.png
1.png (27.1 KB) 1.png
2.png (127 KB) 2.png

Replies (4)

RE: IPTV detect error (and close stream) when Bandwidth is 0 - Added by gary tan about 8 years ago

Did you manage to resolve this issue? Have same issue myself.

RE: IPTV detect error (and close stream) when Bandwidth is 0 - Added by Christian Riva about 8 years ago

No. I moved to IPTV Simple Client and works great with all channels.

RE: IPTV detect error (and close stream) when Bandwidth is 0 - Added by gary tan about 8 years ago

Found a roundabout way of getting it to work. Streams seem to work if they use the pipe method. So using a text editor (in my case notepad), i opened the m3u file and past added this to each url (INPUTLINK is the stream link). Using the replace option, i replaced "http" everywhere with "pipe:///usr/bin/ffmpeg -loglevel fatal -i http" and replaced ".ts" everywhere with".ts -vcodec copy -acodec copy -metadata service_provider=STRING -metadata service_name=STRING -f mpegts -tune zerolatency pipe:1".

pipe:///usr/bin/ffmpeg -loglevel fatal -i INPUTLINK -vcodec copy -acodec copy -metadata service_provider=STRING -metadata service_name=STRING -f mpegts -tune zerolatency pipe:1

RE: IPTV detect error (and close stream) when Bandwidth is 0 - Added by Christian Riva about 8 years ago

Thanks, Gary, I will try.

"-tune zerolatency" -> never works in my Rasp3 + LibreElec.

Thanks again,
Christian

    (1-4/4)