SD900 DNG files unusable - RAW Shooting and Processing - CHDK Forum

SD900 DNG files unusable

  • 12 Replies
  • 7425 Views
SD900 DNG files unusable
« on: 26 / April / 2014, 16:05:31 »
Advertisements
Although I'm new to CHDK (great hack!) I am using it successfully on the SD700, SD850, SD890, SD900, SD950 as well as G12.  However, I cannot make it work on my SD900 (Firmware GM1.00C).  CHDK records a DNG file, but the file contains only bright pink slanted horizontal lines (see attached sample). Also, I am unable to create badpixel.bin.  Each attempt results in: "badpixel.bin failed. Please try again."

The original DNG file is 12,409 KB (DNG4PS2 does not recognize it).  The attached file is a downsized JPG version of the original DNG.

Any guidance would be appreciated.

*

Offline srsa_4c

  • ******
  • 4451
Re: SD900 DNG files unusable
« Reply #1 on: 26 / April / 2014, 17:04:50 »
However, I cannot make it work on my SD900 (Firmware GM1.00C).  CHDK records a DNG file, but the file contains only bright pink slanted horizontal lines (see attached sample). Also, I am unable to create badpixel.bin.  Each attempt results in: "badpixel.bin failed. Please try again."
.
Can you upload a raw file (not dng) somewhere (a bright scene is preferred - a bright wall for example)?
A porting note mentions "RAW hook FIXED", so it's probably just trouble with the picture dimensions.

*

Offline reyalp

  • ******
  • 14082
Re: SD900 DNG files unusable
« Reply #2 on: 26 / April / 2014, 17:08:13 »
The original DNG file is 12,409 KB (DNG4PS2 does not recognize it).  The attached file is a downsized JPG version of the original DNG.
That looks like the DNG doesn't contain valid image data. This can happen in some modes like the reduced resolution "low light" or "high ISO" or "iso3200" modes. On some cameras it also happens in auto mode and HQ burst mode, but I think the SD900 is too old to be affected.

It's also possible there is a bug in the port which causes CHDK to save the wrong data sometimes, but it looks like the person who made the port spent some effort on this and thought it was working.

If you can upload an actual DNG somewhere (dropbox, google drive), we can look for other problems.

edit:
Actually, looking at the port it appears the DNG active area is defined incorrectly (larger than the sensor area O_o). Please upload a full DNG somewhere.
« Last Edit: 26 / April / 2014, 17:10:48 by reyalp »
Don't forget what the H stands for.

Re: SD900 DNG files unusable
« Reply #3 on: 26 / April / 2014, 17:58:07 »
Thanks for your responses.  Here is a Dropbox link to the full DNG file.

https://dl.dropboxusercontent.com/u/20988406/CHDK/IMG_0067.DNG


*

Offline reyalp

  • ******
  • 14082
Re: SD900 DNG files unusable
« Reply #4 on: 26 / April / 2014, 18:37:57 »
Thanks for your responses.  Here is a Dropbox link to the full DNG file.

https://dl.dropboxusercontent.com/u/20988406/CHDK/IMG_0067.DNG
Thanks. Here's a test build. This isn't final, because it turns out there was even more wrong than just the active area. There should be some black borders around the DNG with this one.

Please use this build and post a new DNG
Don't forget what the H stands for.

Re: SD900 DNG files unusable
« Reply #5 on: 26 / April / 2014, 19:11:29 »
Thanks so much! (What a fast response!)  It works!  As you promised, there is a black band along one edge, but my SD900 now captures usable RAW files!  Super!

*

Offline reyalp

  • ******
  • 14082
Re: SD900 DNG files unusable
« Reply #6 on: 26 / April / 2014, 19:25:18 »
Thanks so much! (What a fast response!)  It works!  As you promised, there is a black band along one edge, but my SD900 now captures usable RAW files!  Super!
Glad to hear it works. Please upload a DNG from the new build so I can fix the active area and get the changes into the autobuild.

Also, it looks like we don't have focus override test results for sd900 yet. If you can follow the steps posted in http://chdk.setepontos.com/index.php?topic=11078.msg108859#msg108859 and post the results there, that will help us fix this feature.
Don't forget what the H stands for.

Re: SD900 DNG files unusable
« Reply #7 on: 26 / April / 2014, 19:43:04 »
Here is a Dropbox link to a DNG using the new build:
https://dl.dropboxusercontent.com/u/20988406/CHDK/IMG_0092.JPG


*

Offline reyalp

  • ******
  • 14082
Re: SD900 DNG files unusable
« Reply #8 on: 26 / April / 2014, 20:08:48 »
Here is a Dropbox link to a DNG using the new build:
https://dl.dropboxusercontent.com/u/20988406/CHDK/IMG_0092.JPG
I need the actual DNG, not a jpeg.
Don't forget what the H stands for.

Re: SD900 DNG files unusable
« Reply #9 on: 26 / April / 2014, 20:31:24 »
Oops!  Here is the DNG: https://dl.dropboxusercontent.com/u/20988406/CHDK/IMG_0092.DNG

I'm not having success running the MF_test.lua script.  I get the same error message regardless of which tests are enabled/disabled. Click this link for a screen shot of the TERMINATED message: https://dl.dropboxusercontent.com/u/20988406/CHDK/IMG_0801_SM.jpg

 

Related Topics