To give you a headstart:
With spline duration set to 5s and Speed of 1, a single loop should take 5 seconds regardless of framerate:
If you need more control over the movement, do look into Timelines.