My guess is that the person took a number of time lapse still shots. Say that variable is "l". To get the star trails, one needs to create a composite of a number of shots. Say that variable is "m". To run for "s" seconds, one needs say 25 * s composites. This is needed so that the frames do not look jumpy - jumping the whole length of the star trail...
Since it ran for 5 sec, we need 125 composites.
Since each composite is made up of "m" shots; if "m" = 5; composite 1 is made up of shots 1,2,3,4 and 5; composite 2 made up of shots 2,3,4,5 and 6 and so on till composite 125 is made up of shots 125, 126, 127, 128, 129 and 130. So "l" becomes 130. Now string the composites in a video editor and that should do it...
May be there is a simpler way though...