Jump to content

Looking for some advice on a huge timeplapse project


G+_Victoria Holowiski
 Share

Recommended Posts

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

 Share

×
×
  • Create New...