thanks boys you spanked this one out for me real quick.
all my lights are LED so it's not that - must be something else from mains.
I'm using picamera with picamera.preview() to achieve this effect with a TV screen - it's really what impresses people the most.
basically, on boot it displays a live feed from the camera on the TV through HDMI and then snaps a pic every 5 mins, uploads to my windoze computer via sftp and my 64bit i5 4790k with python spanks out 4x 1080p vids with ffmpeg showing a timelapse 2 hours @ 30 mins a sec (4 sec) - 6hrs @ 60, 12 hrs @ 60, 3 days @ 180. I'm then able to access these from anytime on my phone. Forget about doing this on a PI especially at 1080. Rock64 on the other hand is well suited for crunching these vids in under a minute and the eMMC module is perfect for it. FFMPEG is also really good in the fact that it allows you to clip together completed .mp4 files without re-encoding!!! I'll be rewriting my software to take images maybe at 5 or 10, 20 secs apart saving them to ramdisk, combining them into a mp4 every minute, or 10 minutes, whatever, for storage and reassembly later. would also be nice to hit a button to see how the plants have grown in a specific time frame.
since I'm hardheaded and want to continue using picamera I tried setting the fps to 30, no go........
Code: Select all
with picamera.PiCamera() as camera:
camera.resolution = (1920, 1080)
camera.rotation = 0
camera.framerate = 30
camera.exposure_mode = 'off'
camera.exposure_compensation = -25 #this binding doesn't do jack
#this fixes everything - since i'm in north america this is 60hz
camera.shutter_speed = 5555 #this number looked lucky... it is 1/180 sec in usec but any number divisible by 20 works 1/120 1/60 1/40 for darker areas
I just finished and it looks like it works. I'll update a new timelapse if it did