Playback in kodi freezes from tvh in openmediavault docker on rockpro64
Added by Oleg _ over 5 years ago
Version of TVHeadend?: HTS Tvheadend 4.3-1792~g466a01431
Running on what OS and version?: rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524
Package that came with the OS or something you compiled yourself?: docker linuxserver/tvheadend arm64v8-latest
Adapter/tuner chipset or make/model?: USB Realtek Semiconductor Corp. RTL2838 DVB-T
Hello,
I am having problems playing dvb-t tv channels from kodi, they start ok but they stop after short time or sometimes freeze when i try to go back within timeshift or forward, it only takes 2 minutes to reproduce. I tried playback from web and vlc and it doesn't freeze. Recording works and i can play it in kodi. I also tried disabling time shifting but it didn't help.
I also have openmediavault running in vm on esxi host which runs tvh in docker and i do not have the problems playing from kodi or timeshifting even though i am getting continuity errors as well, not sure what they mean though. I use same dvb-t tuner and cable, esxi host and rockpro64 are side by side. The only differences i can see are the hardware and docker image as it is for arm64v8 in rockpro64.
I tried enabling debugging in web ui and below is the output from vm where it is working
ug: enabled 2019-06-12 11:54:13.571 htsp: Got connection from 192.168.2.146 2019-06-12 11:54:13.583 htsp: 192.168.2.146: Welcomed client software: Kodi Media Center (HTSPv25) 2019-06-12 11:54:13.584 htsp: 192.168.2.146 [ Kodi Media Center ]: Identified as user 'kodi' 2019-06-12 11:54:13.584 htsp: 192.168.2.146 [ kodi | Kodi Media Center ]: Privileges updated 2019-06-12 11:54:28.349 mpegts: 546MHz in Irish_TV - tuning on Realtek RTL2832 (DVB-T) #0 : DVB-T #0 2019-06-12 11:54:28.349 subscription: 0004: "192.168.2.146 [ kodi | Kodi Media Center ]" subscribing on channel "RTÉ2", weight: 100, adapter: "Realtek RTL2832 (DVB-T) #0 : DVB-T #0", network: "Irish_TV", mux: "546MHz", provider: "RTÉNL", service: "RTÉ2", profile="htsp", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-12 11:54:29.667 TS: Irish_TV/546MHz/RTÉ2: H264 @ #1102 Continuity counter error (total 1) 2019-06-12 11:54:29.667 TS: Irish_TV/546MHz/RTÉ2: MPEG2AUDIO @ #1202 Continuity counter error (total 1) 2019-06-12 11:54:31.906 TS: Irish_TV/546MHz/RTÉ2: MPEG2AUDIO @ #1402 Continuity counter error (total 1) 2019-06-12 11:55:50.185 subscription: 0004: "192.168.2.146 [ kodi | Kodi Media Center ]" unsubscribing from "RTÉ2", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-12 11:55:50.209 mpegts: 570MHz in Irish_TV - tuning on Realtek RTL2832 (DVB-T) #0 : DVB-T #0 2019-06-12 11:55:50.209 subscription: 0005: "192.168.2.146 [ kodi | Kodi Media Center ]" subscribing on channel "RTÉ One", weight: 100, adapter: "Realtek RTL2832 (DVB-T) #0 : DVB-T #0", network: "Irish_TV", mux: "570MHz", provider: "RTÉNL", service: "RTÉ One", profile="htsp", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-12 11:56:32.128 TS: Irish_TV/570MHz/RTÉ One: H264 @ #2101 Continuity counter error (total 1) 2019-06-12 12:01:42.590 subscription: 0005: "192.168.2.146 [ kodi | Kodi Media Center ]" unsubscribing from "RTÉ One", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-12 12:01:42.610 mpegts: 546MHz in Irish_TV - tuning on Realtek RTL2832 (DVB-T) #0 : DVB-T #0 2019-06-12 12:01:42.612 subscription: 0006: "192.168.2.146 [ kodi | Kodi Media Center ]" subscribing on channel "RTÉ2", weight: 100, adapter: "Realtek RTL2832 (DVB-T) #0 : DVB-T #0", network: "Irish_TV", mux: "546MHz", provider: "RTÉNL", service: "RTÉ2", profile="htsp", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-12 12:01:55.098 TS: Irish_TV/546MHz/RTÉ2 Transport error indicator (total 1) 2019-06-12 12:01:55.098 TS: Irish_TV/546MHz/RTÉ2: H264 @ #1102 Continuity counter error (total 1) 2019-06-12 12:01:55.098 TS: Irish_TV/546MHz/RTÉ2: MPEG2AUDIO @ #1202 Continuity counter error (total 1) 2019-06-12 12:01:55.098 TS: Irish_TV/546MHz/RTÉ2: TELETEXT @ #1302 Continuity counter error (total 1) 2019-06-12 12:02:04.868 subscription: 0006: "192.168.2.146 [ kodi | Kodi Media Center ]" unsubscribing from "RTÉ2", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-12 12:02:04.887 mpegts: 546MHz in Irish_TV - tuning on Realtek RTL2832 (DVB-T) #0 : DVB-T #0 2019-06-12 12:02:04.889 subscription: 0007: "192.168.2.146 [ kodi | Kodi Media Center ]" subscribing on channel "2rn", weight: 100, adapter: "Realtek RTL2832 (DVB-T) #0 : DVB-T #0", network: "Irish_TV", mux: "546MHz", provider: "RTÉNL", service: "2rn", profile="htsp", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-12 12:02:06.245 TS: Irish_TV/546MHz/2rn: H264 @ #1189 Continuity counter error (total 1) 2019-06-12 12:02:06.245 TS: Irish_TV/546MHz/2rn: MPEG2AUDIO @ #1228 Continuity counter error (total 1) 2019-06-12 12:02:06.245 TS: Irish_TV/546MHz/2rn: MPEG2AUDIO @ #1489 Continuity counter error (total 1) 2019-06-12 12:02:14.184 subscription: 0007: "192.168.2.146 [ kodi | Kodi Media Center ]" unsubscribing from "2rn", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-12 12:02:14.204 mpegts: 546MHz in Irish_TV - tuning on Realtek RTL2832 (DVB-T) #0 : DVB-T #0 2019-06-12 12:02:14.204 subscription: 0008: "192.168.2.146 [ kodi | Kodi Media Center ]" subscribing on channel "RTÉ News Now", weight: 100, adapter: "Realtek RTL2832 (DVB-T) #0 : DVB-T #0", network: "Irish_TV", mux: "546MHz", provider: "RTÉNL", service: "RTÉ News Now", profile="htsp", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-12 12:02:15.527 TS: Irish_TV/546MHz/RTÉ News Now: H264 @ #1105 Continuity counter error (total 1) 2019-06-12 12:02:15.527 TS: Irish_TV/546MHz/RTÉ News Now: MPEG2AUDIO @ #1205 Continuity counter error (total 1) 2019-06-12 12:02:19.712 TS: Irish_TV/546MHz/RTÉ News Now Transport error indicator (total 1) 2019-06-12 12:04:00.000 xmltv: /usr/bin/tv_grab_file: grab /usr/bin/tv_grab_file 2019-06-12 12:04:00.001 spawn: Executing "/usr/bin/tv_grab_file" 2019-06-12 12:04:01.073 spawn: cat: '/config/data/*.xml': No such file or directory 2019-06-12 12:04:01.074 xmltv: /usr/bin/tv_grab_file: no output detected 2019-06-12 12:04:01.074 xmltv: /usr/bin/tv_grab_file: grab returned no data 2019-06-12 12:04:35.177 subscription: 0008: "192.168.2.146 [ kodi | Kodi Media Center ]" unsubscribing from "RTÉ News Now", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-12 12:04:35.196 mpegts: 546MHz in Irish_TV - tuning on Realtek RTL2832 (DVB-T) #0 : DVB-T #0 2019-06-12 12:04:35.198 subscription: 0009: "192.168.2.146 [ kodi | Kodi Media Center ]" subscribing on channel "TG4", weight: 100, adapter: "Realtek RTL2832 (DVB-T) #0 : DVB-T #0", network: "Irish_TV", mux: "546MHz", provider: "RTÉNL", service: "TG4", profile="htsp", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-12 12:04:36.485 TS: Irish_TV/546MHz/TG4: H264 @ #1104 Continuity counter error (total 1) 2019-06-12 12:04:36.485 TS: Irish_TV/546MHz/TG4: MPEG2AUDIO @ #1204 Continuity counter error (total 1) 2019-06-12 12:04:36.485 TS: Irish_TV/546MHz/TG4: TELETEXT @ #1304 Continuity counter error (total 1) 2019-06-12 12:04:43.116 TS: Irish_TV/546MHz/TG4 Transport error indicator (total 1) 2019-06-12 12:04:43.116 TS: Irish_TV/546MHz/TG4: MPEG2AUDIO @ #1404 Continuity counter error (total 1)
and below is the one from rockpro64 that is not working.
2019-06-10 02:01:59.652 htsp: 192.168.2.146: Welcomed client software: Kodi Media Center (HTSPv25) 2019-06-10 02:01:59.653 htsp: 192.168.2.146 [ Kodi Media Center ]: Identified as user 'kodi' 2019-06-10 02:01:59.653 htsp: 192.168.2.146 [ kodi | Kodi Media Center ]: Privileges updated 2019-06-10 02:02:07.249 mpegts: 546MHz in Irish_TV - tuning on Realtek RTL2832 (DVB-T) #0 : DVB-T #0 2019-06-10 02:02:07.249 subscription: 0004: "192.168.2.146 [ kodi | Kodi Media Center ]" subscribing on channel "RTÉ2", weight: 100, adapter: "Realtek RTL2832 (DVB-T) #0 : DVB-T #0", network: "Irish_TV", mux: "546MHz", provider: "RTÉNL", service: "RTÉ2", profile="htsp", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-10 02:02:08.390 TS: Irish_TV/546MHz/RTÉ2: H264 @ #1102 Continuity counter error (total 1) 2019-06-10 02:02:08.390 TS: Irish_TV/546MHz/RTÉ2: MPEG2AUDIO @ #1202 Continuity counter error (total 1) 2019-06-10 02:02:34.908 subscription: 0004: "192.168.2.146 [ kodi | Kodi Media Center ]" unsubscribing from "RTÉ2", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-10 02:02:34.912 mpegts: 570MHz in Irish_TV - tuning on Realtek RTL2832 (DVB-T) #0 : DVB-T #0 2019-06-10 02:02:34.912 subscription: 0005: "192.168.2.146 [ kodi | Kodi Media Center ]" subscribing on channel "RTÉ One", weight: 100, adapter: "Realtek RTL2832 (DVB-T) #0 : DVB-T #0", network: "Irish_TV", mux: "570MHz", provider: "RTÉNL", service: "RTÉ One", profile="htsp", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-10 02:03:38.587 TS: Irish_TV/570MHz/RTÉ One Transport error indicator (total 1) 2019-06-10 02:03:38.587 TS: Irish_TV/570MHz/RTÉ One: TELETEXT @ #2301 Continuity counter error (total 1) 2019-06-10 02:03:38.587 TS: Irish_TV/570MHz/RTÉ One: MPEG2AUDIO @ #2201 Continuity counter error (total 1) 2019-06-10 02:03:38.610 TS: Irish_TV/570MHz/RTÉ One: MPEG2AUDIO @ #2401 Continuity counter error (total 1) 2019-06-10 02:03:39.272 TS: Irish_TV/570MHz/RTÉ One: H264 @ #2101 Continuity counter error (total 1) 2019-06-10 02:05:15.378 subscription: 0005: "192.168.2.146 [ kodi | Kodi Media Center ]" unsubscribing from "RTÉ One", hostname="192.168.2.146", username="kodi", client="Kodi Media Center" 2019-06-10 02:05:20.379 htsp: 192.168.2.146 [ kodi | Kodi Media Center ]: Disconnected 2019-06-10 02:05:20.381 htsp: Got connection from 192.168.2.146 2019-06-10 02:05:20.382 htsp: 192.168.2.146: Welcomed client software: Kodi Media Center (HTSPv25) 2019-06-10 02:05:20.385 htsp: 192.168.2.146 [ Kodi Media Center ]: Identified as user 'kodi' 2019-06-10 02:05:20.385 htsp: 192.168.2.146 [ kodi | Kodi Media Center ]: Privileges updated 2019-06-10 02:05:24.433 htsp: 192.168.2.146 [ kodi | Kodi Media Center ]: Disconnected 2019-06-10 02:05:56.898 htsp: 192.168.2.146 [ kodi | Kodi Media Center ]: Write error -- Resource temporarily unavailable
I tried 4.2 and it is the same, used host networking in docker container and to rule out storage being an issue disabled timeshift and placed config files on usb drive. I ran out of ideas as to what could be the problem. Could anyone advise how to tackle this problem?
Thanks in advance