G+_Victoria Holowiski Posted May 2, 2014 Share Posted May 2, 2014 Looking for some advice on a huge timeplapse project. I have a raspberry pi with a camera that's been in my window for a few months taking pictures every minute. I have 68K 6MB photos right now. I'm planning on having it run for a year, so I'll have a few 100K photos by the end. I'm using FFMpeg to turn them in to a video, and I have two things I need to figure out... I'm running raspbian, I do have imagemagick installed Any way I can automatically detect images (PNG) that are almost completely black (night) and delete them? (there are 10's of thousands and night is boring). Once this is done, there will be gaps in the sequence (images are numbed 00000.png - 99999.png and ffmpeg expects sequential numbers) - any suggestion on how to re-number them? This automation is critical, as I will have hundreds of thousands of images to process by the end. Right now it's taking ffmpeg about 4 hours to do the 68K existing ones. Thanks for any help! I'll be sure to post the video when it's ready!! Link to comment Share on other sites More sharing options...
G+_610GARAGE Posted May 2, 2014 Share Posted May 2, 2014 I don't know if this would be any help to you now, but could you use a light sensor, so if the light drops down below a certain threshold, the pi pauses the time lapse. You could also do this by time of day. https://www.sparkfun.com/products/9088 Link to comment Share on other sites More sharing options...
Recommended Posts