2020-11-06, 15:59
I had been using Libreelec with Kodi since January on my Raspberry Pi 3 without any problem, with my films and tv shows stored in an external HDD with its own power supply. A month ago I've installed Jellyfin server on the same Pi via the Docker Kodi addon, getting the image from jellyfin/jellyfin. Since streaming videos to my laptop seemed to work so well, I've decided to install the Jellyfin plugin in Kodi on the Pi as well — basically having server and client on the same machine.
I've managed to set it up in native mode, meaning that Kodi accesses the film directly from the HDD, but syncs its metadata with Jellyfin. Indeed if I open the Chorus web interface and open the metadata for a film, it will show its local path (namely /media/HDD/Some Film/Some.Film.mkv). So far so good.
Unfortunately I'm noticing occasional stuttering when playing videos that wasn't there before. This seem to correspond to points with sudden movement on screen, which makes me think that they happen when there's a sudden increase in bitrate. On the other hand, it doesn't seem to be affected by the average bitrate of the video: an 8Mbps WEB-DL will stutter just as much as a 20Mbps encode, both doing so in action-heavy scenes.
Mind you, this lasts for a fraction of a second. To put it more clearly, it feels like every 10-20 minutes a handful of consecutive frames is dropped.
I've disabled the setting in Jellyfin that would otherwise have it sync metadata during playback, and it seems that it is indeed doing so. You can see that at the end of the logs I've posted below: Jellyfin synced data when I started watching an episode (2020-11-06 12:53), and again when I stopped the same episode halfway through (2020-11-06 13:06), but doesn't try to do anything inbetween. Hence I can only think that the culprit must be Kodi, which however was working just fine before.
Let me know if you need any more detail.
Kodi log: https://pastebin.com/1jNZaxCC
Jellyfin log: https://pastebin.com/zC6tL0sb
I've managed to set it up in native mode, meaning that Kodi accesses the film directly from the HDD, but syncs its metadata with Jellyfin. Indeed if I open the Chorus web interface and open the metadata for a film, it will show its local path (namely /media/HDD/Some Film/Some.Film.mkv). So far so good.
Unfortunately I'm noticing occasional stuttering when playing videos that wasn't there before. This seem to correspond to points with sudden movement on screen, which makes me think that they happen when there's a sudden increase in bitrate. On the other hand, it doesn't seem to be affected by the average bitrate of the video: an 8Mbps WEB-DL will stutter just as much as a 20Mbps encode, both doing so in action-heavy scenes.
Mind you, this lasts for a fraction of a second. To put it more clearly, it feels like every 10-20 minutes a handful of consecutive frames is dropped.
I've disabled the setting in Jellyfin that would otherwise have it sync metadata during playback, and it seems that it is indeed doing so. You can see that at the end of the logs I've posted below: Jellyfin synced data when I started watching an episode (2020-11-06 12:53), and again when I stopped the same episode halfway through (2020-11-06 13:06), but doesn't try to do anything inbetween. Hence I can only think that the culprit must be Kodi, which however was working just fine before.
Let me know if you need any more detail.
Kodi log: https://pastebin.com/1jNZaxCC
Jellyfin log: https://pastebin.com/zC6tL0sb