Author Topic: Need help writing a script for recording  (Read 6455 times)

wild05kid05

  • New to the forum
  • *
  • Posts: 14
Need help writing a script for recording
« on: May 07, 2013, 10:33:35 PM »
Hi guys,
I am a bit behind on writing script so I'm seeking help. Can anyone help me write a script where I can record a clip precisely for certain amount of time. Like segments of 1s, or 2s, or 5s, or 15s, or 30s, or a minute, or 10 minutes. The reason I want this feature is because I want to try if I can make a hyperlapse via FPSOverride.
Any help would be greatly appreciated :)

wolf

  • Senior
  • ****
  • Posts: 263
Re: Need help writing a script for recording
« Reply #1 on: May 07, 2013, 11:07:59 PM »
Code: [Select]
/*
@title Let's record!
@param n seconds
@range n 1 600
*/
movie_start();                                 
sleep(n); 
movie_end();   

Picoc won't be very precise.
Script not tested.

wild05kid05

  • New to the forum
  • *
  • Posts: 14
Re: Need help writing a script for recording
« Reply #2 on: May 08, 2013, 04:53:40 AM »
Code: [Select]
/*
@title Let's record!
@param n seconds
@range n 1 600
*/
movie_start();                                 
sleep(n); 
movie_end();   

Picoc won't be very precise.
Script not tested.

Works flawlessly in normal recording mate. I can't thank you enough :). I will test out with FPSOverride.

edit: I struggle to do the math for FPSOverride, I was testing 3FPS running the script for 24s, resulted in 3s of recording o.o

scrax

  • Contributor
  • Hero Member
  • *****
  • Posts: 1543
  • Code monkey
Re: Need help writing a script for recording
« Reply #3 on: May 08, 2013, 06:02:08 AM »
edit: I struggle to do the math for FPSOverride, I was testing 3FPS running the script for 24s, resulted in 3s of recording o.o
what if you set 192 sec to have 24 real?
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX, PS, LR, RawTherapee, LightZone -no video experience-

wild05kid05

  • New to the forum
  • *
  • Posts: 14
Re: Need help writing a script for recording
« Reply #4 on: May 08, 2013, 06:30:34 PM »
what if you set 192 sec to have 24 real?

That's correct. I am trying to understand FPSOverride better. I am newly introduced to this feature.. I will post another help thread in the right subforum.
Thanks!