Project

General

Profile

No input source available when input is delayed 10 seconds

Added by G Kazaroth about 3 years ago

running: 4.3-1975~g23754f9a6
I have an IPTV that sometimes does not start the feed for over 10 seconds. I have tried the stream configuration setup with "Data timeout" set to 0 and 480. In both cases, after 10 seconds, TVH will give up recording and claim "No input source available". If I "play" the same stream through TVH, it does the same thing. In both cases, the stream used is pass and the recording is default. Also, it does not seem to be any configuration in the recording profile to change this 10 second issue.

Have I missed something, or is the 10 second timeout a constant and forced on playback or record? I would hope it would use the Data timeout setting if not 0.

I did find out that if I change the number of streams to a large number in the Networks tab (to like 10), then it will go through the IPTV #1 through IPTV #10 for 10 seconds each and if the connect occurs before the last timeout, it will play. This does seem like a strange bandaid/use for number of streams.


Replies (9)

RE: No input source available when input is delayed 10 seconds - Added by Njuskalo Njusko about 3 years ago

I have the same problem. I guess the 10 sec timeout is hardcoded. Tried to find which variable to change and compile from source but couldn't.

RE: No input source available when input is delayed 10 seconds - Added by G Kazaroth about 3 years ago

I did find the global variable set to 10 at the top of a file. Forgot where...

I am the author of the Pluto/XUMO/M3U/etc. appliance for TVH and found that I can send an empty ATSC message to TVH at the start of an IPTV stream and TVH will believe it is active. This means TVH will then use the normal timeouts set in the profiles. The Network Force Scan still has issues and requires a real video stream to test "OK", but the normal recordings work fine. So, I have gotten around the issue with my appliance.

RE: No input source available when input is delayed 10 seconds - Added by Njuskalo Njusko about 3 years ago

I have some FTA live streams that usually take over 10 sec to start, so it is basically hit and miss, have to press stop and play few times to watch. Checked Github already but couldn't find the right variable unfortunately.

RE: No input source available when input is delayed 10 seconds - Added by saen acro about 3 years ago

There is need to be imlemented stream in stream insert
for example static image or short video in loop with show "loading", "No Signal" or "No Access".
Disavantages of both are:
Static image need stream generating with bring to next problem if stream format change (SD MPEG2 > HD H264)
there is a change to have player problem.
transcoding needed in both situations.

RE: No input source available when input is delayed 10 seconds - Added by Njuskalo Njusko about 3 years ago

What would be the quick and dirty workaround for streams that need >10 sec to start ?

RE: No input source available when input is delayed 10 seconds - Added by saen acro about 3 years ago

Njuskalo Njusko wrote:

What would be the quick and dirty workaround for streams that need >10 sec to start ?

pipe > ffmpeg > failover backup stream

RE: No input source available when input is delayed 10 seconds - Added by Njuskalo Njusko about 3 years ago

saen acro wrote:

Njuskalo Njusko wrote:

What would be the quick and dirty workaround for streams that need >10 sec to start ?

pipe > ffmpeg > failover backup stream

Not sure how to do that as I have only one source.

Can you please give an example / syntax how to do that ?

RE: No input source available when input is delayed 10 seconds - Added by Njuskalo Njusko about 3 years ago

saen acro wrote:

Add second input.

Thanks, will try that.

    (1-9/9)