Seamless Loop repeating a short video in OSMC

Hello all,

I am trying to loop one video that last around 10 seconds. I am looping it using OSMC, and I notice that there is systematically a freeze between the end of the video and the restarting of it, of around 1/10th of a second or so. If we make an animation (e.g. with a character that moves continuously) that is supposed to be looping, this delay is immediately visible and it is not seamless.

Is there a way in osmc to prevent that lag? I noticed some players optimize such loop by buffering in advance the next video, or simply not deleting / re-caching the video file when looping on a single file. Is that possible here?

We are repeating the video using the following json command (repeat parameter is set to “one”):

{ 
	"jsonrpc": "2.0", "method": "Player.SetRepeat", "params": 
	{
		"playerid": 1,
		"repeat": "one" 
	}
	, "id": 1 
}

Thanks,

Hi,

What platform are you running osmc on?

Thanks Tom.

It runs on a Raspberry Pi 3 B+.

This question has come up numerous times in regard to using OSMC as display signage. I’m pretty sure that this is a Kodi limitation that has never been solved, but I’m also of the mind that OSMC/Kodi is the wrong tool for such a task.

Have you tried something like https://pisignage.com/ ?

Hi,

ActionA beat me to it, I was about to suggest there are alternatives to kodi that may be better suited for this task.

If you wish to continue with kodi, please provide some logs:

https://osmc.tv/wiki/general/how-to-submit-a-useful-support-request/

Thanks Tom.

https://discourse.osmc.tv/search?q=loop%20video

The first link here seems to link a tool that could be useful.