Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!! - page 13 - Feature Requests - CHDK Forum  

Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!

  • 213 Replies
  • 125304 Views
*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #120 on: 25 / January / 2014, 00:59:20 »
Advertisements
After more testing I found the SX40 also crashed on exit after releasing AE lock.
Is that just in video mode?  And if so,  in video mode when you have used Tv,Av,Sv overrides?  Or does it crash using AE lock in normal image shooting modes?

Just with this script - the cameras appear to need the 'TerminateAdjustmentSystem' call to avoid the crashing.
So probably not directly related to AE lock.

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 srsa_4c

  • ******
  • 4451
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #121 on: 25 / January / 2014, 09:01:01 »
the cameras appear to need the 'TerminateAdjustmentSystem' call to avoid the crashing.
A question: do the registration functions initialize something vital, or could the used event procedures work without them when called directly (by address)?

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #122 on: 25 / January / 2014, 15:02:36 »
the cameras appear to need the 'TerminateAdjustmentSystem' call to avoid the crashing.
A question: do the registration functions initialize something vital, or could the used event procedures work without them when called directly (by address)?

I tried using the event procs directly on the G1X; but the camera crashes straight away.
Haven't investigated to see what the crash is, or tried other cameras yet.

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 srsa_4c

  • ******
  • 4451
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #123 on: 25 / January / 2014, 16:47:02 »
I tried using the event procs directly on the G1X; but the camera crashes straight away.
Haven't investigated to see what the crash is, or tried other cameras yet.
Thx, looks like subject of further research then...


*

Offline srsa_4c

  • ******
  • 4451
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #124 on: 26 / January / 2014, 17:52:09 »
... could the used event procedures work ... when called directly (by address)?
To answer my question, yes, they do work, but they need to be called with the 'even procedure' parameter passing method (i.e. call_event_proc() ). Registering them with RegisterEventProcedure (using their name and address) is possible.

An interesting find: the script does work on the ixus115 in its 'high speed' movie mode (this is one of the few dedicated movie modes on this camera, unfortunately it doesn't have a regular movie mode).

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #125 on: 26 / January / 2014, 20:19:18 »
... could the used event procedures work ... when called directly (by address)?
To answer my question, yes, they do work, but they need to be called with the 'even procedure' parameter passing method (i.e. call_event_proc() ). Registering them with RegisterEventProcedure (using their name and address) is possible.

An interesting find: the script does work on the ixus115 in its 'high speed' movie mode (this is one of the few dedicated movie modes on this camera, unfortunately it doesn't have a regular movie mode).

I did some more testing on the G1X, calling the event procs directly with C & Lua wrappers works; but only if FA.Create and InitialiseAdjustmentSystem are called first (and TerminateAdjustmentSystem called on exit).

If these are removed the camera crashes straight away.

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: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #126 on: 27 / January / 2014, 08:17:29 »
@philmoz

I am just wondering, have you tested this out on your ixus310hs? If so, does this script work?

*

Offline srsa_4c

  • ******
  • 4451
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #127 on: 27 / January / 2014, 12:52:23 »
I did some more testing on the G1X, calling the event procs directly with C & Lua wrappers works; but only if FA.Create and InitialiseAdjustmentSystem are called first (and TerminateAdjustmentSystem called on exit).

If these are removed the camera crashes straight away.
That makes me curious about the romlog. I'd prefer not having to register dozens of event procedures.


*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #128 on: 27 / January / 2014, 13:43:46 »
@philmoz

I am just wondering, have you tested this out on your ixus310hs? If so, does this script work?

No, I have not had any success with the IXUS 310 yet.

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: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #129 on: 27 / January / 2014, 13:47:15 »
I did some more testing on the G1X, calling the event procs directly with C & Lua wrappers works; but only if FA.Create and InitialiseAdjustmentSystem are called first (and TerminateAdjustmentSystem called on exit).

If these are removed the camera crashes straight away.
That makes me curious about the romlog. I'd prefer not having to register dozens of event procedures.

It's an odd log, no stack or register trace.
It starts with:
Code: [Select]
ASSERT!! Head.c Line 3985
Occured Time  2014:01:27 11:08:41
ISR : vector=107
ShootConDump:
0f 0f 0f 0f 0f 0f 0f 0f 0f 0f 0f 0f 0f 0f 0f 0f
0f 0f 0f 0f 0f 0f 0f 0f 0f 0f 0f 0f 0f 0f 0f
CameraConDump:
07 0a 02 0d 09 01 0f 0f 0f 0f

Followed by the camera log.

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