Using CHDK with a PowerShot N and need to trigger video recording with a script. - General Help and Assistance on using CHDK stable releases - CHDK Forum

Using CHDK with a PowerShot N and need to trigger video recording with a script.

  • 1 Replies
  • 2678 Views
Advertisements
I am trying to write a LUA script to trigger the camera to start recording in 240fps high speed mode.  But since it doesn't have a separate video button, click("video")  and press("video") both don't work.  How do I go about telling the camera to start video recording in high frame rate mode in LUA.


Thanks

*

Offline srsa_4c

  • ******
  • 4451
You should be able to use these commands to simulate a touch on the video button:
post_levent_to_ui("PressMovieButton")
post_levent_to_ui("UnpressMovieButton")

If you need to select high speed video mode (prior to recording), you can use the set_capture_mode command, see http://chdk.wikia.com/wiki/CHDK_Scripting_Cross_Reference_Page

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal