Ultimate Intervalometer - a script for shooting over a long duration - v4.9 - page 41 - Completed and Working Scripts - CHDK Forum  

Ultimate Intervalometer - a script for shooting over a long duration - v4.9

  • 651 Replies
  • 228527 Views
*

Offline reyalp

  • ******
  • 14098
Advertisements
The zero length file trick (if it works) will require manual SD card cleanup when the script is done to get rid of all the bogus files.
It would be relatively easy to make the script delete dummy (0 size or tiny) files while in playback mode when it's done or it goes into night mode. Not saying you should do it that way, just an option.

Obvious down side is that people could end up with dummy files if they end the script early etc.
Quote
  And the really small valid jpg option means the user has to copy two files onto his camera correctly (script + jpg) - unless the jpg data is small enough to store in an initialized array and thus travel with the script.
An all black, 640x480, low quality jpeg from my d10 is ~13kb, which is pretty large, and would be larger as an escaped string. Could go much smaller if it doesn't need to be a camera jpeg, but not clear if it would work.

Quote
So I'm leaning towards the "only delete in playback mode" option.  Simple to code and probably the most reliable.  However, it will require the user to set the lens retract delay in the Canon menu to something other than zero to minimize wear & tear on the lens assembly.
Not ideal, but I don't see much better options. Unless you fix the underlying bug ;)
Don't forget what the H stands for.

You could try replacing the jpegs with 0 byte files, e.g f=io.open(filename,"wb") ; f:close()
I tried this tonight.  Changing to playback works well when a jpeg is deleted and a new file of 0 byte with the same name is created.  Crashes if they are simply deleted and not replaced.

Quote
Another option would be to only do the deleting in playback mode. AFAIK switching to and from record is fine if the deleting is done in playback.
This works too.  As long as the lens is not set to retract automatically it works quite well.

« Last Edit: 13 / July / 2016, 22:27:11 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Updated to 4.4 at the usual link.

Now supports optionally deleting the oldest images from the current script run when the SD card space falls below space for 10 images.  Deletes the oldest five images each time card space falls below 10 images.

Note that the camera's image numbering sequence should be set to Continuous in the Canon menu.   Also,  the Lens Retract Delay should not be set to 0 sec as the script switched the camera into playback mode when deleting files (to avoid the crashes mentioned in the previous posts in this thread).   If the Lens Retract delay is set to 0 sec this will cause excessive wear and tear on the lens mechanism.
Ported :   A1200    SD940   G10    Powershot N    G16

Hi - I am new to using CHDK (did use MagicLantern a bit before).

While running CHDK / Ultimate Intervalometer on my PowerShot S90, no methods of screen blanking are working for me.  I have tried "LCD" "DispKey", "PlayKey"

I do have image review turned off in my PowerShot S90 settings.

Any other options I can try?  I'd like to extend batter life during timelapses.  Thanks!

Dave
Denville, NJ
http://flickr.com/davidraymond


While running CHDK / Ultimate Intervalometer on my PowerShot S90, no methods of screen blanking are working for me.  I have tried "LCD" "DispKey", "PlayKey"
Seem unusual - the script has been downloaded over 4000 times so if there was a problem with the S90 (a popular camera) we would have had reports by now.

Please attach the log file created by the script (ULTIMATE.LOG) to a post here and I'll take a look.  You'll find it in the top level folder on your SD card.

(Note : the script does not disable the LCD until 60 seconds after the script has started.  That gives you a little time to make sure everything is running as expected.)
Ported :   A1200    SD940   G10    Powershot N    G16

Thanks for the reply, I may not have been patient enough and waited 60 seconds for it to kick in.  Will retry soon.  I did load the KAP Exposure Control and was able to turn off the LCD quickly which seems great.  Now I just need to get outside and do some shooting, I may try to do some "hyperlapses" from my kayak.

Much appreciated,

Dave
Denville, NJ
http://facebook.com/daveblinderphotography

Now I just need to get outside and do some shooting, I may try to do some "hyperlapses" from my kayak.
FWIW :

ultimate.lua was built for shooting over long durations (weeks or months) and has special features for that application like dawn & dusk calculation, periodic camera restarts and removal of old files when the SDcard fills.

kap_uav.lua was done to allow fine control over the exposure used for each shot.  This lets you get the fastest possible shutter speeds to avoid blurred images while limiting the ISO settings used to a range you specify.   It also can be setup to shoot faster than ultimate.lua - which makes for better timelapse videos.

You probably want to experiment with kap_uav.lua for your application.

This might be of interest (he used his own script) : Whanganui River Journey: A Great Paddle, February 16-20, 2015
Ported :   A1200    SD940   G10    Powershot N    G16

Thanks for the insight very helpful.  I don't plan on setting up any timelapses longer than 3 hours right now, although I could see some great projects w/ long durations.

Keeping water droplets and condensation off the lens while kayaking is certainly a challenge (might be impossible).  I have the dive housing for my S90 but I think it can be prone to fogging up, honestly might work better underwater for timelapses.

Here's a basic timelapse off my Lumix G6 last year, very convenient to have it built it the menu.  I plan on doing some multicamera timelapse setups this year to culminate into a New Jersey Nature project and I see the S90 being useful for that.



I might have a related issue (same issue?) with regards to deleting files.

My current setup is a a solar/battery remote timelapse running with:
  • Canon S90, firmware 1.01a
  • CHDK
  • Flashair W-03 16GB SD card
  • Ultimate Intervalometer 4.4, pic every 5m, both RAW and JPG
  • raspberry pi
My question is regarding deleting files from the camera.  Is it safe to do at all?  From reading the latest posts, and the last update to the Ultimate Intervalometer 4.4 (thank you!), it sounds like it's probably not safe to do.

Prior to finding this forum thread, my python script would connect to the flashair card, download the latest files and then delete them from the card, but that would result in some files not actually getting deleted, and when the script went to re-download them, they would be size 48180 for some reason.  I ended up reformatting the SD card, because the script kept saying the card was full even though it wasn't (corrupted FAT?)

The SD card is only formatted to 4GB since the S90 is made prior to 2009, so the card gets pretty full (about a day and a half).

What is going to be the safest way to delete files off of the card?  Should I just let the Ultimate Intervalometer script delete the oldest 10 images?  Or is there a better way to delete/zero out files safely?

Thanks in advance!

From reading the latest posts, and the last update to the Ultimate Intervalometer 4.4 (thank you!), it sounds like it's probably not safe to do.
Where does it say it's not safe?  Or did you mean to say that it is safe to do so?

Quote
Prior to finding this forum thread, my python script would connect to the flashair card, download the latest files and then delete them from the card, but that would result in some files not actually getting deleted, and when the script went to re-download them, they would be size 48180 for some reason.  I ended up reformatting the SD card, because the script kept saying the card was full even though it wasn't (corrupted FAT?)
Hard to say what happened here.  Maybe an issue with timing on the Flashair card and your Python script? Did you retry the test after reformatting the card?

Quote
The SD card is only formatted to 4GB since the S90 is made prior to 2009, so the card gets pretty full (about a day and a half).
You can configure your SD card with two partitions to get around that but I don't know if this will cause issues with the Wifi functionality of the Flashair card.  There were several conversations about this on other threads but I don't believe there was a conclusion.

Quote
What is going to be the safest way to delete files off of the card?  Should I just let the Ultimate Intervalometer script delete the oldest 10 images?  Or is there a better way to delete/zero out files safely?
Well,  I think you've discovered the two choices.  I ran the script when I was testing it for a couple of weeks and it happily deleted the oldest image each time it ran out of room.   However, I need to take a look at fixing what happens when the folder number hits 999_xxxx as indicated here :  Re: Spy Lantern Surveillance Camera

Also, the script does not currently delete any RAW images so your card is going to fill up if you are saving both RAW and JPG.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal