I've been photographing my house relocation over the last year or two (photographs every 30 minutes in daytime, or 10 minutes when something interesting is going on). But I've been struggling to find something that can handle putting it together as a timelapse video.
Even though my camera is mounted to a house, it moves both in the wind and throughout the day (presumably because of heat/sunlight on the mount). So the resulting video is jerky, and the images need aligning.
There is a lot of stuff out there for panorama stitching, but very little for timelapse aligning. Fortunately, some of them can do both.
I downloaded the Hugin tools, and PTGui, and AutopanoPro (trial versions) to see what they'd do. Autopano simply couldn't handle it, either dying when a hundred images are loaded or claiming that it'd finished but failing to do a decent job of the alignment.
I have 10,000 photos (3kx2k) so far, and will have more before we're finished, so performance was an issue.
Experimenting with 100 images to start with, Hugin got a good result but took an age (an hour or more) to provide it. It compares every photo with every other, so increasing the number of photographs increases the time geometrically. If you have forever, or a small number of photos, it will probably do the job though.
PTGui (trial), however, did the 100 photos in a couple of minutes. I thought it had failed, but it had done a pretty good job. Maxed out retina iMac. Was using 8 threads some of the time (CPU load on 780%), but for a fair amount of the processing it is single-threaded.
I sifted through my photos in Finder (Retina iMac means you can clearly see almost 1000 finder thumbnails at a time and thin out the duff ones), and then used Automator to remove the bottom strip on each photo that contains the time and date of the photo. This bottom strip is always in the same place, so it tends to confuse aligning software as that part of the image suggests it doesn't need adjusting. I couldn't find any part of any software that allows you to mask off control points outside a certain X or Y range -- that would be a very useful feature.
The annoying element of removing the timestamps is that aligning software also puts the current time and date on its output files (of course). So if you remove the timestamps from the image too you can no longer see when the image was taken, either from its name or its file attributes. It would be very elegant if PTGui could 'touch' these images and put back the original file date/time on them.
PTGui didn't like me throwing 5000 images at it (OSX ran out of file handles for the process), but I have now settled on giving it 1000 at a time. It takes just over an hour to align these 1000 images and write them out in original size (2560x1920) at 99% jpg quality. The same time it took Hugin to do 100.
I then loaded these up into Final Cut Pro and merged them in the usual way as a compound clip of 1000 frames (by selecting the lot as an event, pressing E, then selecting all the frames and Control-D 1 Enter, then shift-Z to see the lot and create the clip. Works beautifully.
So last night I put down my money for PTGui and the release version does it fine (the trial version puts watermarks on the images).
I will load up each of the six or seven clips like this and should then be able to assemble them in FCPX (using translation as required if each group of clips isn't bang on line), and then as a final job cropping off the varying borders and rendering down to something like HD.
Just putting this out there for others looking to try this. Autopano I couldn't get to handle this job, PTGui did it perfectly (for 79 euros), Hugin would probably do the job but take forever.
Even though my camera is mounted to a house, it moves both in the wind and throughout the day (presumably because of heat/sunlight on the mount). So the resulting video is jerky, and the images need aligning.
There is a lot of stuff out there for panorama stitching, but very little for timelapse aligning. Fortunately, some of them can do both.
I downloaded the Hugin tools, and PTGui, and AutopanoPro (trial versions) to see what they'd do. Autopano simply couldn't handle it, either dying when a hundred images are loaded or claiming that it'd finished but failing to do a decent job of the alignment.
I have 10,000 photos (3kx2k) so far, and will have more before we're finished, so performance was an issue.
Experimenting with 100 images to start with, Hugin got a good result but took an age (an hour or more) to provide it. It compares every photo with every other, so increasing the number of photographs increases the time geometrically. If you have forever, or a small number of photos, it will probably do the job though.
PTGui (trial), however, did the 100 photos in a couple of minutes. I thought it had failed, but it had done a pretty good job. Maxed out retina iMac. Was using 8 threads some of the time (CPU load on 780%), but for a fair amount of the processing it is single-threaded.
I sifted through my photos in Finder (Retina iMac means you can clearly see almost 1000 finder thumbnails at a time and thin out the duff ones), and then used Automator to remove the bottom strip on each photo that contains the time and date of the photo. This bottom strip is always in the same place, so it tends to confuse aligning software as that part of the image suggests it doesn't need adjusting. I couldn't find any part of any software that allows you to mask off control points outside a certain X or Y range -- that would be a very useful feature.
The annoying element of removing the timestamps is that aligning software also puts the current time and date on its output files (of course). So if you remove the timestamps from the image too you can no longer see when the image was taken, either from its name or its file attributes. It would be very elegant if PTGui could 'touch' these images and put back the original file date/time on them.
PTGui didn't like me throwing 5000 images at it (OSX ran out of file handles for the process), but I have now settled on giving it 1000 at a time. It takes just over an hour to align these 1000 images and write them out in original size (2560x1920) at 99% jpg quality. The same time it took Hugin to do 100.
I then loaded these up into Final Cut Pro and merged them in the usual way as a compound clip of 1000 frames (by selecting the lot as an event, pressing E, then selecting all the frames and Control-D 1 Enter, then shift-Z to see the lot and create the clip. Works beautifully.
So last night I put down my money for PTGui and the release version does it fine (the trial version puts watermarks on the images).
I will load up each of the six or seven clips like this and should then be able to assemble them in FCPX (using translation as required if each group of clips isn't bang on line), and then as a final job cropping off the varying borders and rendering down to something like HD.
Just putting this out there for others looking to try this. Autopano I couldn't get to handle this job, PTGui did it perfectly (for 79 euros), Hugin would probably do the job but take forever.