Hi. I just discovered an odd problem related to the v21 upgrade. I have a few MKV files (3 that I've identified so far) that no longer display chapters. The chapters are
there, but when playing with Kodi v21 it acts like there are no chapters; no chapters are displayed in the bookmarks menu, and Up/Down skip by 10 minutes.
I'm sure this is an issue with v21 specifically because if I revert back to 20.0.5, the chapters load/function correctly as expected.
Here's a
complete debug log where I launch Kodi, play one of the affected videos, then quit. You can see in the debug file that chapters are reported by the metadata printed by ffmpeg beginning at line 1655.
Code:
2024-07-02 00:44:17.331 T:2744 debug <general>: GetExternalStreamDetailsFromFilename - Language = '' / Name = '(External)' / Flag = '0' from /home/media/data/videos/Performances/Distant Worlds/Returning Home/Returning Home.mkv
2024-07-02 00:44:17.331 T:2744 info <general>: Skipped 1 duplicate messages..
2024-07-02 00:44:17.331 T:2744 warning <general>: underflow: Error reading file - assuming eof
2024-07-02 00:44:17.331 T:2744 info <general>: Skipped 1 duplicate messages..
Those lines appear when reading files exhibiting the problem; they do not for files that load correctly. Error reading file sounds like maybe it could be due to some kind of corrupt file, but I'm as confident as I can be that's not the case - these are my own rips transcoded with handbrake. Everything else (including Kodi 20.0.5) plays them fine.
Before I confirmed that older Kodi plays them fine I explored that corrupt file angle more... I tried using mkvextract and mkvmerge to extract the chapters, strip them from the original file, then mux a new file with the chapters re-attached. I'm able to do all of that fine, but still get the same result with 21.0.
The only other thing I can think to mention that
might be related is that my videos are on an NFS share, which I mount through Linux rather than Kodi itself. I really don't think that should matter for this, but I found other comments about caching changes introduced in v21 causing odd problems with CIFS shares.
Any ideas?
What other info can I provide to help with troubleshooting?