IXUS160/ELPH160 Porting attempt - page 41 - DryOS Development - CHDK Forum

IXUS160/ELPH160 Porting attempt

  • 497 Replies
  • 238180 Views
*

Offline reyalp

  • ******
  • 14126
Re: IXUS160/ELPH160 Porting attempt
« Reply #400 on: 09 / February / 2016, 13:20:23 »
Advertisements
Also I used mrweerden .net libs with IXUS 135 in my project. I use simple functions such as capture picture and livestream, but I am experiencing problems with livestream. I am getting livestream picture 720x240px I would be glad to get 480, but I don't even have a clue from where to begin.
This camera has a 240 line viewport, see http://chdk.setepontos.com/index.php?topic=12321.msg126063#msg126063
Don't forget what the H stands for.

Re: IXUS160/ELPH160 Porting attempt
« Reply #401 on: 10 / February / 2016, 08:14:24 »
This camera has a 240 line viewport, see http://chdk.setepontos.com/index.php?topic=12321.msg126063#msg126063


ok then what params I should use to call viewfinder to get picture same as at CHDK PTP application with checkbox "scale for A/R" checked?


*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS160/ELPH160 Porting attempt
« Reply #402 on: 10 / February / 2016, 12:05:36 »
ok then what params I should use to call viewfinder to get picture same as at CHDK PTP application with checkbox "scale for A/R" checked?
You'll need to scale the live view image on the PC side. The aspect ratio info is available (in the live view stream) as metadata, but you can just scale the image to 4:3 if you don't use any special modes on the camera.

Re: IXUS160/ELPH160 Porting attempt
« Reply #403 on: 07 / March / 2016, 13:00:28 »
Hello Guys,
I'm new here.
I'm interesting in long explosure photographing.
I bought an IXUS160 because CHDK beta version is avaible. 
Now CHDK is under testing, but some functinos I cannot use propely, ISO setting and darkframe subtraction switch.
If I set ISO 3200 one of the pictures will be capture by ISO 3200, but all of them use ISO 1600.
For example: The camera shoot 7 pics with ISO1600, 8th with ISO3200, and the others are ISO1600 again, but the ISO setting was constantly 3200.
The darkframe subtraction cannot switch off, regardless of the switch state subtraction is alwalys ON.
These are known "bugs" or my mistake? At all, this is very useful device.
Thanks guys to the this big effort to develop it.
My favourite stuffs:
Max. shutter speed is 250s, selectable filter, manual focus, remote shooting...
I love it!Best Regards,Joseph

*

Offline reyalp

  • ******
  • 14126
Re: IXUS160/ELPH160 Porting attempt
« Reply #404 on: 07 / March / 2016, 13:43:19 »
If I set ISO 3200 one of the pictures will be capture by ISO 3200, but all of them use ISO 1600.
For example: The camera shoot 7 pics with ISO1600, 8th with ISO3200, and the others are ISO1600 again, but the ISO setting was constantly 3200.
According to the Canon specifications, this camera only supports ISO1600 http://shop.usa.canon.com/shop/en/catalog/powershot-elph-160-black

You might see 3200 in the EXIF, but it probably doesn't affect the actual exposure. CHDK overrides usually don't let you use higher ISO than the canon firmware does.

Quote
The darkframe subtraction cannot switch off, regardless of the switch state subtraction is alwalys ON.
This sounds like a bug. Can you describe how you tested it? Are you using CHDK shutter overrides, or the camera "long shutter" mode?
Don't forget what the H stands for.

Re: IXUS160/ELPH160 Porting attempt
« Reply #405 on: 07 / March / 2016, 15:11:22 »
Hello Reyalp,
Yes, you right this camera can ISO1600 according the spec.

I made a lot of pictures from the night sky, if I set iso1600 all of the pictures has the same brightness.
But if I used ISO3200, some of the pictures was more brighter and noisier.Now I took some test pics. Camera in Night mode. CHDK settings: exp:2s, ISO3200, light conditions are the same, the camera is fixed.

The first picture is bright, but further pictures are darker than the first.(-1EV difference )
If I go to playback mode then go back shooting mode, and take a picture, the picture will be as bright as the very first.
If I make this procedure after every shoot (go to playback mode then go back shooting mode) all of the pictures will have the same brightness (ISO3200). It is strange.
At "P" mode I cannot take pictures with ISO3200.
Regarding the subtraction:
I try: - "night" mode + CHDK DF subtraction OFF
- "P" mode + CHDK long exp.+ DF subtraction OFF
- "night mode" + CHDK DF subtraction OFF
- "night mode"+ CHDK long exp. + CHDK DF subtraction OFF
The picture taking time alwalys double than the adjusted exp. time.
Best Regards,

Joseph

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS160/ELPH160 Porting attempt
« Reply #406 on: 11 / March / 2016, 15:29:18 »
The darkframe subtraction cannot switch off, regardless of the switch state subtraction is alwalys ON.
I think dark frame control can be made working* with the patch at the bottom of this post.
* There's one catch: the selected dark frame setting does not affect the next photo, only the ones taken afterwards.
Test version attached (diskboot only), feedback would be appreciated.

The patch and the test build doesn't address the other issues mentioned above.
Code: [Select]
Index: platform/ixus160_elph160/sub/100a/stubs_min.S
===================================================================
--- platform/ixus160_elph160/sub/100a/stubs_min.S   (revision 4525)
+++ platform/ixus160_elph160/sub/100a/stubs_min.S   (working copy)
@@ -6,8 +6,8 @@
 // 0xff883c54 (0x32d4), 0xff883c90 (0x54); see ixus140 0xff0a7858, 0xff0a7890
 DEF(viewport_fb_d, 0x00003328)
 
-// guessed from sub_FF99A728 ShutterSoundTask
-DEF(_nrflag, 0x75F4)
+// see NRTBL.SetDarkSubType, ineffective for the next photo (it 'lags')
+DEF(_nrflag, 0xa4c8)
 
 // guessed by comparing with a2500 and ixus140
 DEF(active_viewport_buffer, 0x2108)
edit: test build removed
« Last Edit: 12 / March / 2016, 14:38:13 by srsa_4c »

Re: IXUS160/ELPH160 Porting attempt
« Reply #407 on: 11 / March / 2016, 18:09:22 »
Perfect!
It is working as you wrote.
Many thanks.

*

Offline srsa_4c

  • ******
  • 4451
Re: IXUS160/ELPH160 Porting attempt
« Reply #408 on: 12 / March / 2016, 14:37:38 »
It is working as you wrote.
Thanks for the report, I have made this change in both CHDK 1.4 and 1.5.

I'd like to note that it might be possible to remove the lag in darkframe control, but that would require some further research.

@reyalp
I have taken down my test build, can you refresh the build you provide?

*

Offline reyalp

  • ******
  • 14126
Re: IXUS160/ELPH160 Porting attempt
« Reply #409 on: 12 / March / 2016, 15:38:37 »
Updated build attached.  This build should work with 100a and 100b canon firmwares.

The usual warning about camera damage applies. No warranty, use at your own risk. If it destroys your camera don't blame us, but please do tell us ;)

Please do not share the zip without directing people to this post.

edit:
Port is in the autobuild now, build removed.
« Last Edit: 17 / April / 2016, 15:06:52 by reyalp »
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal