SX1 IS with CHDK can't record more then 29'59'' sec?? - CHDK Releases - CHDK Forum

SX1 IS with CHDK can't record more then 29'59'' sec??

  • 19 Replies
  • 9167 Views
SX1 IS with CHDK can't record more then 29'59'' sec??
« on: 03 / September / 2009, 06:09:44 »
Advertisements
Yesterday I've installed CHDK and was trying everything to record more then 30 minutes of continuous recording of HD movies, but couldn't do it.

I tried with quality 50, 30, 25, 15 but every time when it comes to 29'50' the numbers become red and is recording for just another 10 seconds and then stops.
What is the problem?
Does anybody know how to set CHDK to record more then 1h of continuous movie?

Thanx.

*

Offline whim

  • ******
  • 2041
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SX1 IS with CHDK can't record more then 29'59'' sec??
« Reply #1 on: 03 / September / 2009, 09:28:28 »
what's the size of your 30 min. HD videos ? I'm asking this, because maybe Canon enforces a 30 min. limit to avoid breaking the max filesize barrier ( ~ 4 GB for FAT32 ) ?
If that is the case, there's little CHDK can do, AFAIK ...

wim
« Last Edit: 03 / September / 2009, 09:45:06 by whim »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: SX1 IS with CHDK can't record more then 29'59'' sec??
« Reply #2 on: 03 / September / 2009, 10:53:56 »
2 CanonMan:
Could you look in memory browser variable at address (0x)9C30 when HD video record is running? It must contain limit of frames (appr. 1799s*30 fps=53970 or 0xD2D2).

Re: SX1 IS with CHDK can't record more then 29'59'' sec??
« Reply #3 on: 07 / September / 2009, 04:36:46 »
Thanx for the reply, but I don't know where is memory browser variable at address (0x)9C30 when HD video recording is running.

Can you please explain me how to find it???

I'm new here and trying to learn something.

Thanx


*

Offline whim

  • ******
  • 2041
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SX1 IS with CHDK can't record more then 29'59'' sec??
« Reply #4 on: 07 / September / 2009, 05:06:44 »
@CanonMan

in the CHDK menu, goto Miscellaneous stuff -> Debug parameters -> Memory browser

- press Display to change step size (shown in top line) to 100
- use left/right buttons to change address (shown in top line)
- when you get close, use Display again to kick down to step 4
- once you've set 9C30, note down values
- press Menu to return (CHDK will remember selected mem location)
- leave CHDK menu and <Alt> state
- start whatever process you want to monitor
- return to CHDK menu and Memory Browser and read and note changed values

have fun,

wim

edit: clarified (hopefully)
« Last Edit: 07 / September / 2009, 06:38:43 by whim »

Re: SX1 IS with CHDK can't record more then 29'59'' sec??
« Reply #5 on: 07 / September / 2009, 05:54:37 »
Explanation was very good, thank you!

I found it, and yes it contain

0x0000D2D2  (  53970)
0xD2D2  (53970)
0xD2  (210)

TT

0xFFFF0AD5  (4294904533)
0x0AD5  ( 2773)
0xD5  ( 213)

So what now, can I change in CHDK those values for recording more frames then 53970?

*

Offline whim

  • ******
  • 2041
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SX1 IS with CHDK can't record more then 29'59'' sec??
« Reply #6 on: 07 / September / 2009, 06:37:16 »
@CanonMan

Don't think it works that way, but wait for ewavr to comment ...

not my field of expertise  :D

cheers,

wim
 


*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: SX1 IS with CHDK can't record more then 29'59'' sec??
« Reply #7 on: 07 / September / 2009, 13:53:58 »
So what now, can I change in CHDK those values for recording more frames then 53970?
For example, using this lua script (also attached to this post):
Code: (lua) [Select]
poke(0x9C30, 35*30*60)
print("done.")
sleep(1000)

- start HD video recording
- enter <alt> mode and start this script
- wait for a second and exit <alt> mode, time limit will be 35 minutes

note: after finish check filesystem on card for errors.


Re: SX1 IS with CHDK can't record more then 29'59'' sec??
« Reply #8 on: 10 / September / 2009, 06:22:47 »
Thank you very much ewavr for the reply but before I use it,

I have a few more questions  ::).

Can you tell me what is 'lua' script, and how it is working with the chdk?

Will it always remain in chdk, or will I always have to start the script?

Can I set the time limit more then 35min for example 60min (poke(0x9C30, 60*30*60))?

How to check filesystem on card for errors?

Thanx

*

Offline whim

  • ******
  • 2041
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SX1 IS with CHDK can't record more then 29'59'' sec??
« Reply #9 on: 10 / September / 2009, 06:59:11 »
Quote
Can you tell me what is 'lua' script, and how it is working with the chdk?
http://chdk.wikia.com/wiki/LUA
put ewavr's attached script in the /SCRIPTS directory, and in the CHDK menu, goto Scripting Parameters -> Select script from file  and select it. Shut down your cam.
Your script is now setup as default, and will remain so until you go back and select the 'default.bas' script. To use it, start your cam, set to video shooting mode and enter <Alt> ; you will see the script's output at bottom left on your screen. Press shutter to start/stop the script.
Quote
Will it always remain in chdk, or will I always have to start the script?
you will need to run the script every time, but once you've selected it, it will be auto-loaded every time you start CHDK
Quote
Can I set the time limit more then 35min for example 60min (poke(0x9C30, 60*30*60))?
you can always try later, first try 35 though ... [edit] and do the math to make sure your video files stay below 4 GB in size, if you don't, you'll get file system errors; note that video size can't be predicted exactly, you need to allow some safety margin. Check any video's you already recorded to get an idea how many MB of storage you need per minute.
Quote
How to check filesystem on card for errors?
(assuming Windows) put card in cardreader, find cards' drive letter;
right click drive -> properties -> tools -> error-checking

hth,
wim
« Last Edit: 10 / September / 2009, 08:19:13 by whim »

 

Related Topics