New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recordings video/audio stutter #186
Comments
|
You need to enable debug logging and post a new (preferably complete) log. Did this start happening recently? Can you try an older version? |
|
I also have this exact problem! http://forum.kodi.tv/showthread.php?tid=259646 I'll try to provide some more information this weekend. What kind of logging do you need? From kodi or from the tvheadend server? Or is it possible to enable debug logging in the kodi extension? |
|
Please provide both a debug log from Kodi and a debug log from tvheadend for the same timeframe. |
|
Here's some logging from my system: http://pastebin.com/zbMcXFUz My tvheadend backend is an Ubuntu 15.10 server in the basement, with a DVB-S2 card and tvheadend 4.1-1533 My frontend is a Intel NUC5i3 with Ubuntu 15.10, kodi 16.0 Unfortenately when playing a recording through the kodi add-on through htsp there was no logging from tvheadend even though i enabled debug logging! |
|
Could you try enabling trace debugging from the addon settings? |
|
Trace debugging was enabled in the addon settings! |
|
Can you post the full log in that case? You must also enable debug logging in Kodi itself. |
|
OK, I had'nt enabled debug logging in Kodi itself... I will do that and post new logs! |
|
Here is a complete log from starting kodi with debug logging enabled. The first thing i did was going to TV->Recordings and started playing a HD recording for 10-15 seconds before stopping it. It was stuttering the entire playback time. |
|
Do you have sufficient information now or can I help with some more? |
|
I have the same problem. Playing a recording via the "recordings"-menu makes the CPU go wild (100% usage for Kodi) and causes stuttering, while playing the same file over a network share goes fine and while playing live-tv also is no problem. |
|
The addon in Kodi 14.2 used an internal buffer when playing recordings. This buffer was removed at some point because it caused other issues. Any chance you're streaming over wifi or something? |
|
Yes, temporarily I am even streaming over WAN... I understand I am pushing the limits :) |
|
This is still occuring for me with a cabled 1gbps connection on LAN. |
|
@Xstasy do SD recordings work? You only mentioned HD in the original post |
|
Same for me. Gb LAN HD shutters. |
|
@Jalle19 Yes, I do not have issues with SD recordings. |
|
Same issue, have another thread on the forum But in my case I have problem with SD as well. CPU usage in way higher when trying to watch records. it comes up to 16% (4 cores) |
|
Today I noticed something interesting. When I use the IOS App TvhClient and choose to play my recordings through my kodi client (which magically shows up along with VLC etc in the app) the recordings play with no problems at all! No stutter at all and I can skip forward and rewind, pause... Everything just works! Is Kodi accessing the recording with another method when the IOS App is playing it? Edit: When the recording is playing i assumed Kodi is accessing the TVHeadend server directly? Maybe I'm wrong... is it the app that streams the recording to kodi? |
|
I have an assumption that tvhclient accesses it by http on 9981 port and kodi does it on 9982 via htsp protocol. I have no problems with http streaming. |
|
@mhlund can you disable VDPAU acceleration in Kodi, it doesn't work on your hardware anyway? |
|
@Jalle19 sorry for not responding earlier... I've been on a long trip and had vacation... You're correct that VDPAU acceleration does'nt work on my hardware, so I've had VAAPI-acceleration enabled. I've now tried with all hardware acceleration disabled in Kodi, and it makes no difference. The stuttering is still exactly as before! |
|
Any progress on this as I'm seeing the exact same issue. I did have similar judder on live TV, but changing the deinterlacing mode fixed that, unfortunately there doesn't seem to be an option to choose the deinterlacing mode whilst playing back recordings? |
|
The option to force deinterlacing on was recently removed, but if you have the option for live TV you should have it for recordings as well. |
|
Update: for me the problem is solved since I moved the tvheadend server from a remote WAN-location to an in-home LAN-connection. I no longer have 100% CPU-usage and recordings don't stutter anymore. Nothing else in my setup has changed, so it must have something to do with the network connection (buffering probably). |
|
My tvheadend server and two kodi-pvr-hts clients sit on the same gigabit ethernet network and my kodi clients have no problem playing full HD content from a NFS share on the same server. As I have stated before my kodi clients does not have problem streaming live TV from the same tvheadend server. The problem with stuttering is only with recordings. |
|
Same issue here, I'm currently in the same country as my server is and tv records are working without stutter. At the same time, trying watching from another country brings lots of stutter. TV is working fine all the time from any point. |
|
Recordings are played differently than live TV. Practically all decisions about buffering etc. are made by Kodi, not by tvheadend nor this addon. I'm inclined to think this is something that must be fixed in Kodi instead, but I'm not sure where to even start looking. |
|
I tried Kodi 17 Beta 1 to investigate if the brand new dvdplayer code would make any difference, but the xbmc repos kodi-pvr-hts (3.4.7-1~xenial) does'nt work with my tvheadend server at all now... |
which version is your tvheadeend server? 3.x is no longer supported by pvr.hts. You need 4.0.x or 4.1.x |
|
A restart of my server solved the general problem with tvheadend and I'm back on square 1.... I'm running: |
|
The problem with stuttering HD recordings (or any kind of recordings, given the latency to the server is high enough) has been reported but a fix probably won't be around for some time: http://trac.kodi.tv/ticket/16915. The only option would be to re-introduce the buffer we used to have in the addon but that again caused a lot of other weird issues, e.g. slow skipping in recordings, very sketchy rewinding/fastforwarding etc. We can maybe do it but I'm not very keen on it. I'm closing this for, please trac the ticket I linked instead. |
Using tvheadend Tvheadend 4.1-1451~gf074688 and Kodi Jarvis RC2 with plugin version 2.2.12
Playing recordings (HD) gives stutter in video/audio. Same TS file is fine when played through network share in Kodi or with VLC.
Kodi Log:
https://xstasy.gbps.io/paste/VoMMvN
The text was updated successfully, but these errors were encountered: