0

I am trying to create a hyperlapse and I'm following a certain method that is mentioned in this post:

http://blog.planet5d.com/2016/03/time-warp-saigon-with-the-dji-osmo/

So if you now want it to look like you shot an image every 4 seconds, you have to take 2 seconds of video and blend the frames to form a single exposure.

I created a script that extracts out the images from each frame of the video via ffmpeg. Now, I'm trying to create a single blended image from each 2 seconds of video which was shot at 30fps. I have tried imagemagick but the results are ok. There is quite a bit of ghosting going on along with some other artifacts.

Here is the command I used:

convert frame*.jpg -evaluate-sequence mean output_file

I've also tried the median option but it came out even worse. Not sure if it works well if the camera is not fixed in one position.

I'm wondering if there are other options out there for blending images together. Am I on the right track with imagemagick?

Here is an example of a blended photo that has the green lights (from people carrying light sticks) that stays consistent throughout much of the video and ghosting on the left hand side.

Note: I am using the same gimbal as shown in the video.

enter image description here

2
  • Can you post some images to show what you mean by 'ghosting' and 'other artefacts'?
    – stib
    Commented Dec 13, 2016 at 0:17
  • Since the ghosts must have been walking towards you they're moving relatively fast in the frame, so they're only in one frame in each position. That's kinda the nature of timelapse. You could remove them if there was some way of doing a statistical analysis of the pixels in the combined images and discarding the outliers, or you could avoid them by shooting at a much higher frame rate so that there are enough frames of the fast moving people to blend into a smooth blur. How high the frame rate would need to be would depend on the situation.
    – stib
    Commented Dec 14, 2016 at 1:00

1 Answer 1

1

'Not sure if it works well if the camera is not fixed in one position.'

Correct. If you're doing time-lapse you need to have the camera stabilised somehow, or it's going to look wobbly AF. If the camera is moving in real time, then when you speed it up it will be moving 30 times as fast, so something that might look like a slow pan turns into a whip pan.

If you average out 30 frames then you're going to see partial exposures of everything in those frames, which means if something is moving rapidly you'll get a semi transparent 'ghost' of it - the less frames it is in, the more transparent it will appear.

The reason that video works well is that they're using an electronic gimbal to stabilise the camera—that's what they're showing off. Even though the frame is constantly moving there's enough that is consistent across the whole second to achieve a sharp frame, and the camera motion is stable enough that when it's sped up it's still fluid.

2
  • I should have added that I have the same gimbal. I guess I could improve the stability. I just wanted to make sure that my process is ok.
    – Allen Liu
    Commented Dec 13, 2016 at 0:29
  • As a still image that looks all right to me. Given that you're doing timelapse people expect things like the ghosts. It's the content that makes timelapse interesting.
    – stib
    Commented Dec 14, 2016 at 1:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.