Enhancing Miniature Video Mode - page 2 - Script Writing - CHDK Forum  

Enhancing Miniature Video Mode

  • 14 Replies
  • 4991 Views
*

Offline msl

  • *****
  • 1276
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Enhancing Miniature Video Mode
« Reply #10 on: 15 / September / 2014, 05:01:19 »
Advertisements
Maybe helps disabling of the shortcuts: => http://chdk.wikia.com/wiki/CHDK_1.2.0_User_Manual#Enable_Half-press_Shortcut_Keys

msl
CHDK-DE:  CHDK-DE links

Re: Enhancing Miniature Video Mode
« Reply #11 on: 15 / September / 2014, 18:37:20 »
Updated version
Changes :
-Added "Focused Area" @param (min, med, max are factory parameters. NOBlur1 & 2 set prop 321=3 or 4. Both removes blurred areas in video rec. Switch between them if any problem)
-Added "Display OFF after (sec)" @param (battery saving. Turns off display x sec after rec starts  - Green led turns ON when display is OFF)
-Added "Rec Button" @param (to match start/stop video rec button on your camera. You can choose among Display, Video and Func/Set)
-Added build check (shamelessly stolen from waterwingz scripts to avoid "tonumber string" headaches  ::) He will forgive me)
-Added capmode check (Miniature mode availability)
-Added a final restore() (as recommended)

-Added Led choice @param (as waterwingz recommended)

Hope it works with all camera models (with Miniature mode).
Let me know.


Attached last updated version (1.3).
« Last Edit: 16 / September / 2014, 09:31:17 by fabri22 »

Re: Enhancing Miniature Video Mode
« Reply #12 on: 15 / September / 2014, 18:44:16 »
Green led turns ON when display is OFF
Hope it works with all camera models (with Miniature mode).
Good stuff!   You might want to make the set_led() choice optional - or at least let the user pick which LED number to use via another @param.    The LED numbering varies a lot from camera to camera and some cameras might even crash if you use an invalid #.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Enhancing Miniature Video Mode
« Reply #13 on: 15 / September / 2014, 19:05:39 »
Good stuff!   You might want to make the set_led() choice optional - or at least let the user pick which LED number to use via another @param.    The LED numbering varies a lot from camera to camera and some cameras might even crash if you use an invalid #.
Thanks for your appreciations and tips WW
I'll do it tomorrow. Too late on the other side of the earth now  :)


Re: Enhancing Miniature Video Mode
« Reply #14 on: 16 / September / 2014, 08:56:05 »
You might want to make the set_led() choice optional - or at least let the user pick which LED number to use via another @param.    The LED numbering varies a lot from camera to camera and some cameras might even crash if you use an invalid #.

Done.
Updated script attached.

 

Related Topics