SX260 HS Porting Thread - page 35 - DryOS Development - CHDK Forum

SX260 HS Porting Thread

  • 642 Replies
  • 223879 Views
Re: SX260 HS Porting Thread
« Reply #340 on: 30 / August / 2012, 20:21:49 »
Advertisements
I would like to share some jpeg vs dng test, done with my SX240 with your SX260 firmware running on it:D ).
Given that we have determined the cameras are the same except for the GPS chip, its time to stop pretending this is a big deal.

Quote
It needs about 6 seconds to save on the 8GB class10 SanDisk Extreme card (not exactly measured).
A little slow by CHDK standards but not unusual.

Quote
It was not easy to find a RAW converter which is capable to work with the DNGs produced by the SX240.
Why are you converting DNG files using a RAW converter ?  Most, if not all, picture software will accept DNG files just as they come out of a CHDK equipped camera.  You seem to be confused about the big differences between a DNG and RAW file.

Quote
In RawTherapee 4 and Capture One 6 there is a bad colorshift (mostly in the reds) and the jpegs look way better. Is this a general problem of all CHDK DNGs or only at the 240/260?
The jpg's have been color corrected by the Canon firmware in the camera.  If the DNG's look bad then the CAM_COLORMATRIX1 values in platform_camera.h are probably wrong.
 
Quote
But then I tried lightroom 4 demo on my mothers computer - it likes the CHDK DNGs
As expected .. see my comments above.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #341 on: 30 / August / 2012, 20:40:50 »
That is very unusual because at wide-angle the hyperfocal distance is only a few metres.
You're right! I didn't realize it was that close.
At F/3.5 I get   1,129mm zoomed out.
At F/6.8 I get 23,1519mm zoomed in.
I did a short sunset time lapse last night,  letting the script set it to hyperfocal distance (1.129 m). There was a lot of dust and haze in the air, but it seemed to work pretty well. The best part was not having to think about focusing while rushing to set up the shot before the sun went down. Sample pics are attached.

I did have the camera crash at the beginning of the script, however. I restarted and it worked. I got it to happen again just now and looked at the log file. It was there, but nothing had been written to it. My script starts with this:

print_screen(1)
props=require("propcase")
print("TV=",props.TV," TV2=",props.TV2)

So it looks like it crashed on the "props=" statement the first time I ran it after powering on. By crashed I mean the camera turns off without retracting the lens.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #342 on: 30 / August / 2012, 21:09:13 »
But then I tried lightroom 4 demo on my mothers computer - it likes the CHDK DNGs

Is it a general problem that -for example- when you set the ISO to 50 in the CHDK menue the exposure will be too dark (the light metering does not know that it is set to 50, it thinks it is 100...and so on with other CHDK aperture and time settings) ? Or will it be fixed in future release
I use Lightroom, and it works great with CHDK DNGs. However, you still need to correct for lens distortion in the DNG.
http://chdk.setepontos.com/index.php?topic=7928.msg89942#msg89942

Regarding the ISO 50 question, it should work to set the exposure compensation to, uh, compensate. ISO 50 is below the camera minimum of ISO 100, so you can probably set the compensation to +1 ev. I don't think this could be fixed in CHDK as an override, but you could do it in a script.

I discovered that the maximum shutter speed for the SX260 is 1/3200 second, just 2/3 ev faster than the camera limit of 1/2000. If you try to go faster, it just shoots at 1/3200. EXIF reflects this too. I assume ISO also has a hard limit.

Is there any information available on these limits for the different cameras?
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

Re: SX260 HS Porting Thread
« Reply #343 on: 30 / August / 2012, 21:21:17 »
I discovered that the maximum shutter speed for the SX260 is 1/3200 second, just 2/3 ev faster than the camera limit of 1/2000. If you try to go faster, it just shoots at 1/3200. EXIF reflects this too. I assume ISO also has a hard limit.
I could be wrong about this.  In each camera's shooting.c file is a struct called :  ShutterSpeed shutter_speeds_table[] which seems to determine what shutter speeds you can chose from.   In some (or many?) ports,  this table was cut & pasted from a previous port and might not be right.  Just because its in the table does not mean you can go that slow or fast.  Never mind that the CHDK menu choices for shutter speed options do not seem to be drawn from that table.


Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline srsa_4c

  • ******
  • 4451
Re: SX260 HS Porting Thread
« Reply #344 on: 30 / August / 2012, 21:40:25 »
I did have the camera crash at the beginning of the script
...
So it looks like it crashed on the "props=" statement the first time I ran it after powering on. By crashed I mean the camera turns off without retracting the lens.
You can help the developers with a romlog: Miscellaneous Stuff -> Debug Parameters -> Save ROM crash log (in the CHDK 1.1 menu system)
You'll get a text file which you can attach here.

Re: SX260 HS Porting Thread
« Reply #345 on: 31 / August / 2012, 06:17:15 »
Hello waterwingz
Quote
its time to stop pretending this is a big deal
Sorry, I wont mention it again  ;) . I know you are in both port-posts and a skilled programmer and not happy about me mentioning it - but I thought some camera behavior could have to do with this.

Quote
Most, if not all, picture software will accept DNG files
I meant RAW/DNG developing software like lightroom (and not DNG to DNG or RAW converting software)  (but I cant use lightroom on my computer as i said - and yes, lightroom works very well with these DNGs) - so could you tell some other programs which will do - and are "affordable"  :) ?

If this would be a problem in the color table, why can lightroom handle it and Capture One not?
Has someone checked if there are the right "colormatrix values" in this table?

Quote
Regarding the ISO 50 question, it should work to set the exposure compensation
Thank you very much lapser for reply on my question.
A script or manual compensation, ok. I will try to look more into scripting in the next weeks. As far I have seen, there is a lot possible.
I'm a little sad, that these overrides are not correctly displayed/can not be corrected in firmware - in the way of making the monitor image lighter or darker and showing the correct apperture and time values (as done in normal light meter reading).
But your workaround will help me at the moment.

I've just read an old post about ETTR (exposure to the right) in the forum - sounds really interesting to me. Could there be something like this in the firmware  (I mean ETTR and image postprocessing in camera, so that the resulting jpeg comes out correct exposed but with far better tonality)? I mean, producing better jpegs right out of the camera. (Because not everytime a DNG can/has to be done).

I think ETTR could be done in a script(?) but postprocessing? So what do you think about such a funktion?

I think here are some very talented programmers, so even if this is not the exactly right place to ask, perhaps someone could answer on this?

I have an additional question too: If there is a new CHDK release, for example a new version with new funktions, do you use this new one for your firmware builds or all the time a once selected one (do you know what I mean?) ? Or are all CHDK individual builds?

Thank you very much. - Tom -

Re: SX260 HS Porting Thread
« Reply #346 on: 31 / August / 2012, 09:19:28 »
I meant RAW/DNG developing software like lightroom (and not DNG to DNG or RAW converting software)  (but I cant use lightroom on my computer as i said - and yes, lightroom works very well with these DNGs) - so could you tell some other programs which will do - and are "affordable"  :) ?
I'm not sure what you mean by "developing" software but I assume you mean software that lets you edit the image rather than just convert between formats ?   

From http://chdk.wikia.com/wiki/Software#RAW_related

http://www.darktable.org/ 
http://rawstudio.org/
http://www.gimp.org/  (does DNG with the appropriate plugin)

Also this :  http://hdraw.net/

You can also google for these names :  PhotoAcute Studio, Focus Photoeditor,  FastStone Image Viewer, RawTherapee, DaVinci Resolve Lit, Panorama Maker 5 Pro, Autopano, Canon Digital Camera Solution, Canon Remote Capture 2.7.0,  Oloneo,  Luminance HDR


« Last Edit: 31 / August / 2012, 09:29:38 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #347 on: 31 / August / 2012, 16:43:03 »
You can help the developers with a romlog: Miscellaneous Stuff -> Debug Parameters -> Save ROM crash log (in the CHDK 1.1 menu system)
Thanks for that info. Trying to test video time limit override, I get repeatable crashes when I changed to 25% quality and no time limit, then pushed the movie record button (mode dial on P). I'm using this version:

download the full package for:
-> sx260_100b
-> sx260_100c
Based of diff from here and trunk 2093.
rudi
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos


*

Offline srsa_4c

  • ******
  • 4451
Re: SX260 HS Porting Thread
« Reply #348 on: 31 / August / 2012, 17:06:03 »
@lapser
I forgot to mention that the ROMLOG only shows information about the latest crash. If your attached log was created after the movie related crashes, your earlier crash remains a mystery :)
Even worse, there's no guarantee that a crash will cause the camera to record a log.

*

Offline lapser

  • *****
  • 1093
Re: SX260 HS Porting Thread
« Reply #349 on: 31 / August / 2012, 18:21:41 »
@lapser
I forgot to mention that the ROMLOG only shows information about the latest crash. If your attached log was created after the movie related crashes, your earlier crash remains a mystery :)
Even worse, there's no guarantee that a crash will cause the camera to record a log.
Thanks, I realized that. This was a new crash that's repeatable with video recording. It happens if you set the no time limit to 1 and then press the movie button.

I haven't been able to repeat the crash in my lua script yet. I'll post the romlog if it crashes again.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal