goprowifihack icon indicating copy to clipboard operation
goprowifihack copied to clipboard

Time Lapse photography

Open BigAloz opened this issue 7 years ago • 2 comments

Thanks for this excellent API.

I haven't been able to work out how to set up a record time lapse photographs.

Basically I want to do the following.

  1. Connect to goPro via wifi (this is fine)
  2. programmatically start recording photos (not video) at a predefined time
    • eventually I will have multiple cameras that I want to synchronize
  3. Continue taking images every 5 seconds
  4. Manually stop when finished (this part is trivial)

This is for an underwater project where the gopro(s) will be on a rov. So the wifi setup is only possible during initialization and wifi control (and manual control) will be lost once the GoPro is underwater.

Any advice will be much appreciated

Alan Buchanan

BigAloz avatar Mar 15 '18 06:03 BigAloz

GoPro cameras have timelapse feature, so you can do something like:


from goprocam import GoProCamera, constants
gopro = GoProCamera.GoPro()

def start():
    gopro.gpControlSet(constants.Multishot.TIMELAPSE_INTERVAL, constants.Multishot.TimeLapseInterval.I5)
    gopro.mode(constants.Mode.MultiShotMode, constants.Mode.SubMode.MultiShot.TimeLapse)
    gopro.shutter(constants.start)

def stop():
    gopro.shutter(constants.stop)

#Run start() to set up the camera to take a picture every 5 seconds
#Run stop() to stop the timelapse once the WiFi is available on the surface

KonradIT avatar Mar 27 '18 14:03 KonradIT

Hi. Is it possible to get the GoPro to have a greater interval of 1 min between photos? The standard max time on the timelapse feature is only 1 min? Could this be set much greater in the region of 10-20mins? I had looked at building an Intervalometer, but that bit advanced for me. For the occasional long timelapse I do I dont want to purchase something like this [BlinkX] (https://cam-do.com/products/blinkx-time-lapse-camera-controller-for-gopro-hero5-6-7-8-cameras) which is $400 :(. Thanks in advance.

ashleyg155 avatar Jan 04 '20 23:01 ashleyg155