I have been experiencing problems with OSMC on my Pi2 for a couple months now. Not sure when it started exactly.
The issue is that I read movies off of a Nas that works fine.
When reading from my Mac it’s fine. From the Pi (connected via Ethernet), whatever video size 480p, 720p or 1080p I get video freezes or stutters during playback. Audio is fine, but the video freezes for a second or 2 then playback continues.
I would argue the freezes are longer on bigger video sizes but am not 100% sure.
Any ideas or hints as to how to investigate this ?
Does enabling omxplayer in video/acceleration settings avoid the issue?
I assume you have “adjust refresh to match video” and “sync playback to display” enabled?
Sync playback to display was checked.
Adjust display refresh rate was off. Have turned it to Always, and will give it a try.
Note: My raspberryPI is connected to my TV though a Samsung soundbar, so I wonder if the Sync playback refresh rate thing can actually work.
Will investigate by trying the following:
Test 1: Try with Sync playback turned off, cause maybe the soundbar is the one creating problems ?
Test 2: Activate Sync playback and Adjust display refresh to always.
I only use OSMC for video files that are all stored on my NAS.
This happens on all types of files.
Usually they are .mp4 files, in the 200’ish sizes, however they can also be in .mkv 720p (and sometimes 1080p), of much larger sizes, 700ish megs, even 4gb sometimes.
Am running different tests, but since the freezes are quite random, it’s difficult to predict.
Is the Pi directly connected to the router? Is the Nas directly connected? Does the NAS support NFS? This is almost certainly an issue with your network or NAS rather than OSMC and the Pi if you are wired.
Can you copy a problematic file to the Pi (either sdcard or directly attached USB stick).
Does that have the stutter? If it does it’s a file encoding/player issue. If not it’s a network issue.
I think I have the same problem, or nearly the same. Had OSMC for about 6 months and just recently it started to freeze/stutter for 2-3 seconds.
Always used wifi but will try Wired just to be sure.
I watched a whole movie (big file, around 4Gb), with no freeze. None !
First success I would say
I turned off Adjust and Sync. And was running from NFS.
Now, maybe NFS is better over samba, however i’ve always been using samba, so has there been any samba changes, somewhere around 6 months ago that could explain this ?
i want to ask some… what codec use this file ? Xvid ? x264 ? or ? You can give some mediainfo ?
I have notify the x264 if the profile it’s higher of “HIGH@L3.1” i obtain some struttering image on my Pi2 whereas with mail@l3.0 or lower profile i never obtained problems and usually i use samba (PC-Windows <-> Pi2 by LAN and 2 routers) and all file it’s about 2GB of size.
Every 2 or 3 days… i also can suggest to you to reset your routers. i thinks this can help you to resolve some problems…
For example, I recently obtain the same exact problems only whit a specific XVID files:
Video continue to struttering and it’s unwatchable… i compare the mediainfo of this whit all my other xvid file and apparently all it’s ok (no packed bitstream or similar).
I mostly got high profile x264 mkv’s … they all run without problems, even high bitrate bluray rips run without a problem.
But indeed … i’m interested in the mediainfo of his files as well
If you need to reset your network equipment, you need to buy better stuff … i’ve had one time a problem, related to a router and replacing that one solved all the problems it caused.
I don’t really need to reset but but I do it anyway… tipically every one or two week.
Ok… check the mediainfo of this mkv… before to buy this my Pi2 i have a WD standalone players and the x264 whit profile High@L4.x not working (and it’s also indicated in the manual) for a hardware limitation.
Now on Pi2 sometime i have found some x264 whit Main@L4.0 and it’s working… i never found a file whit an higher profile over “the world of internet”
Exactly… on my previous WD Standalone this file would not be reproducible.
I never tryed this profile on my Pi2… when i need to encode some file myself i ever used the HIGH@L3.1 (many many user this profile) and i thinks it’s best choice for maintain the best compatibility also on “old” hardware standalone players…
OT
Otherwise… WOOOOW 10.000 for average bitrate… lol all file i ever watched on my Pi2 use bitrate loss to 2000 and size lower than 2GB