HDR for time lapse videos - CHDK Releases - CHDK Forum  

HDR for time lapse videos

  • 5 Replies
  • 4271 Views
HDR for time lapse videos
« on: 10 / July / 2013, 02:38:54 »
Advertisements
Hello

i have a canon s100 with chdk.

In the next days, i go to the sahara dessert. In this time i want to do HDR pictures for time lapse videos. Mostly it is in the evening till night.

How can i do this with my camera?

Im new at chdk. Can anybody help me with that?

thank you in advance

Re: HDR for time lapse videos
« Reply #1 on: 10 / July / 2013, 22:08:47 »
Creating HDR images and combining them into a time lapse videos sounds like an easy job.  But after as few minutes searching,  I was not able to find a script that does exactly that  ( i.e. repeatedly take images at several exposure settings).

A simple script to do this is not hard - but you will need to combine the HDR images individually on your PC prior to creating a timelapse video from them.

Unfortunately,  I can't take the time to create and test such a script for a couple of days.  When are you leaving?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: HDR for time lapse videos
« Reply #2 on: 10 / July / 2013, 23:31:06 »
Im leaving tomorrow. But maybe i have internet in the hotel.

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: HDR for time lapse videos
« Reply #3 on: 11 / July / 2013, 06:00:23 »
In principle, any time lapse script: Time lapse script + Bracketing in Continuous Mode + Custom Timer

tadeus makes the same request in the German CHDK forum. But he has not searched in the script collection. There is a very old time lapse script with an ev bracketing option from the early Lua days: http://forum.chdk-treff.de/viewtopic.php?p=6442#p6442

msl
CHDK-DE:  CHDK-DE links


Re: HDR for time lapse videos
« Reply #4 on: 11 / July / 2013, 18:57:27 »
Okay,  this is simple but should do what you want.  Tested on my G10.

Save this file as hdr_interval.lua of download from the link below.

Code: [Select]
--[[
@title HDR Intervalometer
@param t Time between shots (sec)
@default t 10
@range t 1 60
@param f HDR 1/2 stop range
@default f 4
@range f 1 8
@param i Images (0=infinite)
@default i 0
@range i 0 10000
--]]
print("started ..")
image=1

repeat
    start = get_tick_count()
    print("image",image,"normal")
    shoot()
    set_aflock(1)
    av=get_av96()
    sv=get_sv96()
    tv=get_tv96()
    print("image",image,"bright")
    set_tv96_direct(tv-(f*48))
    set_sv96(sv)
    set_av96(av)
    shoot()
    print("image",image,"dark")
    set_tv96_direct(tv+(f+48))
    set_sv96(sv)
    set_av96(av)
    shoot()
    set_aflock(0)
    image=image+1
    slp=t*1000 - (get_tick_count() - start)
    print("shots left=", image, "sleep=",slp)
    sleep(slp)
until ( image > i )

print("...done")
Ported :   A1200    SD940   G10    Powershot N    G16

Re: HDR for time lapse videos
« Reply #5 on: 11 / July / 2013, 23:03:56 »
In principle, any time lapse script: Time lapse script + Bracketing in Continuous Mode + Custom Timer
I've never been much of a fan of this approach vs a script. It will produce the HDR images with less delay between shots.  However, with a script you just press the shutter and it runs.  With bracketing in continuous mode, there are a lot of menu steps and entries, in both the CHDK and Canon menus, necessary to setup it up to work properly. And in continuous mode you hold down the shutter and the camera shoots as fast as it can. However, with a script, to take exactly three shots (or five) you need to do some script tricks to count exposures.

Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics