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

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

  • 213 Replies
  • 126397 Views
*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #30 on: 27 / September / 2010, 16:18:07 »
Advertisements
Same seam to happen with anothe digiIV,  the sx210

fails at
Code: [Select]
if (call_event_proc("SystemEventInit") == -1)
keeps going if replaced with
Code: [Select]
if (call_event_proc("System.Create") == -1) then
and fails againg here
Code: [Select]
if (call_event_proc("InitializeAdjustmentFunction") == -1) then
and also fails if replaced with
Code: [Select]
if (call_event_proc("InitializeAdjustmentSystem") == -1) then
Will help a lot with this if there is a new sig file for the dryos, 
 while the vxworks sig gets 5000 names the dryos gets less than 1000
« Last Edit: 27 / September / 2010, 16:26:53 by asm1989 »

*

Online reyalp

  • ******
  • 14118
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #31 on: 27 / September / 2010, 16:28:39 »
Same seam to happen with anothe digiIV,  the sx210

fails at
Code: [Select]
if (call_event_proc("SystemEventInit") == -1)
keeps going if replaced with
Code: [Select]
if (call_event_proc("System.Create") == -1) then
Interesting. I guess canon has finally retired SystemEventInit as a compatibility alias for System.Create.
Don't forget what the H stands for.

Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #32 on: 28 / September / 2010, 04:39:45 »
Fudgey - calling the InitializeAdjustmentFunction directly works, (thanks!). However, it still crashes on lines,

Line 130. ret=call_event_proc("SetAE_ShutterSpeed",tv96)

Line 154. ret=call_event_proc("MoveIrisToAv",av96)

Line 177. ret=call_event_proc("SetCDSGain",sv96)

Is it possible to also replace these lines with specific IXUS 100 code?




*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #33 on: 28 / September / 2010, 13:45:01 »
Fudgey - calling the InitializeAdjustmentFunction directly works, (thanks!). However, it still crashes on lines,

No it didn't, apparently, since adjustment functions didn't get initialized ;)

Is it possible to also replace these lines with specific IXUS 100 code?

Supposedly yes (using the entry points I listed in the previous post -- the init func call can naturally be removed in that case), this is what I did for a570 in the first version of my video control script in this thread. It would be a good idea to check what all the funcs expect as arguments first (on a570 some take ints, some pointers -- it may not be exactly same for you camera).




*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #34 on: 28 / September / 2010, 15:07:44 »
Some Adavances in the digicIV world, its best to use canonbasic to go forward


I get past the first creating using:

Code: [Select]
if (call_event_proc("System.Create") == -1) then
    error("SystemEventInit failed")
end

Instead of SystemEventInit

and
Code: [Select]
if (call_event_proc("FA.Create") == -1) then
    error("FA CREATE failed")
end
if (call_event_proc("InitializeAdjustmentSystem") == -1) then
    error("InitializeAdjustmentSystem failed")
end

instead of InitializeAdjustmentFunction

Get this Reading the info about  canonbasic funcs, tells what to call first

now mine fails here
Code: [Select]
ret=call_event_proc("ExpCtrlTool.StopConti")
« Last Edit: 28 / September / 2010, 15:12:24 by asm1989 »

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #35 on: 28 / September / 2010, 16:28:18 »
now mine fails here
Code: [Select]
ret=call_event_proc("ExpCtrlTool.StopConti")

from platform/ixus100_sd780/sub/100c/stubs_entry_2.S
NHSTUB(ExpCtrlTool_StartContiAE, 0xFF82FF40) //"StartContiAE"
NHSTUB(ExpCtrlTool_StopContiAE, 0xFF830084)  //"StopContiAE"

Maybe they aren't available as eventprocs?

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #36 on: 28 / September / 2010, 17:14:52 »
thank fudgey, I'm using sx210

and I have these
Code: [Select]
NHSTUB(ExpCtrlTool_StartContiAE, 0xFF846458) // -> ASM1989 08.21.2010
NHSTUB(ExpCtrlTool_StopContiAE, 0xFF846530) // -> ASM1989 08.21.2010

but It still crash if called

Code: [Select]
ret=call_func_ptr(0xff846530)
maybe it needs first a call to StopServoAE

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #37 on: 28 / September / 2010, 17:30:56 »
Don't forget about arguments: ExpCtrlTool_Start(Stop)ContiAE(0,0)


*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #38 on: 28 / September / 2010, 17:39:53 »
Ok now It loads (sx210)

with
Code: [Select]
function manualexp()
 ret=call_func_ptr(0xff846530,0,0)
end
function autoexp()
ret=call_func_ptr(0xff846458,0,0)
end

allows you to change all the settings correctly

but when shutter pressed to start recording hangs, first lines of the romlog:

ASSERT!! ExpProg.c Line 1576
Occured Time  2010:09:28 23:34:06
Task ID: 15466529
Task name: CaptSeqTask
SP: 0x0034D400

full romlog here http://www.zshare.net/download/80898775cccc4365/
« Last Edit: 28 / September / 2010, 17:42:34 by asm1989 »

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Video Manual Control: ISO, APERTURE & SHUTTER SPEED CONTROL, PLEASE!!!!
« Reply #39 on: 29 / September / 2010, 16:18:27 »
but when shutter pressed to start recording hangs, first lines of the romlog:

Hm? The problem could be that you're not supposed to start recording while AE is in disabled state. I'm not sure if I've ever tried doing that, actually (the script hangs the cam often enough as is, no need to try and find more things to upset the cam :P). Did you try starting video record before running the script?

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal