Project

General

Profile

Kodi freeze when zapping

Added by Christian Bast over 9 years ago

Hi!

I want to use Kodi and Tvheadend to watch live TV. Here is my setup:

Backend:
Cubietruck with TVHeadend 4.1-347~gecbb176 under CubianX; 2 x DVB-S2 TeVii S660 USB

Frontend:
Raspberry PI 2 with OpenElec 5.0.8 with TVHeadEnd-Plugin
Both connected with Gigabit LAN. No more Clients.

When zapping through the channels via Kodi, Kodi will freeze after a time. I've tested it also with a Windows-Kodi-version. I will have to restart Kodi AND Tvheadend.

Where can I look to find the error (I'm not a Linux-freak)?

Christian

P.S. I also need to restart the Tvheadend-servide every two or so days, because the load rises and TVHE will not respond.


Replies (4)

RE: Kodi freeze when zapping - Added by Christian Bast over 9 years ago

I updated to version tvheadend_4.1-363~gf632da3 with no effect.

But know I found error messages in the syslog, so that it is clear, that the error is on the server-side:

Aug  5 22:12:21 CubianX tvheadend[3398]: mpegts: 11508.5V in Astra - tuning on Montage Technology DS3000/TS2020 : DVB-S #0 
Aug  5 22:12:22 CubianX tvheadend[3398]: subscription: 00D6: "192.168.0.5 [ tv | XBMC Media Center ]" subscribing on channel "Al Jazeera English", weight: 150, adapter: "Montage Technology DS3000/TS2020 : DVB-S #0", network: "Astra", mux: "11508.5V", provider: "GlobeCast", service: "Al Jazeera English", profile="htsp", hostname="192.168.0.5", username="tv", client="XBMC Media Center" 
Aug  5 22:12:23 CubianX tvheadend[3398]: subscription: 00D6: "192.168.0.5 [ tv | XBMC Media Center ]" unsubscribing from "Al Jazeera English", hostname="192.168.0.5", username="tv", client="XBMC Media Center" 
Aug  5 22:12:23 CubianX tvheadend[3398]: mpegts: 12187.5H in Astra - tuning on Montage Technology DS3000/TS2020 : DVB-S #0 
Aug  5 22:12:24 CubianX tvheadend[3398]: subscription: 00D7: "192.168.0.5 [ tv | XBMC Media Center ]" subscribing on channel "n-tv", weight: 150, adapter: "Montage Technology DS3000/TS2020 : DVB-S #0", network: "Astra", mux: "12187.5H", provider: "RTL World", service: "n-tv", profile="htsp", hostname="192.168.0.5", username="tv", client="XBMC Media Center" 
Aug  5 22:12:25 CubianX tvheadend[3398]: tot: 12187.5H in Astra: invalid checksum (len 8, errors 1) 
Aug  5 22:12:26 CubianX tvheadend[3398]: linuxdvb: Montage Technology DS3000/TS2020 : DVB-S #0 - retune 
Aug  5 22:12:26 CubianX tvheadend[3398]: subscription: 00D7: "192.168.0.5 [ tv | XBMC Media Center ]" unsubscribing from "n-tv", hostname="192.168.0.5", username="tv", client="XBMC Media Center" 
Aug  5 22:12:26 CubianX tvheadend[3398]: mpegts: 12662.75H in Astra - tuning on Montage Technology DS3000/TS2020 : DVB-S #0 
Aug  5 22:12:26 CubianX tvheadend[3398]: subscription: 00D8: "192.168.0.5 [ tv | XBMC Media Center ]" subscribing on channel "Welt der Wunder", weight: 150, adapter: "Montage Technology DS3000/TS2020 : DVB-S #0", network: "Astra", mux: "12662.75H", provider: "-", service: "Welt der Wunder", profile="htsp", hostname="192.168.0.5", username="tv", client="XBMC Media Center" 
Aug  5 22:12:28 CubianX tvheadend[3398]: subscription: 00D8: "192.168.0.5 [ tv | XBMC Media Center ]" unsubscribing from "Welt der Wunder", hostname="192.168.0.5", username="tv", client="XBMC Media Center" 
Aug  5 22:12:28 CubianX tvheadend[3398]: mpegts: 11582.25H in Astra - tuning on Montage Technology DS3000/TS2020 : DVB-S #0 
Aug  5 22:12:28 CubianX tvheadend[3398]: subscription: 00D9: "192.168.0.5 [ tv | XBMC Media Center ]" subscribing on channel "PHOENIX HD", weight: 150, adapter: "Montage Technology DS3000/TS2020 : DVB-S #0", network: "Astra", mux: "11582.25H", provider: "ARD", service: "PHOENIX HD", profile="htsp", hostname="192.168.0.5", username="tv", client="XBMC Media Center" 
Aug  5 22:12:33 CubianX tvheadend[3398]: mpegts: 11611.75H in Astra - scan timed out 
Aug  5 22:12:33 CubianX tvheadend[3398]: subscription: 00CC: "scan" unsubscribing 
Aug  5 22:12:33 CubianX tvheadend[3398]: mpegts: 12265.5H in Astra - tuning on Montage Technology DS3000/TS2020 : DVB-S #0 
Aug  5 22:12:33 CubianX tvheadend[3398]: TS: Astra/11582.25H/PHOENIX HD Transport error indicator (total 1) 
Aug  5 22:12:33 CubianX tvheadend[3398]: TS: Astra/11582.25H/PHOENIX HD: H264 @ #5261 Continuity counter error (total 1) 
Aug  5 22:12:33 CubianX tvheadend[3398]: TS: Astra/11582.25H/PHOENIX HD: TELETEXT @ #5264 Continuity counter error (total 1) 
Aug  5 22:12:33 CubianX tvheadend[3398]: subscription: 00DA: "scan" subscribing to mux "12265.5H", weight: 5, adapter: "Montage Technology DS3000/TS2020 : DVB-S #0", network: "Astra", service: "Raw PID Subscription" 
Aug  5 22:12:33 CubianX tvheadend[3398]: TS: Astra/11582.25H/PHOENIX HD: MPEG2AUDIO @ #5262 Continuity counter error (total 1) 
Aug  5 22:12:33 CubianX tvheadend[3398]: TS: Astra/11582.25H/PHOENIX HD: MPEG2AUDIO @ #5263 Continuity counter error (total 1) 
Aug  5 22:12:33 CubianX tvheadend[3398]: tot: 12265.5H in Astra: invalid checksum (len 8, errors 1) 
Aug  5 22:12:33 CubianX tvheadend[3398]: TS: Astra/11582.25H/PHOENIX HD: H264 @ #5261 Corrupted PES header (errors 1) 
Aug  5 22:12:34 CubianX tvheadend[3398]: eit: 11582.25H in Astra: invalid checksum (len 764, errors 1) 
Aug  5 22:12:34 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = -536310741, last = 554771 
Aug  5 22:12:34 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = 561971, last = -536310741 
Aug  5 22:12:34 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = 332227, last = 590771 
Aug  5 22:12:34 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = 596171, last = 332227 
Aug  5 22:12:35 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = -443405, last = 603371 
Aug  5 22:12:35 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = 606971, last = -443405 
Aug  5 22:12:35 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = 656379, last = 662771 
Aug  5 22:12:35 CubianX tvheadend[3398]: parser: transport stream TELETEXT, DTS discontinuity. DTS = 558038, last = 578206 
Aug  5 22:12:36 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = 2792323, last = 693371 
Aug  5 22:12:36 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = 696971, last = 2792323 
Aug  5 22:12:36 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = 2839123, last = 732971 
Aug  5 22:12:36 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = 745571, last = 2839123 
Aug  5 22:12:36 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = -16006445, last = 763571 
Aug  5 22:12:36 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = 774371, last = -16006445 
Aug  5 22:12:37 CubianX tvheadend[3398]: parser: transport stream TELETEXT, DTS discontinuity. DTS = 697006, last = 558038 
Aug  5 22:12:38 CubianX tvheadend[3398]: parser: transport stream H264, DTS discontinuity. DTS = 909187, last = 91477

The Tvheadend-process was terminated so that I have to start it manually again.
Can someone find out, what happened? And how to fix?

Christian

RE: Kodi freeze when zapping - Added by Max M about 9 years ago

I'm also using the same tvcard tevii s660 on my pi2, I'm experiencing the same continuity errors on some channels.
Most visible when tuning to servustv hd.
When I was using the tvcard on x86_64 machine everything was fine.

See my ticket https://tvheadend.org/issues/3063

did you find a solution?
I don't know if its tvcard/rpi2/openelec/... problem.

RE: Kodi freeze when zapping - Added by Mark Clarkstone about 9 years ago

Max Muster wrote:

I'm also using the same tvcard tevii s660 on my pi2, I'm experiencing the same continuity errors on some channels.
Most visible when tuning to servustv hd.
When I was using the tvcard on x86_64 machine everything was fine.

See my ticket https://tvheadend.org/issues/3063

did you find a solution?
I don't know if its tvcard/rpi2/openelec/... problem.

It's a bandwidth issue on the Pi, remember the Pi only has one usb bus that it shares between USB ports & Ethernet & this can get swamped easily. I've tried to stream a complete mux & it glitches like crazy (using a Technisat Skystar), however if I stream just one service it works fine. So unless the RPi foundation upgrade the Pi's Ethernet & add more buses you're stuck :(.

RE: Kodi freeze when zapping - Added by Max M about 9 years ago

What's interesting.
When I set deinterlacing to mmal-half in video settings, there are just very rare discontinuities and no visible artefacts.

EDIT: When I open stream with vlc there are also no discontinuities.

    (1-4/4)