For a school project my daughter is involved in, we’re asked to “show that the stars move in the sky” in a video. It’s easy to make a timelapse and see the stars moving across the sky in the video. It’s also easy to do a still photo with star trails, by stacking each individual shot.
But I’d like to try a composite of both, in which the video starts with pin point stars, and the star trails are added gradually.
I saw a reference on the internet about ImageMagick and the use of “-compose lighten” to get incrementally blended images, but my scripting skills are not good enough.
I’m sure some IM/script guru here can give me some tips!
Here’s a version of the still image with the star trails. I wanted to take advantage of being in Venice for vacations, and having access to a rooftop balcony with a view on San Marco. Indeed, it’s from the top of the San Marco campanile that Galileo made a demonstration of his astronomical telescope, made with Murano glass lenses. Using his telescope, Galileo made a number of observations on the movement of astronomical bodies, which led him to support Copernic’s idea that that the earth is not the center of the universe, and that it probably revolves around the sun, as well other planets. I thought it would make a nice educational video!
Just do a ‘normal’ stack in StarStax, but tell it to save the intermediary frames and then take those frames in Shotcut (or any other video editor) and make your timelapse.
This is a small project for a 10 years old child. When I saw that the teacher asked to show that stars move in the sky, of course I thought about the whole story (Galileo, and some others before him).
But in fact, just fixing the stars and seeing the earth rotate doesn’t give a proof that the earth rotates. It’s just changing the referential. You need to examine the differential movements of the other planets to see that their trajectories are not simple circles. And I think that one of the main observations of Galileo in this regard, is the observation of the Venus phases, which could not be explained easily by the planet revolving around the earth, and that it had to revolve around the sun instead.
I wrote a lousy batch script for windows cmd (and I added commands to autodetect the first file name):
@echo off
for %%F in (*.jpg) do (
set firstfile=%%F
goto first
)
:first
echo "%firstfile%"
mkdir tmp
copy %firstfile% tmp\base.jpg
for %%f in (*.jpg) do (
@echo %%f
convert tmp\base.jpg %%f -compose lighten -composite tmp\base.jpg
copy tmp\base.jpg tmp\Composite-%%f
)
del tmp\base.jpg && del firstfile
I would suggest taking a look at MoviePy, User Guide — MoviePy 1.0.2 documentation, which is a python library to hide the complexity of using FFMPEG. With it and a couple of minutes in GIMP you could:
Create a horizon mask so as to avoid over exposing the buildings
Have a number of seconds of the first frame, (possibly with a title overlay for some of it).
Then have a growing stack of frames combine until you get the desired length of trail. Possibly modifying the colour &/or brightness of the stars from the “older” images in each frame.
Continue with the stack size combined into a frame until you run out of frames.
MoviePy is of course cross platform & free/open source.