SD1200 IS Porting Thread - page 6 - DryOS Development - CHDK Forum

SD1200 IS Porting Thread

  • 312 Replies
  • 125593 Views
Re: SD1200 IS Porting Thread
« Reply #50 on: 19 / March / 2010, 01:41:19 »
Advertisements
Um I don't know what version you are using, if you have tried to build it or what. 

If it helps, this is the version I am using in my camera right now.  I compiled it using KevB's code and added the update khazar011 found to fix the raws.  I messed with the values in an attempt to make DNG support work but otherwise I have not written any of this, just compiled and included scripts I found and used on this site. 

*

Offline tillo

  • *
  • 43
Re: SD1200 IS Porting Thread
« Reply #51 on: 19 / March / 2010, 21:59:33 »
thanks for that, I dont know if the build I'm using is the problem, now that i think of it that is haighly posible I'll try that and see if it works better.
edit: that was a great idea
it is now working and also some other scripts are going better, i should have seen this before thanks for finding it out for me.
« Last Edit: 19 / March / 2010, 22:22:00 by tillo »

Re: SD1200 IS Porting Thread
« Reply #52 on: 20 / March / 2010, 02:15:21 »
I downloaded the files from the trunk, pasted in the camera.h and the files from the platform folder.. then went on a spree of changing files with the version from KevB and just kept getting errors.  I guess there is a lot more to it than just the folder and the few files with reference to sd1200 :(

There were a few bugs I was hoping the update would fix, namely the "All raws end up in 100Canon" folder but no luck compiling :( I suppose I can experiment more but at this point I'm not sure what was changed and if its possible to merge all of kevB's work with the official CHDK trunk.  Ok it has to be possible, but it would be hard to figure out where all the work went. Although I must say he put a lot into it already.  I have no idea where all those values come from  :blink:
« Last Edit: 20 / March / 2010, 03:16:14 by awdark »

*

Offline tillo

  • *
  • 43
Re: SD1200 IS Porting Thread
« Reply #53 on: 20 / March / 2010, 22:31:11 »
do you mean that raws are not getting saved in a different folder than that of the pictures?


Re: SD1200 IS Porting Thread
« Reply #54 on: 20 / March / 2010, 22:58:28 »
Yeah, I think its a bug in CHDK
I made a new folder 101Canon so the JPG ends up in 101 and the raws are in 100Canon :(

*

Offline fe50

  • ******
  • 3132
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: SD1200 IS Porting Thread
« Reply #55 on: 21 / March / 2010, 06:40:47 »
Yeah, I think its a bug in CHDK
I made a new folder 101Canon so the JPG ends up in 101 and the raws are in 100Canon :(
A feature, not a bug ;)
--> http://chdk.wikia.com/wiki/CHDK_User_Manual#RAW_Parameters
Quote
RAW File in Dir with JPEG Enable [?] / Disable [ ]
Saves RAW files in the same folder as the JPEG files. If disabled then RAW files are always saved in the 100CANON folder.



*

Offline tillo

  • *
  • 43
Re: SD1200 IS Porting Thread
« Reply #56 on: 21 / March / 2010, 12:37:18 »
that is why I ask, i've been saving jpeg raws in the same 101 folder but now that I have been using them i think that is not really convinient for me as I am using jpeg they confuse me when about to open.
however I just disactivated raw file in dir with jpeg and it stoped saving raws in the same folder, if you can't do it backwards it would be really weird.
i also want to ask if someone was able to stop the autofocus, i think that if autofocus stops then movement triggered photos wouldn't be so slow, i am also trying to mix the codes from surveilance camera and exposure to make it more customizable, it will take me a while though, if you know anything about autofocus it would help me a lot to know.

Re: SD1200 IS Porting Thread
« Reply #57 on: 21 / March / 2010, 13:48:21 »
Haha ohh thank you ^^

I just noticed the "bad pixel removal" too and I will try that later as well, I thought it was part of the DNG support but since it is part of that for CRW I will try it.

@tillo its possible to lock the focus (half press shutter + left on dpad) or set the focus to infinity.  But as far as I know, every focus or zoom type operation causes the camera to freeze.

I think the page I got the motion script from mentioned a line "press ( "shoot_half" )" which is supposed to make it take the picture faster, I tried putting it right before shoot_full but I suppose if you try moving it to an earlier part of the script it might make a difference.  But I am not sure if it even makes a difference.


*

Offline tillo

  • *
  • 43
Re: SD1200 IS Porting Thread
« Reply #58 on: 21 / March / 2010, 18:31:12 »
Wow I didn't knew about locking the focus i may try to add the half_shoot + left on a scrip (dont knwo if i can press two keys at the same time on a scrip but will try), that of the half_shoot i also saw it on the script used to catch lightning (MD LightningA) and i have started doing weird stuff on my mixed script, as you said it freezes the camera to focus via script, I have been trying to build a script from near zero using only part of the script to motion detect and then typing directly new custimizable variables using the tv script that you posted here with the build you are using and the farthest I have gotten is before taken the picture (grids and motion detect part seems to be working) camera just freezes, maybe we need to develop a more specific build for this camera or wait untill another experienced coder does to get to do this kind of stuff.
sorry i just checked my camera again and it seems a picture was taken when it froze but i have no idea if exposure was overriden.
edit: h ave you seen that all motion scrips, even when taking photos fast, use a lot of exposure, that is why i want to mix tv and motion, i dont seem to find a way to make the expotion shorter (it would help me in taking a picture of a sakate event or some other sports) i think that happens because the only way to make the script take the photo fast is by pressing the shutter halfway down wich makes the camerra to focus again, even so it seems like slow reaction time also takes pictures with long exposures, so far i havent found a way to change that, not in the scripts or in the camera original functions, as far as I know all that happens because of the focal lenght, wich I dont seem to be able to fix in this camera (without a crash or freeze as we discussed before) so by now I am not sure what to do next.
« Last Edit: 21 / March / 2010, 19:03:07 by tillo »

Re: SD1200 IS Porting Thread
« Reply #59 on: 22 / March / 2010, 04:05:40 »
What if you start the script then press alt, do half press + left (focus lock), then do half press + up (exposure lock), then press alt to bring up the script again so you can run it with the two settings enabled?

:( yeah we really do need someone to continue the port for the camera.  Sadly this stuff is way beyond me. I am almost done with a cs degree but the low level hardware interaction with the code which makes it more difficult.  Not to mention I don't know how they get the hex values to control different aspects of the camera from the firmware dump.  If I did, I would try looking for the values such as focus, then compare it to the ones in this port.
« Last Edit: 22 / March / 2010, 04:10:43 by awdark »

 

Related Topics