supplierdeeply

Trackuino intervalometer Video Mode not working on Elph 300 HS ixus 220

  • 3 Replies
  • 1655 Views
*

Offline nzxela

  • *
  • 4
  • High altitude ballooning - scripting images/video
Advertisements
Trackuino was designed for A570IS Digic 3 and I am running Digic 4
The scripts takes photos file but not video.

function mode_video()
  blink_led()
 
  -- Switch to video
  capmode.set(capmode.name_to_mode["VIDEO_STD"])
  log_printf("video mode")

  -- Turn off the display if the user wants so
  set_backlight(param_display)

  sleep(500)
end


function take_video (secs)
  -- start recording
  press("shoot_half")
  press("shoot_full")

  log_printf("wait %d secs", secs)
  sleep(secs*1000)

  -- stop recording
  release("shoot_full")
  press("shoot_full")
  sleep(1000)
  release("shoot_full")

  -- wait for SD (get_movie_status returns 5 while recording, 0 or 1 when done)
  while get_movie_status() > 1 do
    log_printf("video status %d, waiting...", get_movie_status())
    sleep(1000)
  end
end

The tracku log shows th ephotos being taken as Photo #1 etc then says video mode then wait 12 seconds which is the length of the video but there is no video created and no indication of the screen that a video is being taken.

Thanks, only day 2 for me with chdk. I have interval photos working fine just stuck on video.
ixus220_elph300hs 101g CHDK 1.0.0-1994 Jul 16 2012 23:16:00 dryos 0x3229
TRY                    P   2 |            KIDS_PETS  35 32786 STL  380ms CHANGE FAIL req   2 got  35
TRY            KIDS_PETS  35 |            KIDS_PETS  35 32786 STL  560ms OK
ixus220_elph300hs-101g-1.0.0-1994-full_ALPHA
Camera version is 101G

*

Offline msl

  • *****
  • 1236
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
Your camera has a video button. The script was designed to start video recording with shutter.

You must change 'function take_video (secs)' in:
Code: (lua) [Select]
function take_video (secs)
  -- start recording
  click("video")

  log_printf("wait %d secs", secs)
  sleep(secs*1000)

  -- stop recording
  click("video")

  -- wait for SD (get_movie_status returns 5 while recording, 0 or 1 when done)
  while get_movie_status() > 1 do
    log_printf("video status %d, waiting...", get_movie_status())
    sleep(1000)
  end
end

msl
German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!

*

Offline nzxela

  • *
  • 4
  • High altitude ballooning - scripting images/video
Thanks for that. I am going to give this to a friend who is a programmer because when I change these lines my script will no longer take photos or video. Before it would take the prescribed photos and then stop when trying to take video.  Alex
ixus220_elph300hs-101g-1.0.0-1994-full_ALPHA
Camera version is 101G

*

Offline nzxela

  • *
  • 4
  • High altitude ballooning - scripting images/video
With a little help from some friends this video script is working
ixus220_elph300hs-101g-1.0.0-1994-full_ALPHA

 --[[
@Video Script Test

@param a time delay (sec)
@default a 1
--]]

sleep(1000)

--turn on video
press("video")
sleep(1000)
release("video")

-- take video for 5 seconds
sleep(5000)

--turn off video
press("video")
sleep(200)
release("video")

--
-- repeat sleep(50) until get_shooting() == false   
ixus220_elph300hs-101g-1.0.0-1994-full_ALPHA
Camera version is 101G


 

Related Topics