Bug #3651
Dropped frames in Kodi
0%
Description
I'm getting a lot of dropped frames when playing Live TV in Kodi. The debug log in TVHeadend shows nothing special.
The other relevant logs can be seen in this post: http://forum.kodi.tv/showthread.php?tid=231955&pid=2288583#pid2288583 .
It happens both with hardware acceleration (VAAPI) enabled and disabled.
journalctl -u tvheadend -S "today" only shows entries like:
Mar 22 15:06:47 htpc tvheadend402: mpegts: 12129V in Astra 1 - tuning on TurboSight TBS 6981 DVBS/S2 frontend : DVB-S #0
Mar 22 15:06:47 htpc tvheadend402: subscription: 0064: "epggrab" subscribing to mux "12129V", weight: 4, adapter: "TurboSight TBS 6981 DVBS/S2 frontend : DVB-S #0", n
Mar 22 15:07:10 htpc tvheadend402: subscription: 0062: "epggrab" unsubscribing
Mar 22 15:07:11 htpc tvheadend402: mpegts: 11973V in Astra 1 - tuning on TurboSight TBS 6981 DVBS/S2 frontend : DVB-S #0
Mar 22 15:07:12 htpc tvheadend402: subscription: 0066: "epggrab" subscribing to mux "11973V", weight: 4, adapter: "TurboSight TBS 6981 DVBS/S2 frontend : DVB-S #0", n
Mar 22 15:07:23 htpc tvheadend402: subscription: 0066: "epggrab" unsubscribing
Mar 22 15:07:24 htpc tvheadend402: mpegts: 11778V in Astra 1 - tuning on TurboSight TBS 6981 DVBS/S2 frontend : DVB-S #0
Mar 22 15:07:25 htpc tvheadend402: subscription: 0068: "epggrab" subscribing to mux "11778V", weight: 4, adapter: "TurboSight TBS 6981 DVBS/S2 frontend : DVB-S #0", n
Mar 22 15:08:05 htpc tvheadend402: subscription: 0068: "epggrab" unsubscribing
I also just upgraded to the latest git version.
History
Updated by B C over 8 years ago
do you see any discontinuities in the webif when playing a channel?
Updated by Stefan - over 8 years ago
B C wrote:
do you see any discontinuities in the webif when playing a channel?
No, all I see is:
2016-03-22 17:48:39.510 mpegts: 11739V in Astra 3 - tuning on TurboSight TBS 6981 DVBS/S2 frontend : DVB-S #0
2016-03-22 17:48:40.212 subscription: 007D: "127.0.0.1 [ xbmc | Kodi Media Center ]" subscribing on channel "NPO2 HD", weight: 150, adapter: "TurboSight TBS 6981 DVBS/S2 frontend : DVB-S #0", network: "Astra 3", mux: "11739V", provider: "M7 Group", service: "NPO2 HD", profile="htsp", hostname="127.0.0.1", username="xbmc", client="Kodi Media Center"
And nothing else, even with debugging enabled.
Updated by Jaroslav Kysela over 8 years ago
Have you tried vlc with this URL: 'vlc http://TVH_IP:9981/playlist?profile=matroska' ? It uses almost same code as kodi plugin, so if it works, your kodi is somewhat broken.
Updated by Stefan - over 8 years ago
I used the following link:
http://192.168.3.1:9981/play/stream/channel/1a6acb1de72a9b14f2a4593c718f8a74?title=1%20%3A%20NPO1%20HD
Seems to work fine in VLC. No dropped frames.
I thought it might have been an issue with Kodi after opening this issue. Previous versions of Kodi work fine.
I'll try to find the issue at Kodi. Thanks
Updated by Jaroslav Kysela over 8 years ago
The test should use matroska media container (?profile=matroska or add &profile=matroska to the end of your URL). If you use 'mpegts passthrough', it might not show some bugs.
Updated by Stefan - over 8 years ago
Seems this was a bug with Kodi: https://github.com/kodi-pvr/pvr.hts/issues/209
I haven't tested it yet but it should be fixed now.
Thanks.