Restart video recording when time limit is reached (FAT32 4gb) automatically - page 2 - Feature Requests - CHDK Forum
supplierdeeply

Restart video recording when time limit is reached (FAT32 4gb) automatically

  • 20 Replies
  • 8585 Views
*

Offline msl

  • *****
  • 1262
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Advertisements
When the dial is on movie mode the idle movie status is also 6 sometimes

Interesting, thanks for that.

msl
CHDK-DE:  CHDK-DE links

*

Offline msl

  • *****
  • 1262
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
I've been working on a wiki page for this.  Those are usually easier to search than the forum. Here's a link to the draft >  http://chdk.wikia.com/wiki/User:Waterwingz/Continuous_Video

I think, the wiki script is not quite correct.

The time is measured in ms (get_tick_count) and the parameter x is given in seconds. Insert x=x*1000 at the beginning should solve the problem.

And a little bit cosmetic:  print "time left:", (x-t)/1000, "s"

msl
CHDK-DE:  CHDK-DE links

I've been working on a wiki page for this.  Those are usually easier to search than the forum. Here's a link to the draft >  http://chdk.wikia.com/wiki/User:Waterwingz/Continuous_Video

I think, the wiki script is not quite correct.

The time is measured in ms (get_tick_count) and the parameter x is given in seconds. Insert x=x*1000 at the beginning should solve the problem.

And a little bit cosmetic:  print "time left:", (x-t)/1000, "s"

msl
Thanks msl.   The reason that page was still a "user page" is that I had not tested the script.  I'll roll in your changes and actually test it this weekend.
Ported :   A1200    SD940   G10    Powershot N    G16

Thanks msl.   The reason that page was still a "user page" is that I had not tested the script.  I'll roll in your changes and actually test it this weekend.

Thanks @waterwingz. How'd the changes shake out?


Ported :   A1200    SD940   G10    Powershot N    G16

1st off, I am a newbie so be gentle :)

I was looking for a way to workaround the 30 minute video time limit (4GB FAT32) on my S95 when I stumbled across CHDK... very cool.

I have managed to verify my FW, load the CHDK, and play around with it a bit including a few of the stock scripts.

Problem is, I cannot find a working script for continuous video for the S95 & I am far from a coder... I have tried both scripts here: http://chdk.wikia.com/wiki/Continuous_Video as well as some in various message threads.

I get this:
*** STARTED ***
*** FINISHED ***
uBasic: 1 Unk stmt

Anyone have any tips? Or is there a script out there I have overlooked? Or better yet can someone make edits to the BSA script above to work with the S95?

Appreciate the help!

Please don't cross post the same message in multipe threads  in this forum.  The people who can answer your question usually monitor all threads.  Thank you.

http://chdk.setepontos.com/index.php?topic=8072.msg84956#msg84956
http://chdk.setepontos.com/index.php?topic=8051.msg84955#msg84955
http://chdk.setepontos.com/index.php?topic=6507.msg84953#msg84953
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline zeno

  • *****
  • 885
Eric - that message means there's an error in line 1 of the script. By far the most llkely reason is that you have not copied the script to the card correctly. The script file MUST BE A PLAIN TEXT file, with standard DOS line feeds and or carriage returns at the end of each line.

Make sure you save the file to the card using a simple text editor (e.g. NotePad on Windows) as an ANSI file. Don't use any sort of Word Processor, or save it as anything but simple text.
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit


@Waterwingz, noted. I will stick to the topic I created and leave the other 2 alone... sorry for the churn.

Hello,
I am a newbie, just installed the CHDK, and loaded successfully the script created by Vash11779. I does great job indeed!

However I have an issue, is it possible, after creating the new file, and restarting video recording, to turn automatically the LCD back light off?

Thaks,
dimkotro

 

Related Topics