Project

General

Profile

Bug #1134

tunner or software problem

Added by Alin Rotaru over 12 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
DVB
Target version:
-
Start date:
2012-08-19
Due date:
% Done:

0%

Estimated time:
Found in version:
3.0
Affected Versions:

Description

Hello everyone!
I have a big issue and i dont know how to solve this.

I use 3 TBS Quad tunners (TBS6984) with tvheadend and oscam.

For example i start tvheadend aplication and all works perfect.
After 1-2 hours some channels from my Channels list stop working and i receive this 401 error, something like this channels is not on my sistem.
If i restart tvheadend aplication all channels work back. I can put a cron job to restart tvheadend evey hour but this solution is not good for me.

Can help me someone?


Files

more debug.rtf (50.3 KB) more debug.rtf Alin Rotaru, 2012-08-19 15:36
httpdebug.patch (846 Bytes) httpdebug.patch Adam Sutton, 2012-08-23 11:33
new debug.rtf (37.9 KB) new debug.rtf Alin Rotaru, 2012-08-23 16:41

History

#1

Updated by Alin Rotaru over 12 years ago

This is an example:

Aug 19 04:58:23 subscription: "HTTP" unsubscribing from "Transilvania LOOK"
Aug 19 04:58:23 subscription: "HTTP" unsubscribing from "Transilvania LIVE"
Aug 19 04:58:23 subscription: "HTTP" unsubscribing from "RTV"
Aug 19 04:58:28 HTTP: 188.210.238.15: /stream/channelid/61 -- 401
Aug 19 04:58:28 HTTP: 188.210.238.15: /stream/channelid/57 -- 401
Aug 19 04:58:28 HTTP: 188.210.238.15: /stream/channelid/53 -- 401
Aug 19 04:58:28 HTTP: 188.210.238.15: /stream/channelid/54 -- 401

And again, and again, and again until i restart tvheadend!

#2

Updated by Adam Sutton over 12 years ago

  • Status changed from New to Need feedback
  • Assignee deleted (Hein Rigolo)
  • Priority changed from Urgent to Normal

Is this happening with both encrypted and unencrypted channels?

What client are you using?

And we really need a more complete log with debug enabled.

Adam

#3

Updated by Alin Rotaru over 12 years ago

This problem happening with encrypdted and also with FTA channels.
This server is connected on one transcoder, but also if i try to open with VLC, same problem. One hour is working all channels and after one hour i can not access this channels.
I enable now debugger. Please give me some minutes to give you all logs here.

#4

Updated by Alin Rotaru over 12 years ago

Aug 19 16:22:46 Service: Adaptor 7/UPCD_Thor: 12,265,000 kHz Vertical (Default (Port 0, Universal LNB))/Eurosport: Status changed to [Graceperiod expired]
Aug 19 16:22:46 Service: Adaptor 8/12,456,000 kHz Vertical (Default (Port 0, Universal LNB))/Transilvania LIVE: Status changed to [Graceperiod expired]
Aug 19 16:22:46 Service: Adaptor 8/12,456,000 kHz Vertical (Default (Port 0, Universal LNB))/RTV: Status changed to [Graceperiod expired]
Aug 19 16:22:46 Service: Adaptor 8/12,456,000 kHz Vertical (Default (Port 0, Universal LNB))/Transilvania LOOK: Status changed to [Graceperiod expired]
Aug 19 16:22:47 Service: Subscription "HTTP": Adding adapter "_dev_dvb_adapter6_TurboSight_TBS_6984_DVBS_S2_frontend12265000_V_satconf_7" for service "Adaptor 7/UPCD_Thor: 12,265,000 kHz Vertical (Default (Port 0, Universal LNB))/Eurosport"
Aug 19 16:22:47 webui: Couldn't start stream for /stream/channelid/53
Aug 19 16:22:47 Service: Subscription "HTTP": Adding adapter "_dev_dvb_adapter7_TurboSight_TBS_6984_DVBS_S2_frontend12456000_V_satconf_8" for service "Adaptor 8/12,456,000 kHz Vertical (Default (Port 0, Universal LNB))/Transilvania LIVE"
Aug 19 16:22:47 webui: Couldn't start stream for /stream/channelid/61
Aug 19 16:22:47 Service: Subscription "HTTP": Adding adapter "_dev_dvb_adapter7_TurboSight_TBS_6984_DVBS_S2_frontend12456000_V_satconf_8" for service "Adaptor 8/12,456,000 kHz Vertical (Default (Port 0, Universal LNB))/RTV"
Aug 19 16:22:47 webui: Couldn't start stream for /stream/channelid/54
Aug 19 16:22:47 Service: Subscription "HTTP": Adding adapter "_dev_dvb_adapter7_TurboSight_TBS_6984_DVBS_S2_frontend12456000_V_satconf_8" for service "Adaptor 8/12,456,000 kHz Vertical (Default (Port 0, Universal LNB))/Transilvania LOOK"
Aug 19 16:22:47 webui: Couldn't start stream for /stream/channelid/57
Aug 19 16:22:47 subscription: "HTTP" unsubscribing from "Transilvania LOOK"
Aug 19 16:22:47 Service: Subscription "HTTP": Adding adapter "_dev_dvb_adapter6_TurboSight_TBS_6984_DVBS_S2_frontend12265000_V_satconf_7" for service "Adaptor 7/UPCD_Thor: 12,265,000 kHz Vertical (Default (Port 0, Universal LNB))/Eurosport"
Aug 19 16:22:47 Service: Subscription "HTTP": Probing adapter "_dev_dvb_adapter6_TurboSight_TBS_6984_DVBS_S2_frontend12265000_V_satconf_7" without stealing for service "Adaptor 7/UPCD_Thor: 12,265,000 kHz Vertical (Default (Port 0, Universal LNB))/Eurosport"
Aug 19 16:22:47 cwc: Adaptor 7/UPCD_Thor: 12,265,000 kHz Vertical (Default (Port 0, Universal LNB))/Eurosport using CWC oscam1.spicetvnetwork.ro:15200
Aug 19 16:22:47 Service: Subscription "HTTP": Adding adapter "_dev_dvb_adapter7_TurboSight_TBS_6984_DVBS_S2_frontend12456000_V_satconf_8" for service "Adaptor 8/12,456,000 kHz Vertical (Default (Port 0, Universal LNB))/Transilvania LIVE"
Aug 19 16:22:47 Service: Subscription "HTTP": Probing adapter "_dev_dvb_adapter7_TurboSight_TBS_6984_DVBS_S2_frontend12456000_V_satconf_8" without stealing for service "Adaptor 8/12,456,000 kHz Vertical (Default (Port 0, Universal LNB))/Transilvania LIVE"
Aug 19 16:22:47 Service: Subscription "HTTP": Adding adapter "_dev_dvb_adapter7_TurboSight_TBS_6984_DVBS_S2_frontend12456000_V_satconf_8" for service "Adaptor 8/12,456,000 kHz Vertical (Default (Port 0, Universal LNB))/RTV"
Aug 19 16:22:47 Service: Subscription "HTTP": Probing adapter "_dev_dvb_adapter7_TurboSight_TBS_6984_DVBS_S2_frontend12456000_V_satconf_8" without stealing for service "Adaptor 8/12,456,000 kHz Vertical (Default (Port 0, Universal LNB))/RTV"
Aug 19 16:22:47 subscription: "HTTP" unsubscribing from "Eurosport"
Aug 19 16:22:47 subscription: "HTTP" unsubscribing from "Transilvania LIVE"
Aug 19 16:22:47 subscription: "HTTP" unsubscribing from "RTV"

#6

Updated by Adam Sutton over 12 years ago

  • Assignee set to Adam Sutton

I'll take alook as soon as I can.

Adam

#7

Updated by Alin Rotaru over 12 years ago

Hello Adam,
Any news about this issue? I can pay some money to fix this problem.
Thank you!

#8

Updated by Adam Sutton over 12 years ago

At the moment, I can't see what's causing the problem. HTTP 401 error means unauthorized access.

This would suggest that VLC is not providing the authorization info on connection.

Can you just walk me through what you're doing? Is it something like:

1. start TVH
2. Open webUI
3. Select channel and play in VLC plugin?

What happens if you open a channel and leave it open for 2+ hours. Does it continue to work or does it stop?

If you close the channel and re-open presumably then it does stop? What if you re-fresh the UI and try again?

Can you try running TVH with authorization disabled, i.e. start tvheadend with -C option.

Adam

#9

Updated by Alin Rotaru over 12 years ago

Hi Adam,
Let me explain you more.
I put all channels from tvheadend in our transcoder. I use links like: http://user:pass@IP:9981/stream/channelid/1

All is working without problems... After 1 hour all channels stop work and i recive this errors.
If i try to open http://user:pass@IP:9981/stream/channelid/1 in VLC is not working until i restart tvheadend...

I start tvheadend like this: /usr/bin/tvheadend -f -u hts -g video

I will try to run tvheadend with -C option to see if problem persist...

#10

Updated by Alin Rotaru over 12 years ago

I try to start /usr/bin/tvheadend -f -u hts -g video -C but still ask for password when i try to open with VLC: http://user:pass@IP:9981/stream/channelid/1

#11

Updated by Adam Sutton over 12 years ago

I think if you then try to connect with a user/pass it will fail. You need to connect without specifying either (anonymous).

Adam

#12

Updated by Alin Rotaru over 12 years ago

Hi Adam,
I try without pass: http://IP:9981/stream/channelid/1 and is not working.

If i start with -C i can use http://user:pass@IP:9981/stream/channelid/1 but i can not access admin page http://IP:9981

To start application i use: /usr/bin/tvheadend -f -u hts -g video -C
Is not ok?

#13

Updated by Adam Sutton over 12 years ago

I'm not sure if -f and -C work together, I can't remember off the top of my head.

I need time to look at this properly, but I'm busy with other stuff at the moment.

Adam

#14

Updated by Alin Rotaru over 12 years ago

I try also without -f and also stream request password!
I use: /usr/bin/tvheadend -C -u hts -g video

Now after 5 minutes from start i recive this errors:
Aug 23 08:18:47 HTTP: 86.121.14.154: /stream/channelid/63 -- 401
Aug 23 08:18:53 HTTP: 86.121.14.154: /stream/channelid/63 -- 401

How i can solve this, because is urgent for me to work and tvheadend is the only software who know newcamd :(

#15

Updated by Alin Rotaru over 12 years ago

And also i have new errors since version 3.0

Aug 23 08:46:26 webui: Timeout waiting for packets
Aug 23 08:46:26 MKV: Live stream: Unable to write -- Broken pipe
Aug 23 08:46:26 subscription: "HTTP" unsubscribing from "Eurosport"
Aug 23 08:46:26 webui: Timeout waiting for packets
Aug 23 08:46:26 webui: Timeout waiting for packets
Aug 23 08:46:26 MKV: Live stream: Unable to write -- Broken pipe
Aug 23 08:46:26 MKV: Live stream: Unable to write -- Broken pipe

Aug 23 08:46:26 subscription: "HTTP" unsubscribing from "Euforia Lifestyle"
Aug 23 08:46:26 subscription: "HTTP" unsubscribing from "HBO RO"
Aug 23 08:46:26 webui: Timeout waiting for packets
Aug 23 08:46:26 webui: Timeout waiting for packets
Aug 23 08:46:26 MKV: Live stream: Unable to write -- Broken pipe
Aug 23 08:46:26 subscription: "HTTP" unsubscribing from "Sport1 RO"
Aug 23 08:46:26 MKV: Live stream: Unable to write -- Broken pipe
Aug 23 08:46:26 subscription: "HTTP" unsubscribing from "N24"
Aug 23 08:46:26 webui: Timeout waiting for packets
Aug 23 08:46:26 MKV: Live stream: Unable to write -- Broken pipe
Aug 23 08:46:26 subscription: "HTTP" unsubscribing from "GSP TV"
Aug 23 08:46:36 webui: Timeout waiting for packets
Aug 23 08:46:36 subscription: "HTTP" unsubscribing from "Eurosport"
Aug 23 08:46:36 webui: Timeout waiting for packets
Aug 23 08:46:36 subscription: "HTTP" unsubscribing from "Euforia Lifestyle"
Aug 23 08:46:36 webui: Timeout waiting for packets
Aug 23 08:46:36 subscription: "HTTP" unsubscribing from "GSP TV"
Aug 23 08:46:36 webui: Timeout waiting for packets
Aug 23 08:46:36 subscription: "HTTP" unsubscribing from "HBO RO"
Aug 23 08:46:36 webui: Timeout waiting for packets
Aug 23 08:46:36 subscription: "HTTP" unsubscribing from "N24"
Aug 23 08:46:36 webui: Timeout waiting for packets
Aug 23 08:46:36 subscription: "HTTP" unsubscribing from "Sport1 RO"
Aug 23 08:46:41 HTTP: 192.168.0.15: /stream/channelid/43 -- 401
Aug 23 08:46:41 subscription: "HTTP" subscribing on "Eurosport", weight: 100, adapter: "Adaptor 4", network: "UPCD_Thor", mux: "UPCD_Thor: 12,265,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "Eurosport", quality: 100
Aug 23 08:46:41 HTTP: 192.168.0.15: /stream/channelid/38 -- 401
Aug 23 08:46:41 subscription: "HTTP" subscribing on "Euforia Lifestyle", weight: 100, adapter: "Adaptor 3", network: "UPCD_Thor", mux: "UPCD_Thor: 12,073,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "Euforia Lifestyle", quality: 100
Aug 23 08:46:41 HTTP: 192.168.0.15: /stream/channelid/35 -- 401
Aug 23 08:46:41 subscription: "HTTP" subscribing on "GSP TV", weight: 100, adapter: "Adaptor 3", network: "UPCD_Thor", mux: "UPCD_Thor: 12,073,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "GSP TV", quality: 100
Aug 23 08:46:41 HTTP: 192.168.0.15: /stream/channelid/28 -- 401
Aug 23 08:46:41 subscription: "HTTP" subscribing on "HBO RO", weight: 100, adapter: "Adaptor 3", network: "UPCD_Thor", mux: "UPCD_Thor: 12,073,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "HBO RO", quality: 100
Aug 23 08:46:41 HTTP: 192.168.0.15: /stream/channelid/37 -- 401
Aug 23 08:46:41 subscription: "HTTP" subscribing on "N24", weight: 100, adapter: "Adaptor 3", network: "UPCD_Thor", mux: "UPCD_Thor: 12,073,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "N24", quality: 100
Aug 23 08:46:41 HTTP: 192.168.0.15: /stream/channelid/36 -- 401
Aug 23 08:46:41 subscription: "HTTP" subscribing on "Sport1 RO", weight: 100, adapter: "Adaptor 3", network: "UPCD_Thor", mux: "UPCD_Thor: 12,073,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "Sport1 RO", quality: 100
Aug 23 08:46:53 subscription: "HTTP" unsubscribing from "N24"
Aug 23 08:46:53 subscription: "HTTP" unsubscribing from "HBO RO"
Aug 23 08:46:53 subscription: "HTTP" unsubscribing from "GSP TV"
Aug 23 08:46:53 subscription: "HTTP" unsubscribing from "Euforia Lifestyle"
Aug 23 08:46:53 subscription: "HTTP" unsubscribing from "Eurosport"
Aug 23 08:46:53 subscription: "HTTP" unsubscribing from "Sport1 RO"

Please help me to resolv this 401 error!

#16

Updated by Adam Sutton over 12 years ago

This looks like your client is doing some very odd things. I get these sort of things when I disconnect my client (say close VLC).

I'm still not sure about the 401 errors, all I do know is that means that it's failed to gain access (i.e. the username/password are invalid).

The only thing I can think at this stage is to add some more detailed debug to try and see what might be happening. Can you run with the attached patch, that might give me some clues and at least point me in the right direction.

Note: the patch may not work against 3.0, you might want to get git master out (if you haven't already) and build that.

Adam

#17

Updated by Adam Sutton over 12 years ago

OK,

I've just realised something, being a bit thick I think, the 401 errors are probably incidental. They are probably just your system trying to connect first without the username/password and then with it (depends how your system implements HTTP basic auth code). But that wouldn't surprise me.

That would explain why you get the 401 error immediately followed by the subscription messages, because you can't get a subscription if you don't have access (401).

So I think the 401's are simply a red-herring. But it would still be good to get the extra debug just to confirm that and in the meantime I will have a look to see if I can spot anything else.

Adam

#18

Updated by Alin Rotaru over 12 years ago

Hi!
More debug you have inside attach.
I can give you full acces to my server if you like to see live the problem.

Aug 23 17:37:17 subscription: "HTTP" subscribing on "Mynele TV", weight: 100, adapter: "Adaptor 12", network: "", mux: "11,977,000 kHz Horizontal (Default (Port 0, Universal LNB))", provider: "ESS", service: "Mynele TV", quality: 100
Aug 23 17:37:17 HTTP: 192.168.0.15: /stream/channelid/89 -- 401
Aug 23 17:37:17 subscription: "HTTP" subscribing on "Mooz Dance", weight: 100, adapter: "Adaptor 12", network: "", mux: "11,977,000 kHz Horizontal (Default (Port 0, Universal LNB))", provider: "ESS", service: "Mooz Dance", quality: 100
Aug 23 17:37:28 subscription: "HTTP" unsubscribing from "Mooz Dance"
Aug 23 17:37:28 subscription: "HTTP" unsubscribing from "Mynele TV"
Aug 23 17:37:28 subscription: "HTTP" unsubscribing from "Transilvania LIVE"
Aug 23 17:37:28 subscription: "HTTP" unsubscribing from "Transilvania LOOK"
Aug 23 17:37:28 subscription: "HTTP" unsubscribing from "RTV"
Aug 23 17:37:34 HTTP: 192.168.0.15: /stream/channelid/71 -- 401
Aug 23 17:37:34 HTTP: 192.168.0.15: /stream/channelid/74 -- 401
Aug 23 17:37:34 HTTP: 192.168.0.15: /stream/channelid/78 -- 401
Aug 23 17:37:34 HTTP: 192.168.0.15: /stream/channelid/86 -- 401
Aug 23 17:37:34 HTTP: 192.168.0.15: /stream/channelid/89 -- 401
Aug 23 17:37:34 subscription: "HTTP" subscribing on "RTV", weight: 100, adapter: "Adaptor 11", network: "", mux: "12,456,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "ESS", service: "RTV", quality: 100
Aug 23 17:37:34 TS: Adaptor 11/12,456,000 kHz Vertical (Default (Port 0, Universal LNB))/RTV: MPEG2VIDEO #7146: Continuity counter error
Aug 23 17:37:34 subscription: "HTTP" subscribing on "Transilvania LOOK", weight: 100, adapter: "Adaptor 11", network: "", mux: "12,456,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "ESS", service: "Transilvania LOOK", quality: 100
Aug 23 17:37:34 subscription: "HTTP" subscribing on "Transilvania LIVE", weight: 100, adapter: "Adaptor 11", network: "", mux: "12,456,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "ESS", service: "Transilvania LIVE", quality: 100
Aug 23 17:37:35 subscription: "HTTP" subscribing on "Mooz Dance", weight: 100, adapter: "Adaptor 12", network: "", mux: "11,977,000 kHz Horizontal (Default (Port 0, Universal LNB))", provider: "ESS", service: "Mooz Dance", quality: 100
Aug 23 17:37:35 subscription: "HTTP" subscribing on "Mynele TV", weight: 100, adapter: "Adaptor 12", network: "", mux: "11,977,000 kHz Horizontal (Default (Port 0, Universal LNB))", provider: "ESS", service: "Mynele TV", quality: 100
Aug 23 17:38:39 TS: Adaptor 8/11,747,000 kHz Horizontal (Default (Port 0, Universal LNB))/Kanal D: MPEG2VIDEO
#7101: Continuity counter error

#19

Updated by Adam Sutton over 12 years ago

Alin,

That's probably not a bad idea. I'm struggling to see what's going on here. There seem to be 401 errors which don't relate to any passing through the debug code I added, which makes non sense to me at all.

However it won't be today. I'm unlikely to be free this evening, and I think I'd better do another poke through the code to get some ideas.

If you want to talk about access to your server best do that off-board, ping me an email (its on my profile).

Adam

#20

Updated by Alin Rotaru over 12 years ago

Please tell me your email address, Skype, YM or other IM to talk direct. Or how i can talk direct with you?

#21

Updated by Adam Sutton over 12 years ago

As I said, my email is on my profile, just click on my name ;)

#22

Updated by Alin Rotaru over 12 years ago

Email send!
Thank you for your help!

#23

Updated by Alin Rotaru over 12 years ago

Aug 24 23:35:55 webui: Timeout waiting for packets
Aug 24 23:35:55 subscription: "HTTP" unsubscribing from "Sport1 RO"
Aug 24 23:35:55 webui: Timeout waiting for packets
Aug 24 23:35:55 subscription: "HTTP" unsubscribing from "Antena 2"
Aug 24 23:35:55 webui: Timeout waiting for packets
Aug 24 23:35:55 subscription: "HTTP" unsubscribing from "HBO RO"
Aug 24 23:35:55 webui: Timeout waiting for packets
Aug 24 23:35:55 subscription: "HTTP" unsubscribing from "GSP TV"
Aug 24 23:35:55 webui: Timeout waiting for packets
Aug 24 23:35:55 subscription: "HTTP" unsubscribing from "Discovery RO"
Aug 24 23:35:55 webui: Timeout waiting for packets
Aug 24 23:35:55 subscription: "HTTP" unsubscribing from "N24"
Aug 24 23:35:55 webui: Timeout waiting for packets
Aug 24 23:35:55 webui: Timeout waiting for packets
Aug 24 23:35:55 subscription: "HTTP" unsubscribing from "Eurosport"
Aug 24 23:35:55 subscription: "HTTP" unsubscribing from "Euforia Lifestyle"

This is new!

#24

Updated by Adam Sutton over 12 years ago

This all looks like performance problems to me. The timeout's are the UI handler code (that's streaming the data via HTTP) saying its not receiving data from the DVB system.

This could be a fault in TVH or could be a problem with the DVB firmware. One thing that does spring to mind is there have been intermittent reports of memory leaks when streaming via HTTP. However whenever we've tried to replicate we've not found anything, plus the codes been updated.

Maybe though you're more extensive setup (with what ~64 concurrent streams?) might be exposing the flaw in a more obvious fashion. Will have to try and chat about this when I have some time.

#25

Updated by Alin Rotaru over 12 years ago

i take only about 35 channels from this 64 streams. so i have 35 concurrent streams.

maybe we can tunning something on tvh?

#26

Updated by Adam Sutton over 12 years ago

I've had a quick look at your system and I don't think its a memory leak. Memory footprint seems small and steady (which is what it should be for simple HTTP streaming).

I also can't see any obvious causes for the failures in the system logs, i.e. no hardware faults etc..

It most probably is an inefficiency in the HTTP code, I'll try and take a look when I can. In the mean time you might want to look into installing some system monitoring tools on the server like sar (package sysstat), so we can check for possible changes in system load in correlation with faults etc..

Adam

#27

Updated by Alin Rotaru over 12 years ago

This is new:

Aug 29 07:14:51 subscription: "serviceprobe" direct subscription to adapter: "Adaptor 3", network: "UPCD_Thor", mux: "UPCD_Thor: 12,073,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "GSP TV", quality: 100
Aug 29 07:14:52 cwc: Got unexpected ECM reply (seqno: 1194)
Aug 29 07:14:53 HTTP: 192.168.0.15: /stream/channelid/35 -- 401
Aug 29 07:14:53 HTTP: 192.168.0.15: /stream/channelid -- 400
Aug 29 07:14:53 HTTP: 192.168.0.15: /stream/channelid -- 400
Aug 29 07:14:58 HTTP: 192.168.0.15: /stream/channelid/35 -- 401
Aug 29 07:14:58 HTTP: 192.168.0.15: /stream/channelid -- 400
Aug 29 07:14:58 HTTP: 192.168.0.15: /stream/channelid -- 400
Aug 29 07:15:01 subscription: "serviceprobe" unsubscribing
Aug 29 07:15:01 serviceprobe: GSP TV: skipped: Sensed input from hardware but nothing for the service

Can not be broke now also this card adapter...

#28

Updated by Alin Rotaru over 12 years ago

Another runner cards down.

Aug 31 14:52:41 HTTP: 192.168.0.15: /stream/channelid/71 -- 401
Aug 31 14:52:41 subscription: "HTTP" subscribing on "RTV", weight: 100, adapter: "Adaptor 11", network: "", mux: "12,456,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "ESS", service: "RTV", quality: 100
Aug 31 14:52:41 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 36417600, last = 36424800
Aug 31 14:52:42 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 36504000, last = 36507600
Aug 31 14:52:44 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 36633600, last = 36648000
Aug 31 14:52:44 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 36676800, last = 36694800
Aug 31 14:52:45 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 36720000, last = 36745200
Aug 31 14:52:45 subscription: "HTTP" unsubscribing from "Transilvania LIVE"
Aug 31 14:52:45 subscription: "HTTP" unsubscribing from "Antena 2"
Aug 31 14:52:45 subscription: "HTTP" unsubscribing from "Eurosport"
Aug 31 14:52:45 subscription: "HTTP" unsubscribing from "Mynele TV"
Aug 31 14:52:45 subscription: "HTTP" unsubscribing from "N24"
Aug 31 14:52:45 subscription: "HTTP" unsubscribing from "Discovery RO"
Aug 31 14:52:45 subscription: "HTTP" unsubscribing from "Transilvania LOOK"
Aug 31 14:52:45 subscription: "HTTP" unsubscribing from "Sport1 RO"
Aug 31 14:52:45 HTTP: 192.168.0.15: /stream/channelid/35 -- 401
Aug 31 14:52:45 HTTP: 192.168.0.15: /stream/channelid -- 400
Aug 31 14:52:45 HTTP: 192.168.0.15: /stream/channelid -- 400
Aug 31 14:52:45 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 36763200, last = 36802800
Aug 31 14:52:46 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 36806400, last = 36828000
Aug 31 14:52:46 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 36849600, last = 36878400
Aug 31 14:52:47 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 36892800, last = 36932400
Aug 31 14:52:47 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 36936000, last = 36975600
Aug 31 14:52:48 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 36979200, last = 37018800
Aug 31 14:52:48 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 37022400, last = 37062000
Aug 31 14:52:49 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 37065600, last = 37105200
Aug 31 14:52:49 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 37108800, last = 37148400
Aug 31 14:52:50 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 37152000, last = 37191600
Aug 31 14:52:50 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 37195200, last = 37234800
Aug 31 14:52:50 HTTP: 192.168.0.15: /stream/channelid/78 -- 401
Aug 31 14:52:50 subscription: "HTTP" subscribing on "Transilvania LIVE", weight: 100, adapter: "Adaptor 11", network: "", mux: "12,456,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "ESS", service: "Transilvania LIVE", quality: 100
Aug 31 14:52:50 subscription: "HTTP" unsubscribing from "Euforia Lifestyle"
Aug 31 14:52:50 HTTP: 192.168.0.15: /stream/channelid/74 -- 401
Aug 31 14:52:50 subscription: "HTTP" subscribing on "Transilvania LOOK", weight: 100, adapter: "Adaptor 11", network: "", mux: "12,456,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "ESS", service: "Transilvania LOOK", quality: 100
Aug 31 14:52:50 HTTP: 192.168.0.15: /stream/channelid/36 -- 401
Aug 31 14:52:50 subscription: "HTTP" subscribing on "Sport1 RO", weight: 100, adapter: "Adaptor 3", network: "UPCD_Thor", mux: "UPCD_Thor: 12,073,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "Sport1 RO", quality: 100
Aug 31 14:52:50 HTTP: 192.168.0.15: /stream/channelid/37 -- 401
Aug 31 14:52:50 subscription: "HTTP" subscribing on "N24", weight: 100, adapter: "Adaptor 3", network: "UPCD_Thor", mux: "UPCD_Thor: 12,073,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "N24", quality: 100
Aug 31 14:52:50 HTTP: 192.168.0.15: /stream/channelid/43 -- 401
Aug 31 14:52:50 subscription: "HTTP" subscribing on "Eurosport", weight: 100, adapter: "Adaptor 4 - RM", network: "UPCD_Thor", mux: "UPCD_Thor: 12,265,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "Eurosport", quality: 100
Aug 31 14:52:50 HTTP: 192.168.0.10: /stream/channelid/34 -- 401
Aug 31 14:52:50 HTTP: 192.168.0.10: /stream/channelid/32 -- 401
Aug 31 14:52:50 subscription: "HTTP" subscribing on "Discovery RO", weight: 100, adapter: "Adaptor 3", network: "UPCD_Thor", mux: "UPCD_Thor: 12,073,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "Discovery RO", quality: 100
Aug 31 14:52:50 subscription: "HTTP" subscribing on "Antena 2", weight: 100, adapter: "Adaptor 3", network: "UPCD_Thor", mux: "UPCD_Thor: 12,073,000 kHz Vertical (Default (Port 0, Universal LNB))", provider: "UPC Direct", service: "Antena 2", quality: 100
Aug 31 14:52:50 HTTP: 192.168.0.15: /stream/channelid/35 -- 401
Aug 31 14:52:50 HTTP: 192.168.0.15: /stream/channelid -- 400
Aug 31 14:52:50 HTTP: 192.168.0.15: /stream/channelid -- 400
Aug 31 14:52:50 HTTP: 192.168.0.15: /stream/channelid/86 -- 401
Aug 31 14:52:50 subscription: "HTTP" subscribing on "Mynele TV", weight: 100, adapter: "Adaptor 12", network: "", mux: "11,977,000 kHz Horizontal (Default (Port 0, Universal LNB))", provider: "ESS", service: "Mynele TV", quality: 100
Aug 31 14:52:51 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 37238400, last = 37245600
Aug 31 14:52:51 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 37281600, last = 37299600
Aug 31 14:52:52 subscription: "HTTP" unsubscribing from "RTV"
Aug 31 14:52:52 subscription: "HTTP" unsubscribing from "Mooz Dance"
Aug 31 14:52:52 subscription: "HTTP" unsubscribing from "HBO RO"
Aug 31 14:52:52 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 37368000, last = 37407600
Aug 31 14:52:52 parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 37411200, last = 37432800

#29

Updated by Alin Rotaru about 12 years ago

any time for my problem please?

#30

Updated by mojbuk mojbuk about 12 years ago

I have the same problem. After some time, using the IP Video transcoding live, sometimes 12 hours or more in all streams completely flat with the same error.
Card: TBS QuadTuner

#31

Updated by mojbuk mojbuk about 12 years ago

After restarting service all is OK. Where is problem?

#32

Updated by Adam Sutton about 12 years ago

The more I look into this problem the more I think its related to the cards, I think its highly suspicious you're both using the same card.

However its also odd that Alin only sees this when he gets above some critical threshold (i.e. number of adapters/services). So it could still be related to TVH. However in all the instances I've seen on his servers the cards/firmware have always gotten into weird states from which even stopping TVH and using completely different software does not appear to resolve the issues.

Adam

#33

Updated by Alin Rotaru about 12 years ago

I will try to put next month one supermicro server with atom cpu 2 x 1.8 Ghz with 2-4 GB ram and one TBS quad to see if i recive same errors! I will try to take from tvh with this server about 30 channels simultaneously!

#34

Updated by Adam Sutton about 12 years ago

Alin,

That would help, I'm sorry I've not been able to get to the bottom of the problem. But it really does seem that every time we look at the issue all is working fine and then it mysteriously stops and the problems always appear to point at adapter problems.

I'm still not ruling out that TVH has a part to play in the problem, I'm just not sure what. One thing I did think we should try sometime, though needs a bit more effort. Is to run 1 TVH instance per adapter. But this would mean each TVH instance would be on a different port and you'd need to change your config accordingly.

This might help rule out some TVH cross adapter issues. If it works like this then I'd say it probably is TVH that's at fault, doing something that upsets the drivers. If this doesn't work its more likely the problem is purely in the drivers.

Adam

#35

Updated by Adam Sutton almost 12 years ago

Alin,

How are you getting on with this? A lot has changed since the last time we talked including several significant performance improvements. Have you tried the latest version, or are you getting by with whatever setup you have?

Adam

#36

Updated by Alin Rotaru almost 12 years ago

Hi Adam,
Some servers work more ok with 3.1.605, and on other servers work more ok with new version. I dont know exacly why!

#37

Updated by Adam Sutton almost 12 years ago

Can you please try latest git master code, or at the very least the latest stable release from the release PPA. We need to understand whether this is still an issue with the current code.

Adam

#38

Updated by Adam Sutton over 11 years ago

  • Status changed from Need feedback to Rejected

Closing, lots of improvements have been made in 3.4. Whether this will fix these specific issues I cannot say. Personally my TBS6985 works fine and I know plenty of people running TBS6984's. But this could be a problem with scaling to very large rigs like yours.

Adam

#39

Updated by A. S. over 10 years ago

Hi Adam,

I am also have TBS6985 card with the latest driver "http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v140425.zip" with a tvheadend compiled from the master and the latest changes are pulled as of today version "START: HTS Tvheadend version 3.9.569~ge113c3b-dirty started" and I am trying to stream 8 sd channels on 2 tuner slots (2 transpoders, 4 of each ) and I have also did some transcoding with it and it was working very good for about an hour and then it gives me lots of errors from that:

2014-04-26 21:30:05.188 [ ERROR] parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 120531600, last = 101876400
2014-04-26 21:30:05.192 [ ERROR] parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 121172400, last = 103078800
2014-04-26 21:30:05.260 [ ERROR] parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 119883600, last = 101448000
2014-04-26 21:30:05.294 [ ERROR] parser: transport stream MPEG2VIDEO, DTS discontinuity. DTS = 120391200, last = 101563200
2014-04-26 21:30:05.317 [ ERROR] parser: transport stream MPEG2AUDIO, DTS discontinuity. DTS = 121157078, last = 103043318
2014-04-26 21:30:05.317 [ ERROR] parser: transport stream MPEG2AUDIO, DTS discontinuity. DTS = 121157078, last = 103043318
2014-04-26 21:30:05.319 [WARNING] libav: non-strictly-monotonic PTS
2014-04-26 21:30:05.347 [ ERROR] parser: transport stream MPEG2AUDIO, DTS discontinuity. DTS = 119832278, last = 101362118
2014-04-26 21:30:05.347 [ ERROR] parser: transport stream MPEG2AUDIO, DTS discontinuity. DTS = 119832278, last = 101362118
2014-04-26 21:30:05.385 [ ERROR] parser: transport stream MPEG2AUDIO, DTS discontinuity. DTS = 120354278, last = 101516918
2014-04-26 21:30:05.385 [ ERROR] parser: transport stream MPEG2AUDIO, DTS discontinuity. DTS = 120354278, last = 101516918
2014-04-26 21:30:05.397 [ ERROR] parser: transport stream MPEG2AUDIO, DTS discontinuity. DTS = 120511238, last = 101835878

I hope that you can help me with that and I am ready to provide any more logs or information if you want

Also available in: Atom PDF