Buffering shots to a circular-ram buffer, save on demand? (possible?) - Script Writing - CHDK Forum  

Buffering shots to a circular-ram buffer, save on demand? (possible?)

  • 4 Replies
  • 4357 Views
*

Offline RyeBrye

  • **
  • 73
  • SD-870
Advertisements
I was thinking about another cool feature which would be to have the camera be able to be in continuous mode taking the highest-quality-possible shots very rapidly, but keeping them in some kind of circular buffer and only saving them when you hit a button indicating you want to save them...

So for something like the "birthday cake candles" you could just fire up that script and no matter how long people blab on and on or sing - once the birthday-boy has blown on the candles you can just hit a button and it will write out all of the pictures in the buffer.

I would be fine if the script would write to the card - and constantly delete the unused ones - but card-writing is such a bottleneck. It also seems that the scripting engine has no idea what the file names are of the images that are getting shot (does it not have access to the camera's internal counter variable?)

In any case - how hard would it be to do something like this feature in a script? I take it that it would probably require some tweaks to the CHDK source to implement?

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Buffering shots to a circular-ram buffer, save on demand? (possible?)
« Reply #1 on: 30 / March / 2008, 18:00:19 »
but card-writing is such a bottleneck.
I would say - no. If you do not shoot in RAW, the most of recent produced cards have enough speed to save JPEGs in continues mode.

It also seems that the scripting engine has no idea what the file names are of the images that are getting shot...
Scripting engine - no. But CHDK itself knows that.
CHDK Developer.

*

Offline mkmenuts

  • **
  • 61
  • SD700 (1.01b)
Re: Buffering shots to a circular-ram buffer, save on demand? (possible?)
« Reply #2 on: 31 / March / 2008, 04:35:14 »
Quote
If you do not shoot in RAW, the most of recent produced cards have enough speed to save JPEGs in continues mode.

True, but a large enough buffer (~10MB, camera dependant) will allow almost zero blackout by saving the RAW+JPEG in the background.

Re: Buffering shots to a circular-ram buffer, save on demand? (possible?)
« Reply #3 on: 31 / March / 2008, 07:28:53 »
Deleted
« Last Edit: 22 / April / 2008, 15:40:02 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye


*

Offline mkmenuts

  • **
  • 61
  • SD700 (1.01b)
Re: Buffering shots to a circular-ram buffer, save on demand? (possible?)
« Reply #4 on: 31 / March / 2008, 11:51:31 »
Quote
solder in more memory into the camera

I was thinking along the lines of reusing the buffers the camera must be using in video/burst modes to improve single shot mode (with RAW).

However I cannot find anything in IDA - Greater powers are needed  ;)

mkmenuts

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal