Project

General

Profile

Actions

Bug #3723

closed

Maximum # input streams not working properly

Added by David jrm about 9 years ago. Updated about 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
-
Start date:
2016-04-14
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-1859~gc9a1e0b~trusty
Affected Versions:

Description

Hi,

Recently I have seen that above configuration is not working as expected as TVH always add 1 to the number set. I have 2 IPTV sources set as Max. input streams =1 and TVH allow up to 2 streams, if I set that config to 2, TVH allow 3 and so on..
The problem is that with this approach 1 cannot be set as 0 disable the restriction itself...

Can you please check this behavior?

Thanks

Actions #1

Updated by Jaroslav Kysela about 9 years ago

Could you provide '--trace service,mpegts' ?

Actions #2

Updated by David jrm about 9 years ago

Jaroslav Kysela wrote:

Could you provide '--trace service,mpegts' ?

See below the part of the trace where the 2 channels from same network are playing... for iptv network, the max. input streams is set as 1.

2016-04-14 15:51:38.038 [   INFO]:htsp: Got connection from XXX.XXX.XXX.XXX
2016-04-14 15:51:38.039 [   INFO]:htsp: XXX.XXX.XXX.XXX: Welcomed client software: Kodi Media Center (HTSPv25)
2016-04-14 15:51:38.041 [   INFO]:htsp: XXX.XXX.XXX.XXX [ Kodi Media Center ]: Identified as user 'user'
2016-04-14 15:51:38.041 [   INFO]:htsp: XXX.XXX.XXX.XXX [ user | Kodi Media Center ]: Privileges updated
2016-04-14 15:51:44.552 [  DEBUG]:service: 1: Telecinco HD si 0x7f8f7c005a00 <unknown> weight 0 prio 11 error 0
2016-04-14 15:51:44.552 [  TRACE]:service: will start new instance 1
2016-04-14 15:51:44.552 [  TRACE]:service: starting iptv/get.php - Telecinco HD/Service01
2016-04-14 15:51:44.552 [   INFO]:mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-14 15:51:44.769 [  TRACE]:mpegts: input HDHomeRun DVB-T Tuner #0 (XXX.XXX.XXX.XXX) got 19740 bytes
2016-04-14 15:51:44.788 [  TRACE]:mpegts: input HDHomeRun DVB-T Tuner #1 (XXX.XXX.XXX.XXX) got 19740 bytes
2016-04-14 15:51:44.892 [  DEBUG]:mpegts: get.php - Telecinco HD in iptv - started
2016-04-14 15:51:44.892 [  TRACE]:mpegts: table: mux 0x2869ee0 add eit 00/00 (0) pid 0012 (18)
2016-04-14 15:51:44.892 [  DEBUG]:mpegts: get.php - Telecinco HD in iptv - open PID 0012 (18) [20/0x7f8f7c006340]
2016-04-14 15:51:44.892 [  DEBUG]:mpegts: get.php - Telecinco HD in iptv - open PID 1000 (4096) [8/0x286a630]
2016-04-14 15:51:44.892 [  DEBUG]:mpegts: get.php - Telecinco HD in iptv - open PID 0100 (256) [8/0x286a630]
2016-04-14 15:51:44.892 [  DEBUG]:mpegts: get.php - Telecinco HD in iptv - open PID 0101 (257) [8/0x286a630]
2016-04-14 15:51:44.892 [  TRACE]:mpegts: table: mux 0x2869ee0 add pmt 02/FF (2) pid 1000 (4096)
2016-04-14 15:51:44.892 [  DEBUG]:mpegts: get.php - Telecinco HD in iptv - open PID 1000 (4096) [16/0x7f8f7c0077b0]
2016-04-14 15:51:44.892 [  TRACE]:mpegts: input IPTV got 10904 bytes
2016-04-14 15:51:44.892 [   INFO]:subscription: 0005: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-14 15:51:44.893 [  TRACE]:mpegts: input IPTV got 113552 bytes
2016-04-14 15:51:44.928 [  TRACE]:mpegts: input IPTV got 20492 bytes
2016-04-14 15:51:44.931 [  TRACE]:mpegts: input IPTV got 25944 bytes
2016-04-14 15:51:44.985 [  TRACE]:mpegts: table: mux 0x2869ee0 add pat 00/00 (0) pid 0000 (0)
2016-04-14 15:51:44.985 [  DEBUG]:mpegts: get.php - Telecinco HD in iptv - open PID 0000 (0) [20/0x7f8f64008240]
2016-04-14 15:51:44.985 [  TRACE]:mpegts: table: mux 0x2869ee0 add cat 01/FF (1) pid 0001 (1)
2016-04-14 15:51:44.985 [  DEBUG]:mpegts: get.php - Telecinco HD in iptv - open PID 0001 (1) [16/0x7f8f640096b0]
2016-04-14 15:51:44.985 [  TRACE]:mpegts: table: mux 0x2869ee0 add nit 00/00 (0) pid 0010 (16)
2016-04-14 15:51:44.985 [  DEBUG]:mpegts: get.php - Telecinco HD in iptv - open PID 0010 (16) [16/0x7f8f6400ad20]
2016-04-14 15:51:44.985 [  TRACE]:mpegts: table: mux 0x2869ee0 add sdt 40/F8 (64) pid 0011 (17)
2016-04-14 15:51:44.985 [  DEBUG]:mpegts: get.php - Telecinco HD in iptv - open PID 0011 (17) [20/0x7f8f6400c3b0]
2016-04-14 15:51:44.985 [  TRACE]:mpegts: table: mux 0x2869ee0 add bat 48/F8 (72) pid 0011 (17)
2016-04-14 15:51:44.985 [  DEBUG]:mpegts: get.php - Telecinco HD in iptv - open PID 0011 (17) [16/0x7f8f6400da40]
2016-04-14 15:51:45.020 [  DEBUG]:service: iptv/get.php - Telecinco HD/Service01: Status changed to [Hardware input]
2016-04-14 15:51:45.020 [  DEBUG]:service: iptv/get.php - Telecinco HD/Service01: Status changed to [Hardware input] [Input on service]
2016-04-14 15:51:45.020 [  DEBUG]:service: iptv/get.php - Telecinco HD/Service01: Status changed to [Hardware input] [Input on service] [Demuxed packets]
2016-04-14 15:51:45.020 [  TRACE]:mpegts: input IPTV got 20868 bytes
2016-04-14 15:51:45.020 [  TRACE]:mpegts: table: mux 0x2869ee0 add pmt 02/FF (2) pid 1000 (4096)
2016-04-14 15:51:45.021 [  DEBUG]:service: iptv/get.php - Telecinco HD/Service01: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets]
2016-04-14 15:51:45.021 [  TRACE]:mpegts: input IPTV got 21808 bytes
2016-04-14 15:51:45.056 [  TRACE]:mpegts: input IPTV got 18800 bytes
2016-04-14 15:51:45.057 [  TRACE]:mpegts: input IPTV got 25944 bytes

2016-04-14 15:51:56.998 [   INFO]:htsp: Got connection from XXX.XXX.XXX.XXX
2016-04-14 15:51:56.999 [   INFO]:htsp: XXX.XXX.XXX.XXX: Welcomed client software: VLC media player (HTSPv19)
2016-04-14 15:51:57.001 [   INFO]:htsp: XXX.XXX.XXX.XXX [ VLC media player ]: Identified as user 'user'
2016-04-14 15:51:57.001 [   INFO]:htsp: XXX.XXX.XXX.XXX [ user | VLC media player ]: Privileges updated
2016-04-14 15:51:57.014 [  DEBUG]:service: 1: Antena 3 HD si 0x7f8f7c024300 <unknown> weight 4 prio 11 error 0
2016-04-14 15:51:57.014 [  TRACE]:service: will start new instance 1
2016-04-14 15:51:57.014 [  TRACE]:service: starting iptv/get.php - Antena 3 HD/Service01
2016-04-14 15:51:57.014 [   INFO]:mpegts: get.php - Antena 3 HD in iptv - tuning on IPTV
2016-04-14 15:51:57.156 [  DEBUG]:mpegts: get.php - Antena 3 HD in iptv - started
2016-04-14 15:51:57.156 [  TRACE]:mpegts: table: mux 0x263c460 add eit 00/00 (0) pid 0012 (18)
2016-04-14 15:51:57.156 [  DEBUG]:mpegts: get.php - Antena 3 HD in iptv - open PID 0012 (18) [20/0x7f8f7c0137c0]
2016-04-14 15:51:57.156 [  DEBUG]:mpegts: get.php - Antena 3 HD in iptv - open PID 1000 (4096) [8/0x263c9c0]
2016-04-14 15:51:57.156 [  DEBUG]:mpegts: get.php - Antena 3 HD in iptv - open PID 0101 (257) [8/0x263c9c0]
2016-04-14 15:51:57.156 [  DEBUG]:mpegts: get.php - Antena 3 HD in iptv - open PID 0100 (256) [8/0x263c9c0]
2016-04-14 15:51:57.156 [  TRACE]:mpegts: table: mux 0x263c460 add pmt 02/FF (2) pid 1000 (4096)
2016-04-14 15:51:57.156 [  DEBUG]:mpegts: get.php - Antena 3 HD in iptv - open PID 1000 (4096) [16/0x7f8f7c01aac0]
2016-04-14 15:51:57.156 [   INFO]:subscription: 0009: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Antena 3 HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-14 15:51:57.296 [  TRACE]:mpegts: input IPTV got 393296 bytes
2016-04-14 15:51:57.355 [  TRACE]:mpegts: table: mux 0x263c460 add pat 00/00 (0) pid 0000 (0)
2016-04-14 15:51:57.355 [  DEBUG]:mpegts: get.php - Antena 3 HD in iptv - open PID 0000 (0) [20/0x7f8f64006790]
2016-04-14 15:51:57.355 [  TRACE]:mpegts: table: mux 0x263c460 add cat 01/FF (1) pid 0001 (1)
2016-04-14 15:51:57.355 [  DEBUG]:mpegts: get.php - Antena 3 HD in iptv - open PID 0001 (1) [16/0x7f8f640050a0]
2016-04-14 15:51:57.355 [  TRACE]:mpegts: table: mux 0x263c460 add nit 00/00 (0) pid 0010 (16)
2016-04-14 15:51:57.355 [  DEBUG]:mpegts: get.php - Antena 3 HD in iptv - open PID 0010 (16) [16/0x7f8f64002380]
2016-04-14 15:51:57.355 [  TRACE]:mpegts: table: mux 0x263c460 add sdt 40/F8 (64) pid 0011 (17)
2016-04-14 15:51:57.355 [  DEBUG]:mpegts: get.php - Antena 3 HD in iptv - open PID 0011 (17) [20/0x7f8f64000cd0]
2016-04-14 15:51:57.355 [  TRACE]:mpegts: table: mux 0x263c460 add bat 48/F8 (72) pid 0011 (17)
2016-04-14 15:51:57.355 [  DEBUG]:mpegts: get.php - Antena 3 HD in iptv - open PID 0011 (17) [16/0x7f8f6400ef30]
2016-04-14 15:51:57.391 [  DEBUG]:service: iptv/get.php - Antena 3 HD/Service01: Status changed to [Hardware input]
2016-04-14 15:51:57.391 [  DEBUG]:service: iptv/get.php - Antena 3 HD/Service01: Status changed to [Hardware input] [Input on service]
2016-04-14 15:51:57.391 [  DEBUG]:service: iptv/get.php - Antena 3 HD/Service01: Status changed to [Hardware input] [Input on service] [Demuxed packets]
2016-04-14 15:51:57.391 [  TRACE]:mpegts: input IPTV got 19740 bytes
2016-04-14 15:51:57.391 [  TRACE]:mpegts: table: mux 0x263c460 add pmt 02/FF (2) pid 1000 (4096)
2016-04-14 15:51:57.392 [  TRACE]:mpegts: input IPTV got 23124 bytes
2016-04-14 15:51:57.460 [  DEBUG]:service: iptv/get.php - Antena 3 HD/Service01: Status changed to [Hardware input] [Input on service] [Demuxed packets] [Reassembled packets]
2016-04-14 15:51:57.460 [  TRACE]:mpegts: input IPTV got 24628 bytes
Actions #3

Updated by Jaroslav Kysela about 9 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|2f7133588a4c85a2414b8a8fdf205722ad89ceff.

Actions #4

Updated by Jaroslav Kysela about 9 years ago

Fixed in v4.1-1895-g2f71335 .

Actions #5

Updated by David jrm about 9 years ago

Jaroslav Kysela wrote:

Fixed in v4.1-1895-g2f71335 .

Thanks a lot! Now is working perfectly :)

Actions #6

Updated by Phil Uithoven about 9 years ago

Sorry, but this commit breaks the max stream functionality. I have two IPTV networks each configured with a max streams = 3. As soon as I build with this commit, the startup scan when the server is started tries to scan all muxes from both networks all at once. This brings the server to a halt where the web UI is not responding.

When I build with up to 1c95a194716dcacd73f71592f787c0d767882638, everything is fine.

Actions #7

Updated by David jrm about 9 years ago

Phil Uithoven wrote:

Sorry, but this commit breaks the max stream functionality. I have two IPTV networks each configured with a max streams = 3. As soon as I build with this commit, the startup scan when the server is started tries to scan all muxes from both networks all at once. This brings the server to a halt where the web UI is not responding.

When I build with up to 1c95a194716dcacd73f71592f787c0d767882638, everything is fine.

I have tested this fully as the other issue with the HDHomerun has been fixed (Thanks @Jaroslav Kysela). When I tested last time the service was continously stopping due the HDHR issue, so despite I saw that when 1 stream is running in channel A and I tried to stream channel B, channel A continued running and B stopped, something wrong is happening behind as channel A continue but simply in a bucle for the last 2-3 seconds. See the trace where it seems that both streams continue in the background trying so possibly the reason of this odd behavior and also the same pointed by @Phil Uithoven. FYI I tried removing from git 2f7133588a4c85a2414b8a8fdf205722ad89ceff and it works, however the initial issue raised (wrong behavior of max input stream) still there (obviously)

@Jaroslav Kysela can you please take a look?

Thanks a lot

2016-04-17 18:34:16.220 [   INFO] htsp: Got connection from XXX.XXX.XXX.XXX
2016-04-17 18:34:16.220 [   INFO] htsp: XXX.XXX.XXX.XXX: Welcomed client software: Kodi Media Center (HTSPv25)
2016-04-17 18:34:16.221 [   INFO] htsp: XXX.XXX.XXX.XXX [ Kodi Media Center ]: Identified as user 'user'
2016-04-17 18:34:16.221 [   INFO] htsp: XXX.XXX.XXX.XXX [ user | Kodi Media Center ]: Privileges updated
2016-04-17 18:34:26.032 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:34:26.308 [   INFO] subscription: 000B: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:35:28.891 [   INFO] subscription: 000B: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" unsubscribing from "Telecinco HD", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:35:28.903 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:35:28.926 [   INFO] subscription: 000C: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:36:04.805 [   INFO] htsp: Got connection from XXX.XXX.XXX.XXX
2016-04-17 18:36:04.805 [   INFO] htsp: XXX.XXX.XXX.XXX: Welcomed client software: VLC media player (HTSPv19)
2016-04-17 18:36:04.810 [   INFO] htsp: XXX.XXX.XXX.XXX [ VLC media player ]: Identified as user 'user'
2016-04-17 18:36:04.810 [   INFO] htsp: XXX.XXX.XXX.XXX [ user | VLC media player ]: Privileges updated
2016-04-17 18:36:09.921 [   INFO] htsp: Got connection from XXX.XXX.XXX.XXX
2016-04-17 18:36:09.930 [   INFO] htsp: XXX.XXX.XXX.XXX: Welcomed client software: VLC media player (HTSPv19)
2016-04-17 18:36:09.932 [   INFO] htsp: XXX.XXX.XXX.XXX [ VLC media player ]: Identified as user 'user'
2016-04-17 18:36:09.932 [   INFO] htsp: XXX.XXX.XXX.XXX [ user | VLC media player ]: Privileges updated
2016-04-17 18:36:09.940 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:36:10.278 [   INFO] subscription: 000D: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:36:10.278 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:36:10.615 [   INFO] subscription: 000C: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:36:12.536 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:36:12.886 [   INFO] subscription: 000D: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:36:12.886 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:36:12.910 [   INFO] subscription: 000C: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:36:14.838 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:36:14.974 [   INFO] subscription: 000D: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:36:14.974 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:36:14.995 [   INFO] subscription: 000C: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:36:16.940 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:36:17.075 [   INFO] subscription: 000D: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:36:17.075 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:36:17.120 [   INFO] subscription: 000C: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:36:19.042 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:36:19.181 [   INFO] subscription: 000D: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:36:19.181 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:36:19.201 [   INFO] subscription: 000C: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:36:20.860 [   INFO] htsp: XXX.XXX.XXX.XXX [ user | VLC media player ]: Disconnected
2016-04-17 18:36:20.860 [   INFO] subscription: 000D: "XXX.XXX.XXX.XXX [ user | VLC media player ]" unsubscribing from "Telecinco HD", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:36:20.921 [   INFO] htsp: XXX.XXX.XXX.XXX [ user | VLC media player ]: Disconnected
2016-04-17 18:36:43.813 [  ERROR] parser: transport stream MPEG2AUDIO, DTS discontinuity. DTS = 2671626, last = 2546346
2016-04-17 18:36:43.813 [  ERROR] parser: transport stream MPEG2AUDIO, DTS discontinuity. DTS = 2673786, last = 2546346
2016-04-17 18:36:43.814 [  ERROR] parser: transport stream H264, DTS discontinuity. DTS = 2707200, last = 2602800
2016-04-17 18:36:45.571 [   INFO] subscription: 000C: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" unsubscribing from "Antena 3 HD", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:37:07.035 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:37:07.081 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:37:53.250 [   INFO] htsp: Got connection from XXX.XXX.XXX.XXX
2016-04-17 18:37:53.250 [   INFO] htsp: XXX.XXX.XXX.XXX: Welcomed client software: VLC media player (HTSPv19)
2016-04-17 18:37:53.252 [   INFO] htsp: XXX.XXX.XXX.XXX [ VLC media player ]: Identified as user 'user'
2016-04-17 18:37:53.252 [   INFO] htsp: XXX.XXX.XXX.XXX [ user | VLC media player ]: Privileges updated
2016-04-17 18:37:58.815 [   INFO] htsp: Got connection from XXX.XXX.XXX.XXX
2016-04-17 18:37:58.815 [   INFO] htsp: XXX.XXX.XXX.XXX: Welcomed client software: VLC media player (HTSPv19)
2016-04-17 18:37:58.819 [   INFO] htsp: XXX.XXX.XXX.XXX [ VLC media player ]: Identified as user 'user'
2016-04-17 18:37:58.819 [   INFO] htsp: XXX.XXX.XXX.XXX [ user | VLC media player ]: Privileges updated
2016-04-17 18:37:58.829 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:37:59.106 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:37:59.106 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:37:59.146 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:01.139 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:01.491 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:01.491 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:01.532 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:03.441 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:03.585 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:03.585 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:03.609 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:05.543 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:05.816 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:05.816 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:05.839 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:07.745 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:08.090 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:08.090 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:08.112 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:10.047 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:10.068 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:10.068 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:10.089 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:12.048 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:12.105 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:12.105 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:12.129 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:14.050 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:14.092 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:14.092 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:14.134 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:16.052 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:16.094 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:16.095 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:16.119 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:18.054 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:18.098 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:18.098 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:18.124 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:20.056 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:20.082 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:20.082 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:20.126 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:22.057 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:22.103 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:22.103 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:22.124 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:24.059 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:24.082 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:24.082 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:24.104 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:26.060 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:26.084 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:26.084 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:26.125 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:28.062 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:29.341 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:29.341 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:29.365 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:31.265 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:31.288 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:38:31.288 [   INFO] mpegts: premium.m3u - Antena 3 HD 1080 in iptv_premium - tuning on IPTV
2016-04-17 18:38:31.308 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" subscribing on channel "Antena 3 HD", weight: 150, adapter: "IPTV", network: "iptv_premium", mux: "premium.m3u - Antena 3 HD 1080", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:31.914 [   INFO] subscription: 000E: "XXX.XXX.XXX.XXX [ user | Kodi Media Center ]" unsubscribing from "Antena 3 HD", hostname="XXX.XXX.XXX.XXX", username="user", client="Kodi Media Center" 
2016-04-17 18:38:31.915 [   INFO] mpegts: get.php - Telecinco HD in iptv - tuning on IPTV
2016-04-17 18:38:31.939 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" subscribing on channel "Telecinco HD", weight: 150, adapter: "IPTV", network: "iptv", mux: "get.php - Telecinco HD", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:39:02.519 [   INFO] htsp: XXX.XXX.XXX.XXX [ user | VLC media player ]: Disconnected
2016-04-17 18:39:02.519 [   INFO] subscription: 000F: "XXX.XXX.XXX.XXX [ user | VLC media player ]" unsubscribing from "Telecinco HD", hostname="XXX.XXX.XXX.XXX", username="user", client="VLC media player" 
2016-04-17 18:39:02.616 [   INFO] htsp: XXX.XXX.XXX.XXX [ user | VLC media player ]: Disconnected
Actions #8

Updated by David jrm about 9 years ago

Phil Uithoven wrote:

Sorry, but this commit breaks the max stream functionality. I have two IPTV networks each configured with a max streams = 3. As soon as I build with this commit, the startup scan when the server is started tries to scan all muxes from both networks all at once. This brings the server to a halt where the web UI is not responding.

When I build with up to 1c95a194716dcacd73f71592f787c0d767882638, everything is fine.

@Phil Uithoven, I have tested the change applied in changeset tvheadend|3d4ac3e799cdbde733d51d645adb9c015b0727c2 and it is working correctly for me now. I have tested this with different IPTV sources and now the behavior you mentioned didn't happen and also the max.#input are working as well.
Can you please check in your side and confirm if works OK for you as well?

Actions #9

Updated by David jrm about 9 years ago

David jrm wrote:

Phil Uithoven wrote:

Sorry, but this commit breaks the max stream functionality. I have two IPTV networks each configured with a max streams = 3. As soon as I build with this commit, the startup scan when the server is started tries to scan all muxes from both networks all at once. This brings the server to a halt where the web UI is not responding.

When I build with up to 1c95a194716dcacd73f71592f787c0d767882638, everything is fine.

@Phil Uithoven, I have tested the change applied in changeset tvheadend|3d4ac3e799cdbde733d51d645adb9c015b0727c2 and it is working correctly for me now. I have tested this with different IPTV sources and now the behavior you mentioned didn't happen and also the max.#input are working as well.
Can you please check in your side and confirm if works OK for you as well?


Sorry but no good news, I have continue the testing and have seen that for 1 connection it is duplicated, so for each connection in reality in TVH are 2 so there are lot of drops etc. Will send the logs later as need to leave the work building now :)

Actions

Also available in: Atom PDF