G12 Release - available from the autobuild server - page 6 - CHDK Releases - CHDK Forum supplierdeeply

G12 Release - available from the autobuild server

  • 136 Replies
  • 85597 Views
Re: G12 beta release
« Reply #50 on: 07 / February / 2011, 20:09:42 »
Advertisements
Hey, I'm new to CHDK. I just got the g12 and I'm ready to trick it out. I was wondering if you can increase the range of the manual exposure or if it has been done before? This is a great camera, but thats one thing that seems to be a weak point for it.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G12 beta release
« Reply #51 on: 16 / February / 2011, 02:15:39 »
@philmoz
I try to get the 16:9 Mode working with your new added Code in chdk.But when a x offset is need, the position of zebra, or grid is not shift in X

You can test this on a G12 in 1:1 shooting mode(here your 4:3 display have in x on both side a black border and its simular as 4:3 mode on a 16:9 display i think)

Please let me know if that work.

I add in lib.c this funcs but it do not work ok, because the offset in X is not add.

int vid_get_viewport_buffer_width() { return 480; }

int vid_get_viewport_width()
{
    if (shooting_get_prop(PROPCASE_ASPECT_RATIO) == 1)   // 16:9 is set to 1
      return 480;
    else
       return 360;
}

int vid_get_viewport_xoffset()
{
   if (shooting_get_prop(PROPCASE_ASPECT_RATIO) == 1)   //16:9 is set to 1
      return 0;
   else
       return 60;
}

int vid_get_viewport_image_offset() {
   return (vid_get_viewport_yoffset() * vid_get_viewport_buffer_width() + vid_get_viewport_xoffset()) * 3;
}
 

int vid_get_viewport_row_offset() {
   return (vid_get_viewport_buffer_width() - vid_get_viewport_width()) * 3;
}

Zebra works correctly for me in all of the shooting modes on the G12.
Have you included the zebra code updates in gui_osd.c that use the new functions in lib.c?

Regards,
Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G12 beta release
« Reply #52 on: 16 / February / 2011, 02:18:14 »
Hello

First I want to thank you for your work. Maybe I have found a mistake. If I use the optical zoom in video-mode and go over 5x (then I use digital zoom) I can't zoom out completely. I only can use the digital zoom. After I turn off and on the camera everything work fine. I hope you can understand, because my English isn't so good. :)

Michael


That's a known issue (listed on the first post in this thread).
I haven't found a solution for this yet.

Regards,
Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: G12 beta release
« Reply #53 on: 17 / February / 2011, 02:02:10 »
I think i found a problem. I installed it and right after i when into the menu and adjusted a few settings i clicked alt to get back out and now my screen is white with a occasional bit of the screen visible, however when i press alt again te screen is normal but i cant take pictures.


*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G12 beta release
« Reply #54 on: 17 / February / 2011, 05:41:30 »
I think i found a problem. I installed it and right after i when into the menu and adjusted a few settings i clicked alt to get back out and now my screen is white with a occasional bit of the screen visible, however when i press alt again te screen is normal but i cant take pictures.

Can you provide more details of the settings you changed?
Alternatively you can delete the CCHDK.CFG file in the CHDK directory on the SD card to reset all the settings back to default. This file will be recreated when you restart the camera.

Regards,
Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline c10ud

  • ***
  • 245
Re: G12 beta release
« Reply #55 on: 17 / February / 2011, 06:48:10 »
Hey, i've seen that zooming can lead to crashes of the camera. (e.g. zoom to max, then to 1)
using eventprocs manually i'm seeing that "PT_MoveOpticalZoomAt" is working well (must call "SS.Create" first though..)

however, if i hardcode it (just like you did with sx30, just calling _ExecuteEventProc() instead... i already used that trick for some other camera) the camera crashes. ideas?

edit:
calling the _ExecuteEventProc("PT_MoveOpticalZoomAt", val) in shooting.c instead of the usual wrappers.c place did the trick (with the previous call to ss.create, ofcourse).. very strange  :)
« Last Edit: 17 / February / 2011, 13:19:41 by c10ud »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G12 beta release
« Reply #56 on: 17 / February / 2011, 17:43:46 »
Hey, i've seen that zooming can lead to crashes of the camera. (e.g. zoom to max, then to 1)
using eventprocs manually i'm seeing that "PT_MoveOpticalZoomAt" is working well (must call "SS.Create" first though..)

however, if i hardcode it (just like you did with sx30, just calling _ExecuteEventProc() instead... i already used that trick for some other camera) the camera crashes. ideas?

edit:
calling the _ExecuteEventProc("PT_MoveOpticalZoomAt", val) in shooting.c instead of the usual wrappers.c place did the trick (with the previous call to ss.create, ofcourse).. very strange  :)

At the moment lens_set_zoom_point is not waiting for zoom_busy to go back to 0 after calling _MoveZoomLensWithPoint. This is because it sometimes gets stuck (zoom_busy stays at 1).

If you call set_zoom from scripts and change the zoom position too quickly (before the camera has finished setting the previous zoom) it can crash the camera.

I notice in the current changeset this is also a problem with the s95 and a workaround has been added - I will try this on the G12.

I had to use PT_MoveOpticalZoomAt on the SX30 because MoveZoomLensWithPoint did not work (crashed all the time). MoveZoomLensWithPoint seems to work on the G12.

Edit 19th Feb
I believe I've fixed the problem with calling set_zoom from scripts. Beta 5 has been posted with the fix.

Regards,
Phil.
« Last Edit: 19 / February / 2011, 00:03:47 by philmoz »
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: G12 beta release
« Reply #57 on: 17 / February / 2011, 23:10:41 »
does time lapse work yet?


Re: G12 beta release
« Reply #58 on: 18 / February / 2011, 16:22:51 »
I think i found a problem. I installed it and right after i when into the menu and adjusted a few settings i clicked alt to get back out and now my screen is white with a occasional bit of the screen visible, however when i press alt again te screen is normal but i cant take pictures.
I cant recall what settings i had changed,  but i did as u said and the problem is gone. it works much better! Thank you for the help and i'm sure you hear this often, but THANK YOU for doing this and opening it up to this community for download!

Can you provide more details of the settings you changed?
Alternatively you can delete the CCHDK.CFG file in the CHDK directory on the SD card to reset all the settings back to default. This file will be recreated when you restart the camera.

Regards,
Phil.


*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: G12 beta release
« Reply #59 on: 18 / February / 2011, 16:47:28 »
does time lapse work yet?
Time lapse is not built into CHDK; but there are a number of time lapse (intervalometer) scripts that you can download.
See - http://chdk.wikia.com/wiki/UBASIC/Scripts#Intervalometer

Regards,
Phil.

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal