Chdk for SX130 IS ? - page 25 - CHDK Releases - CHDK Forum  

Chdk for SX130 IS ?

  • 1094 Replies
  • 251018 Views
Re: Chdk for SX130 IS ?
« Reply #240 on: 15 / February / 2011, 05:20:18 »
Advertisements
What about recording using scripts, maybe with 'set_movie_status 2' function it will record longer? Maybe camera firmware can't stop recording then. I'm not sure, you could try. I'll try this in the evening.
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

Re: Chdk for SX130 IS ?
« Reply #241 on: 15 / February / 2011, 09:18:28 »
if it works will you post the script here id like to use it to

Re: Chdk for SX130 IS ?
« Reply #242 on: 15 / February / 2011, 18:21:26 »
@Vash11779
Probably it's npt good way:/ Using set_movie_status the camera just crashed at 9:59 and even didn't save the video! I'm playing around it, but I don't believe it will be as simple.

Probably now the best walkaround is to use script, which will record movie after movie in a neverending loop, as somebody said before. Then you can split those movies in program such as MovieMaker or VirtualDub.

I also found this: http://chdk.setepontos.com/index.php?topic=4163.15 about SX 1 IS video recording, but seems like not really solved. And in that thread 'poke' command is used, which sounds scary for me:D Maybe one of asm magicans can help here?
« Last Edit: 15 / February / 2011, 18:42:16 by outslider »
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

Re: Chdk for SX130 IS ?
« Reply #243 on: 15 / February / 2011, 19:26:39 »
i believe your referring to post #232 and i didn't actually mean a endless loop, some canon and other brand cameras have just the 4gb limit, however when the file actually gets to the limit it stops and saves the file and starts a brand new file right after getting done with the first, its not one big movie file

« Last Edit: 15 / February / 2011, 22:28:45 by Vash11779 »


Re: Chdk for SX130 IS ?
« Reply #244 on: 15 / February / 2011, 21:02:48 »
@fe50 Thanks, i will test it

Re: Chdk for SX130 IS ?
« Reply #245 on: 16 / February / 2011, 07:53:38 »
Ok, thanks, Vash11779 for the explanation. I misunderstood before. But it looks like SX 120 althought has limitationof filesize, doesn't automagically start new file. So it could be walkaround, to make a loop in a script.
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

Re: Chdk for SX130 IS ?
« Reply #246 on: 16 / February / 2011, 09:20:31 »
hopefully that will work, but the limit is twofold ,ten min or when the file hits 4gb whichever comes first so you'd have to make it multiple files or somehow trick the firmware to think the files not >10 min or =4gb

Re: Chdk for SX130 IS ?
« Reply #247 on: 16 / February / 2011, 12:36:49 »
At the moment much more simple is the multiple files method. I'm just newbie and firmware hacking is beyond my capabilities. Maybe this script will work (NOT TESTED YET!):

Code: [Select]
:shoot
shoot
:loop
k=get_movie_status
if k=0 then goto "shoot"
goto "loop"

It should start record and waiting for movie status = 0, which means the camera is not recording. In this case it starts everything again. Hope.
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick


Re: Chdk for SX130 IS ?
« Reply #248 on: 16 / February / 2011, 12:52:32 »
At the moment much more simple is the multiple files method. I'm just newbie and firmware hacking is beyond my capabilities. Maybe this script will work (NOT TESTED YET!):

Code: [Select]
:shoot
shoot
:loop
k=get_movie_status
if k=0 then goto "shoot"
goto "loop"

It should start record and waiting for movie status = 0, which means the camera is not recording. In this case it starts everything again. Hope.

one thing you forgot though what language does it need saved as UBASIC or Lua file?

i made it a Lua and am testing it right now will post results thanks for posting the script outslider!

as a Lua it only went to 10:00 min and it didnt start again i will change it to a Ubasic and see if that would work and post the results here
« Last Edit: 16 / February / 2011, 13:16:44 by Vash11779 »

Re: Chdk for SX130 IS ?
« Reply #249 on: 16 / February / 2011, 13:34:12 »
well, it's UBASIC, but it's wrong:) I didn't know, that 'shoot' command waits for the end of recording. So now I'm testing wersion:

Code: [Select]
f=1
:loop
print "file",f
shoot
f=f+1
goto "loop"

I should say more after 10 min, when it wil end. I'll edit this post.

EDIT

So - it doesn't work. I don't know why the script stops after end of movie record. I feel like a noob;p
« Last Edit: 16 / February / 2011, 13:47:42 by outslider »
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

 

Related Topics