MDFB2013 - updating the fastest CHDK motion detection script - page 11 - LUA Scripting - CHDK Forum supplierdeeply

MDFB2013 - updating the fastest CHDK motion detection script

  • 114 Replies
  • 35645 Views
Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #100 on: 26 / August / 2017, 16:57:26 »
Advertisements
Updated version of the script in now available from the download link in the first post.  It adds a user parameter that specifies the value used to disable image stabilization (IS).  The default action is now to not attempt to disable IS.

This was added because reyalp figured out that setting the wrong value in the IS prop can cause crashing on at least some cameras.

As there is no easy way for the average user to figure out what value to use for IS disable, adding this selection effectively removes IS disable as part of the script's normal functionality.  Given that we don't know for any camera if IS can actually be disabled by setting  the prop, this is probably not a bad thing.
« Last Edit: 26 / August / 2017, 17:15:22 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #101 on: 28 / August / 2017, 23:35:23 »
MDFB2013 crashes my SX400IS but I am able to restart the camera by just pressing the playback or power button without having to take battery out.

I have deleted it and reinstalled it from the link in this thread but still the same problem.

*

Online reyalp

  • ******
  • 12067
Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #102 on: 09 / December / 2017, 00:41:23 »
Updated version of the script in now available from the download link in the first post.  It adds a user parameter that specifies the value used to disable image stabilization (IS).  The default action is now to not attempt to disable IS.
There's a bug with this in the current version: Line 302
Code: [Select]
    if (set_IS_mode >= 0) then
should be
Code: [Select]
    if (set_IS_mode > 0) then
Otherwise it still tries to set when off.
Don't forget what the H stands for.

Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #103 on: 09 / December / 2017, 09:10:04 »
There's a bug with this in the current version: Line 302
Ouch - thanks. 

Fixed now - download link updated.

Quote
Otherwise it still tries to set when off.
Worse than that - it was setting it to -1 when off.  Who know what that does?
Ported :   A1200    SD940   G10    Powershot N    G16


*

Online reyalp

  • ******
  • 12067
Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #104 on: 09 / December / 2017, 15:21:46 »
Worse than that - it was setting it to -1 when off.  Who know what that does?
On sx710, it was the same as the previous issue, crash when powering of or switching to play. I'd guess it was ignored on older cams. May also explain the post from @ju1234 above mine.
Don't forget what the H stands for.

*

Offline Ya

  • *
  • 4
    • youtube.com/user/zxuser
Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #105 on: 10 / May / 2019, 06:29:16 »
Hello!

I can't download file MDFB2013.zip (md5: 40325b279ea9f6d9d10f036276410182 )
Can someone reupload this file to somewhere, please?

Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #106 on: 10 / May / 2019, 21:15:38 »
I can't download file MDFB2013.zip (md5: 40325b279ea9f6d9d10f036276410182 )
Can someone reupload this file to somewhere, please?
https://app.box.com/s/wqaly2sgtgk4ljcrfbvr1wbpkfb2f3cs
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline Ya

  • *
  • 4
    • youtube.com/user/zxuser
Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #107 on: 11 / May / 2019, 05:12:10 »
Quote
https://app.box.com/s/wqaly2sgtgk4ljcrfbvr1wbpkfb2f3cs
This shared file or folder link has been removed or is unavailable to you.
 :(


*

Offline srsa_4c

  • ******
  • 3979
Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #108 on: 11 / May / 2019, 06:02:27 »
This shared file or folder link has been removed or is unavailable to you.
 :(
I only have version 1.1a of this script. It may not work if you have a more recent camera. Attaching it here until WW responds.
If it crashes the camera, remove this line:
Code: [Select]
set_prop(props.IS_MODE, 3)        -- IS_MODE off
edit:
official download should now work, removing attachment
MDFB2013.lua (9.79 kB - downloaded 3 times.)
« Last Edit: 11 / May / 2019, 07:27:33 by srsa_4c »

*

Offline Ya

  • *
  • 4
    • youtube.com/user/zxuser
Re: MDFB2013 - updating the fastest CHDK motion detection script
« Reply #109 on: 11 / May / 2019, 06:14:46 »
Quote
I only have version 1.1a of this script. It may not work if you have a more recent camera. Attaching it here until WW responds.
Thank you!

 

Related Topics