2020-01-26, 03:37
I've been seeing a recurring issue in Kodi on Windows clients (independent of hardware) where a given WTV file will play to a certain point and then glitch, and Kodi will jump ahead to a later part in the recording, then continue to play. When it happens, the playback position on the seek bar will turn *negative*, breaking accurate backward and forward seeking. The only way to correct it is to stop playback and play the recording again, often by skipping *just* past the point where the glitch happens in the particular recording, or it will tend to re-occur. That said, it doesn't *always* re-occur at the same point, but often does. It happens pretty often to me, say a few times a week on recordings.
I want to say it's been happening more frequently since Kodi 18, but I can't say for sure. I've seen it both when using the PVR WMC addon for playback *and* when playing the recordings directly through the main Videos section, so it's not specific to the PVR WMC add-on. Sometimes it will glitch on the add-on, but then the same position *won't* glitch when directly played from Videos, so it's not consistent or easily reproducible. A theory is that it's an issue with Kodi's error handling of the WTV format when some frames are lost over the network? Maybe Kodi runs into small errors in WTV TV recordings and doesn't have good logic to handle these? You'd hope that error handling could still work around this sort of error.
Anyway, I don't have clear steps to reproduce, nor do I have any useful logs. I'm just putting this out there so maybe someone else can confirm the issue.
Configuration: Server is a low-end Windows 10 netbook, with the recordings stored on a USB 3.0 external drive, and the server is wired over Ethernet to the router. The client computers access the recordings wirelessly. The files are recorded with WMC from OTA TV.
Next time I see it happen, I guess I could try moving one of these recordings to a thumb drive to test on a Kodi client locally, but given that it doesn't always happen even on the same file, I suspect it's not necessarily file corruption or even TV signal corruption, but dropped frames over the network?
I considered testing the ServerWMC setting "remux the playback of all wtv files" to see if it might help, but my ServerWMC machine just isn't powerful enough to handle this in real-time, even when putting the remux share on an SSD and experimenting with the RemuxRecoverTime_MS setting. Obviously, remuxing/converting the files to another format would probably workaround the issue, but this would be very time-intensive.
Thanks!
I want to say it's been happening more frequently since Kodi 18, but I can't say for sure. I've seen it both when using the PVR WMC addon for playback *and* when playing the recordings directly through the main Videos section, so it's not specific to the PVR WMC add-on. Sometimes it will glitch on the add-on, but then the same position *won't* glitch when directly played from Videos, so it's not consistent or easily reproducible. A theory is that it's an issue with Kodi's error handling of the WTV format when some frames are lost over the network? Maybe Kodi runs into small errors in WTV TV recordings and doesn't have good logic to handle these? You'd hope that error handling could still work around this sort of error.
Anyway, I don't have clear steps to reproduce, nor do I have any useful logs. I'm just putting this out there so maybe someone else can confirm the issue.
Configuration: Server is a low-end Windows 10 netbook, with the recordings stored on a USB 3.0 external drive, and the server is wired over Ethernet to the router. The client computers access the recordings wirelessly. The files are recorded with WMC from OTA TV.
Next time I see it happen, I guess I could try moving one of these recordings to a thumb drive to test on a Kodi client locally, but given that it doesn't always happen even on the same file, I suspect it's not necessarily file corruption or even TV signal corruption, but dropped frames over the network?
I considered testing the ServerWMC setting "remux the playback of all wtv files" to see if it might help, but my ServerWMC machine just isn't powerful enough to handle this in real-time, even when putting the remux share on an SSD and experimenting with the RemuxRecoverTime_MS setting. Obviously, remuxing/converting the files to another format would probably workaround the issue, but this would be very time-intensive.
Thanks!