Nice! Were the clouds on the last framing moving fast when you shoot? What fps did you use when smoothing with gmic?
Thx! The last time-lapse @1:24 is very rapid cloud movement: a mixed/squall front preceding the much larger storm which has drenched us near Mt Hamilton with 6 seconds between exposures. Between each frame there are 4 fade inter-frames from
gmic -fade_files capture*.jpg,4,0,-1,1,outputB.jpg . Then the video was created at 60fps in ffmpeg.
I forgot to mention the audio was copied to the video with
ffmpeg -i ~/Desktop/timelapses/567.mkv -i ~/Desktop/meows.wav -c copy -map 0:v -map 1:a ~/Desktop/567-a.mkv
Humm… maybe I’m missing some math here.
I took 420 frames of a sunset and there were some low, near clouds that were moving fast.
I cross faded with 10 inter frames and stitch them togheter at 50 fps with ffmpeg, but there were still hicups on those clouds movement.
I’m now doing the cross fade again with 30 inter frames.
By your result, it seems that I’m overdoing it…
PS: I’m using the same syntax as you, both in gmic and ffmpeg.
PS2: Forgot to mention: the lapse between frames during capture was 10 seconds.
By my math, which is guesstimation, you want the result somewhat near displaying ~20 shots per second, with interframe fades. With a few fades in between shots, I used 4, I found I could get by simulating motion a little bit slower that is smoothed by the fades at a higher framerate. For longer distances like 10sec
-morph_files might be worth a try also.
gmic -morph_files capture*.jpg,4,0.1,4,0,-1,1,output.jpg
Cheers for taking in all of the feedback including the feline foley. It is getting better with each iteration. I noticed some line artifacts about 30s in. I wonder what those are.
That could be it. The frame was too fast and blurry for me to discern.
I ended up using this
gmic -morph_files IMG*.JPG,13,0.5,4,0,-1,1,gmic/IMG.jpg
and it didn’t perform very well, strange distortions.
I’ll keep the crossfade version as the best one:
Nice. I like how the buildings light up at the end.
… thanks to a Lua intervalometer script that CHDK allows to load and execute. While shooting, it also adjusts exposure and focus accordingly.
Indeed. Look at that:
Looks like the camera was refocusing inbetween…
Could be. Actually didn’t think one iota of the reason why.
Snow melting w/audio from pure data patch.
conversion to format compatible with the sony setop/bluray units.
ffmpeg -i input.mkv -c:v libx264 -level 41 -pix_fmt yuv420p -preset medium -crf 19 -g 24 -vf setsar=sar=1/1 -threads 8 -x264opts bluray-compat=1:vbv-bufsize=15000:vbv-maxrate=30000 -c:a ac3 -strict experimental -ar 48000 -ab 256k -y output.mkv
If you catch the beginning in HD you’ll see a herd of cattle climbing the hilltop.
This scene is closer to what one would expect from a time lapse than your earlier attempts. I like the audio this time. I hear stereo (with my dirt cheap drug store earphones) or is there more than that?
Yes there was a left channel and right channel instance of this effect, known in some parts as a sound tunnel or tunneling. This example is a feedback-delay with the buffer readback size constantly ramped by a sawtooth. In this case, the positive phase sawtooth causes the downward frequency shift, whereas a negative sawtooth phase causes the pitch to rise. The channels have different sawtooth frequencies, causing a nice stereo image with polyrhythms given a single input.