Bug #5420
iptv freezing
0%
Description
Hi All,
I am seeing my IPTV freeze pretty often, its fixes by stopping and starting the channel and so the stream.
I am hoping this could be better handed in tvheaded and so drop/restart the channel.
Thanks
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 0011 cc err 0 != 11
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 0000 cc err 0 != 3
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 1000 cc err 0 != 3
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 0100 cc err 0 != 1
2018-12-12 19:27:52.369 [WARNING]:TS: IPTV/Disney Junior/Service01: H264 @ #256 Continuity counter error (total 1)
2018-12-12 19:27:52.369 [ TRACE]:parser: vparam 01: w=1920 h=1080 d=3600 (old w=1920 h=1080 d=3600 meta=0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 1 H264 type P pcr 13019310 dts 13082310 pts 13082310 dur 3600 len 7379 err 1)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13066785 pts 13066785 dur 1920 len 349 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13068705 pts 13068705 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13070625 pts 13070625 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13072545 pts 13072545 dur 1920 len 349 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13074465 pts 13074465 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13076385 pts 13076385 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13078305 pts 13078305 dur 1920 len 349 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13080225 pts 13080225 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: vparam 01: w=1920 h=1080 d=3600 (old w=1920 h=1080 d=3600 meta=0)
2018-12-12 19:27:52.370 [ TRACE]:parser: deliver (pkt stream 1 H264 type P pcr 13019310 dts 13086000 pts 13086000 dur 3600 len 4033 err 0)
2018-12-12 19:27:52.370 [ TRACE]:mpegts: input IPTV #1 got 131036 bytes
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: bat: Disney Junior in IPTV: PID 0011 CC error 0 != 11
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: sdt: Disney Junior in IPTV: PID 0011 CC error 0 != 11
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: pat: Disney Junior in IPTV: PID 0000 CC error 0 != 3
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: pmt: Disney Junior in IPTV: PID 1000 CC error 0 != 3
2018-12-12 19:28:16.409 [ INFO]:subscription: 000B: "xxxxxxxxxxxxxx [ kodi | Kodi Media Center ]" unsubscribing from "Disney Junior", hostname="xxxxxxxxxxxxxxx", username="kodi", client="Kodi Media Center"
History
Updated by Mario Gidi almost 6 years ago
The only way i got IPTV to work reliably is by piping via ffmpeg
ffmpeg -loglevel fatal -i "$1" -metadata service_name="$2" -acodec copy -vcodec copy -f mpegts -tune zerolatency pipe:1
neil mac wrote:
Hi All,
I am seeing my IPTV freeze pretty often, its fixes by stopping and starting the channel and so the stream.
I am hoping this could be better handed in tvheaded and so drop/restart the channel.
Thanks
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 0011 cc err 0 != 11
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 0000 cc err 0 != 3
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 1000 cc err 0 != 3
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 0100 cc err 0 != 1
2018-12-12 19:27:52.369 [WARNING]:TS: IPTV/Disney Junior/Service01: H264 @ #256 Continuity counter error (total 1)
2018-12-12 19:27:52.369 [ TRACE]:parser: vparam 01: w=1920 h=1080 d=3600 (old w=1920 h=1080 d=3600 meta=0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 1 H264 type P pcr 13019310 dts 13082310 pts 13082310 dur 3600 len 7379 err 1)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13066785 pts 13066785 dur 1920 len 349 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13068705 pts 13068705 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13070625 pts 13070625 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13072545 pts 13072545 dur 1920 len 349 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13074465 pts 13074465 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13076385 pts 13076385 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13078305 pts 13078305 dur 1920 len 349 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13080225 pts 13080225 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: vparam 01: w=1920 h=1080 d=3600 (old w=1920 h=1080 d=3600 meta=0)
2018-12-12 19:27:52.370 [ TRACE]:parser: deliver (pkt stream 1 H264 type P pcr 13019310 dts 13086000 pts 13086000 dur 3600 len 4033 err 0)
2018-12-12 19:27:52.370 [ TRACE]:mpegts: input IPTV #1 got 131036 bytes
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: bat: Disney Junior in IPTV: PID 0011 CC error 0 != 11
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: sdt: Disney Junior in IPTV: PID 0011 CC error 0 != 11
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: pat: Disney Junior in IPTV: PID 0000 CC error 0 != 3
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: pmt: Disney Junior in IPTV: PID 1000 CC error 0 != 3
2018-12-12 19:28:16.409 [ INFO]:subscription: 000B: "xxxxxxxxxxxxxx [ kodi | Kodi Media Center ]" unsubscribing from "Disney Junior", hostname="xxxxxxxxxxxxxxx", username="kodi", client="Kodi Media Center"
Updated by T Pedersen almost 6 years ago
running Tvheadend 4.3-1687~g7fdc6f054 and seems to be fixed on this version, or I havent experienced any stalling this past week with the following stream profile (pass);
restart on error: enable
rewrite service id : 1 (standard setting)
and enabled rewrites for PMT,PAT,SDT,NIT & EIT. (standard setting)
also I`ve rerouted the logging to /var/log/tvheadend.log instead of standard syslog.
Had earlier also a ffmpeg fork for my IPTV for this issue but not needed anymore, also swaptimes (5-10 seconds) is slower with this option.
btw, remember to set the correct service id when creating network, usually its "1". mine was.
neil mac wrote:
Hi All,
I am seeing my IPTV freeze pretty often, its fixes by stopping and starting the channel and so the stream.
I am hoping this could be better handed in tvheaded and so drop/restart the channel.
Thanks
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 0011 cc err 0 != 11
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 0000 cc err 0 != 3
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 1000 cc err 0 != 3
2018-12-12 19:27:52.369 [ TRACE]:mpegts: Disney Junior in IPTV: pid 0100 cc err 0 != 1
2018-12-12 19:27:52.369 [WARNING]:TS: IPTV/Disney Junior/Service01: H264 @ #256 Continuity counter error (total 1)
2018-12-12 19:27:52.369 [ TRACE]:parser: vparam 01: w=1920 h=1080 d=3600 (old w=1920 h=1080 d=3600 meta=0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 1 H264 type P pcr 13019310 dts 13082310 pts 13082310 dur 3600 len 7379 err 1)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13066785 pts 13066785 dur 1920 len 349 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13068705 pts 13068705 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13070625 pts 13070625 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13072545 pts 13072545 dur 1920 len 349 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13074465 pts 13074465 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13076385 pts 13076385 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13078305 pts 13078305 dur 1920 len 349 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: deliver (pkt stream 2 AAC-LATM pcr 13019310 dts 13080225 pts 13080225 dur 1920 len 348 err 0)
2018-12-12 19:27:52.369 [ TRACE]:parser: vparam 01: w=1920 h=1080 d=3600 (old w=1920 h=1080 d=3600 meta=0)
2018-12-12 19:27:52.370 [ TRACE]:parser: deliver (pkt stream 1 H264 type P pcr 13019310 dts 13086000 pts 13086000 dur 3600 len 4033 err 0)
2018-12-12 19:27:52.370 [ TRACE]:mpegts: input IPTV #1 got 131036 bytes
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: bat: Disney Junior in IPTV: PID 0011 CC error 0 != 11
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: sdt: Disney Junior in IPTV: PID 0011 CC error 0 != 11
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: pat: Disney Junior in IPTV: PID 0000 CC error 0 != 3
2018-12-12 19:27:52.371 [ DEBUG]:tbl-base: pmt: Disney Junior in IPTV: PID 1000 CC error 0 != 3
2018-12-12 19:28:16.409 [ INFO]:subscription: 000B: "xxxxxxxxxxxxxx [ kodi | Kodi Media Center ]" unsubscribing from "Disney Junior", hostname="xxxxxxxxxxxxxxx", username="kodi", client="Kodi Media Center"
Updated by saen acro almost 6 years ago
When TVH rewrite on PASS profile
stream cannot start on iptv STB's
https://tvheadend.org/issues/5418
https://tvheadend.org/issues/5062
Updated by T Pedersen almost 6 years ago
saen acro wrote:
When TVH rewrite on PASS profile
stream cannot start on iptv STB's
https://tvheadend.org/issues/5418
https://tvheadend.org/issues/5062
ok, only tested with native http client for android tv. (Dreamplayer for tvheadend)
maybe something must be done on clientplayer side then..
Updated by Jaroslav Kysela almost 6 years ago
saen acro wrote:
When TVH rewrite on PASS profile
stream cannot start on iptv STB's
https://tvheadend.org/issues/5418
https://tvheadend.org/issues/5062
It's not relevant. Both bugs are for EIT data - it has nothing to do with the A/V streams. It looks like a player issue.
Updated by saen acro almost 6 years ago
Jaroslav Kysela wrote:
It's not relevant. Both bugs are for EIT data - it has nothing to do with the A/V streams. It looks like a player issue.
And on final only one super compatible player can be used.
When only rewrite EIT, stream is not compatible with infomir iptv stb's
black screen and only sound.
Why when use mumudvb rewrite functions all is OK?
Updated by Jaroslav Kysela almost 6 years ago
saen acro wrote:
Jaroslav Kysela wrote:
It's not relevant. Both bugs are for EIT data - it has nothing to do with the A/V streams. It looks like a player issue.
And on final only one super compatible player can be used.
When only rewrite EIT, stream is not compatible with infomir iptv stb's
black screen and only sound.Why when use mumudvb rewrite functions all is OK?
Ok, then some little piece is missing, but we need to know which one. The PAT/PMT/SDT tables should be fine.