Remaining RAW+JPG shots + filespace icon/text- done :D - page 14 - General Discussion and Assistance - CHDK Forum supplierdeeply

Remaining RAW+JPG shots + filespace icon/text- done :D

  • 175 Replies
  • 63877 Views
*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Calculation of remaining shots with RAW - done :D
« Reply #130 on: 16 / February / 2008, 15:43:28 »
Advertisements
Whoah ! Fast and furious. So this one is based on #301, right ?
What about your previous diff (Phyrephoc+Jucifer) is that also in
here ?

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
Re: Calculation of remaining shots with RAW - done :D
« Reply #131 on: 16 / February / 2008, 16:02:16 »
Yep, based on 301, will(?) also patch 300, files to be patched haven't changed since 300. Should contain pretty much all previous changes (and then some).

P.S. My mad coding-skillz are currently limited to understanding-a-bit and copy-pasting (hmm, might be even more...), so there may or may not be problems with the code.

P.P.S. It's getting close to midnight, I'll stop yapping now. :]
« Last Edit: 16 / February / 2008, 16:23:43 by Jucifer »

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Calculation of remaining shots with RAW - done :D
« Reply #132 on: 16 / February / 2008, 16:33:20 »
I'll check into it, but it takes time ... GuessI'll eventually have to get svn set up,
with the turnover speeds on this threads it's impossible to keep up otherwise  :haha

thanks


*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Calculation of remaining shots with RAW - done :D
« Reply #133 on: 16 / February / 2008, 18:21:13 »
note2: to avoid interaction problems I'm forced to wait until your/Jucifer's mods are committed.
huh? committed to where?
Quote
PS: idea for video time left:
Code: [Select]
// pseudo-code snippet for calc time left

if (video_recording_started) {
    original_space = GetFreeCardSpaceKb();
    original_time = get_current_time();

    while(video_recording) {
        space_eaten = original_space - GetFreeCardSpaceKb();
        time_elapsed = get_current_time() - original_time;

        avg_use = space_eaten / time_elapsed; // Kb/sec

        time_left = GetFreeCardSpaceKb() / avg_use
    }
}
:)
looks promising. this really can be done! way to go :)


Quote
About filespace icon, I think this shape makes sense (smaller one woudn't be of any use) and I had in mind something similar. Although I don't need it, tried switching it on .... but camera started behaving strangely when I tried to record a movie clip, counter didn't move from 0 sec, I couldn't switch it off etc ... maybe a bug, maybe cfg file got trashed somehow, I don't know ... tryed opening battery tray several times, switching on / off, but camera remained in this condition, so I had to copy old cfg file from PC. Strange. But doesn't matter to me, I don't need a filespace icon anyway, so this build is ok for me
hm, are you sure you deleted the cfg file? dont know if this is having to do with the new functions we introduced. can you post a step by step procedure so we can reproduce this bug? what camera do you have?

Quote
Yep, based on 301, will(?) also patch 300, files to be patched haven't changed since 300. Should contain pretty much all previous changes (and then some).

P.S. My mad coding-skillz are currently limited to understanding-a-bit and copy-pasting (hmm, might be even more...), so there may or may not be problems with the code.
cool, thanks. that means i can checkout rev. 301 and use your provided diff and i'd have all our changes in it? nice.i just set up my svn so i can use it on the road as well via ssh. i will test it, and then use that as the base for further enhancements.

Quote
I'll check into it, but it takes time ... GuessI'll eventually have to get svn set up,
with the turnover speeds on this threads it's impossible to keep up otherwise
when properly set up, svn rocks your socks! took me some time to configure it on my linux box, but eventually i figured it out. now i not only use it for chdk, but for other code, letters, all sorts of important non-binary data. and with the svn+ssh feature you'd have your code or data anywhere in the world without having to carry around your harddrive :)

guys, thanks for your help and input, great pleasure to work with you :)
what are the next steps? i consider the raw and the other icons done. are there any suggestions regarding the just mentioned functions?
only thing left to do in that department is the remaining video function. then code cleaning. and commenting. and then off to official trunk.
then off to the next project. this thread is getting huuuuge. :D
         

by the way, there seems to be a bug @ "show osd in review mode". it doesnt work. this isnt our fault as far as i can tell.
« Last Edit: 16 / February / 2008, 18:31:38 by PhyrePhoX »


Re: Calculation of remaining shots with RAW - done :D
« Reply #134 on: 16 / February / 2008, 22:17:22 »
Deleted
« Last Edit: 22 / April / 2008, 11:10: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 Wilson

  • *
  • 8
  • *float*
    • death by vanilla
Re: Calculation of remaining shots with RAW - done :D
« Reply #135 on: 17 / February / 2008, 03:29:03 »
PhyrePhoX, whim

Tryed last build ... after all I really don't need raw indicator in video mode, filespace indicator is enough, so I must agree ... it's better to leave it this way. Satisfied

Just an idea, when you half-press the shutter in photo mode, big Canon's jpeg counter disappears, so it doesn't cover the picture on LCD and you can compose/recompose the picture better. Maybe raw and filespace indicators could also be hidden at half-press ? But filespace indicator should be on during video recording, like Canon's minute_second counter
The realtime filespace counter gave me an idea; would it be possible to display the estimated remaining record time while recording in video mode, based on your current video settings?
- Wilson

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
Re: Calculation of remaining shots with RAW - done :D
« Reply #136 on: 17 / February / 2008, 04:07:26 »
Should 1/3EV-selectable tv override be committed to official trunk or not? Poll?
Could both methods co-exist? That is, can a menu entry be dynamic: shown or not, depending on a variable?
Of course entries for both could be visible all time, and one has priority over the other... but.

*

Offline vit40

  • ****
  • 276
Re: Calculation of remaining shots with RAW - done :D
« Reply #137 on: 17 / February / 2008, 04:17:58 »

Quote
About filespace icon, I think this shape makes sense (smaller one woudn't be of any use) and I had in mind something similar. Although I don't need it, tried switching it on .... but camera started behaving strangely when I tried to record a movie clip, counter didn't move from 0 sec, I couldn't switch it off etc ... maybe a bug, maybe cfg file got trashed somehow, I don't know ... tryed opening battery tray several times, switching on / off, but camera remained in this condition, so I had to copy old cfg file from PC. Strange. But doesn't matter to me, I don't need a filespace icon anyway, so this build is ok for me

hm, are you sure you deleted the cfg file? dont know if this is having to do with the new functions we introduced. can you post a step by step procedure so we can reproduce this bug? what camera do you have?

A620. Tryed enabling filespace icon again now (yesterday's build) and as soon as I did that, something got wrong (even in photo mode). Can't go into alt mode anymore, can't switch off the camera, except by opening batery tray, but even after switching it on again, it's the same. I will have to return a copy of cfg file from PC again, can't find other way out from this
« Last Edit: 17 / February / 2008, 04:19:39 by vit40 »


*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Calculation of remaining shots with RAW - done :D
« Reply #138 on: 17 / February / 2008, 04:28:01 »
I think, this topic is not a "Feature request" anymore, as there is an implementation. ;)
CHDK Developer.

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
Re: Calculation of remaining shots with RAW - done :D
« Reply #139 on: 17 / February / 2008, 06:11:19 »
...against 302...

...a few unnecessary lines...

...but should be ok.

 

Related Topics