Stuttering films

  • I have a 4GB Raspberry Pi 4B connecting to my LAN over 1GB. My network is all 2.5GBE capable except for the RPi. I connect to my Windows media file storage computers no problem but I have an issue whereby after watching a film for, say, half an hour, it starts stuttering. The video starts to jerk and the audio with it. It looks like it is skipping frames and then catching up. It eventually gets to the point where it doesn't catch up. My temporary fix is to stop the film and restart where it left off whereby it usually gets to the end without further issue.

  • Have you implemented the general ideas discussed in https://wiki.libreelec.tv/configuration/4k-hdr ?

    If yes, and you're using refresh rate changing and whitelist entries correctly, you might need to experiment with the SMB chunk size in SMB client settings. I rather doubt it's network performance though, unless the switch is saturated with traffic or a bad cable/port is causing something to run at half-duplex (but unlikely, else you'd see more general issues).

  • I'm running the RPi into a 1080 TV which I only use as a monitor via HDMI which I think runs at 60fps so 4K/HDR doesn't come into it. I'm pretty certain it's not a network issue as it is fast. There would be no other traffic on the network when the RPi is in action. Incidentally I can view films directly on my TV/monitor as it is also connected over Ethernet, thus bypassing the RPi. The computing power in my TV/Monitor is nowhere near the RPi and it never stutters so my feeling is it is a setting somewhere that needs adjusting. My entire house was wired late last year with CAT6E cable throughout so there shouldn't be any problems there.

  • Go read the wiki article that I linked and implement "adjust refresh" and the whitelist as discussed there. Or at least provide a Kodi debug log that demonstrating the issue so we can see what the media properties are, and then what config (or lack thereof) forced them to be adapted to for playback, which is likely the issue.