I’ve been using OSMC on a Raspberry Pi 4B for some years now.
Over the last 2 years the system started being extremely slow to load videos and would sometimes fail when opening videos. Since a week or so it has stopped playing videos from my server (using the Jellyfin plugin) completely. Streaming videos (Youtube) play fine (although still slow to load).
Because of the slow issues I figured it might be an SD card corruption. I reformatted the SD card and re-installed OSMC from the official installer choosing to keep the OS on a USB stick that’s connected to the Pi. Before doing this I copied the .kodi folder to my homeserver and then moved it back in place once the new install was set up. This (mostly) recovered my addons and skin setitngs (although the colours have reverted to default). However kodi still won’t play any videos on the server.
To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.
Depending on the used skin you have to set the settings-level to standard or higher, in summary:
enable debug logging at settings->system->logging
reboot the OSMC device twice(!)
reproduce the issue
upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A
publish the provided URL from the log set upload, here
Thanks for your understanding. We hope that we can help you get up and running again shortly.
After some more investigation it seems that it’s only HEVC videos that will no longer play.
Turning on forced transcoding in the jellyfin add-on and setting to prefer H264 doesn’t fix the issue.
From my understanding there should be no problem playing X265 video on the PI (also 10-bit)… and the video files I’m testing with were previously playing fine with this set up.