Raspi, a webcam and a beautiful day.steemCreated with Sketch.

in timelapse •  7 years ago 

I am setting up a raspberry pi to capture the erection of a building going up near my apartment. Today I shot almost a full day's worth before the pi's 8gb SD card filled up stopped recording.

I used a simple bash script to capture a photo, sleep for 5 seconds then capture again. It takes about 5 seconds to take each frame, as it basically turns the camera on and off each time it takes the shot so I get around 1 image every 10 seconds.

I still have a bunch of tweaking to do and will likely run the frames though a deflickering filter for the final video, but for now I am just using ffmpeg to stitch the raw photos into a 60fps video. (the following command)

ffmpeg -r 60 -f image2 -s 1920x1080 -i frame%06d.jpg -vcodec libx264 -crf 25  -pix_fmt yuv420p output-60fps.mp4

I posted the day's results on youtube so you all can take a gander.

/koad

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Looks really cool. Look forward to see it completed.
It will be one hell of an erection!

  ·  7 years ago (edited)

I see you found a use for your raspberry pi. If you want it to shoot continuously you should create a network share and have it save images to your local network storage.

Congratulations @koad! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honnor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Congratulations @koad! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

Carnival Challenge - Here are the winners
Vote for @Steemitboard as a witness to get one more award and increased upvotes!