supplierdeeply

sx230, unlimited video, 4GB file limit

  • 82 Replies
  • 11961 Views
Re: sx230, unlimited video, 4GB file limit
« Reply #10 on: 25 / April / 2012, 07:37:34 »
Advertisements
however the file was indeed saved as simple text, unicode UTF 16

made on mac with text edit, converted to plain-text via format tab
and saved as unicode UTF 16 ..
.
It needs to be UTF-8 in that case ...
Ported :   A1200    SD940   G10    Powershot N    G16

Re: sx230, unlimited video, 4GB file limit
« Reply #11 on: 25 / April / 2012, 07:40:13 »

thanx funnel, i'll try your version

thanx waterwingz - i'll try the UTF 8


will post both results soon ...

Re: sx230, unlimited video, 4GB file limit
« Reply #12 on: 25 / April / 2012, 07:40:57 »
You can use this atmtached script. The one posted on the wiki page needs to be modified to work on this cam.
I assume means that this camera has a dedicated video button then ?   But does not pressing the shutter button not also start video recording, in which case the simple uBASIC script will also work ?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: sx230, unlimited video, 4GB file limit
« Reply #13 on: 25 / April / 2012, 07:50:04 »
ok guys, good news, 

BOTH VERSIONS WORK!

funnel version is nice as it has the option to turn the display off to save battery..

i'll post again after putting it to the long duration test.

lotsa thanx!!


*

Offline funnel

  • ****
  • 349
Re: sx230, unlimited video, 4GB file limit
« Reply #14 on: 25 / April / 2012, 08:32:59 »
You can use this atmtached script. The one posted on the wiki page needs to be modified to work on this cam.
I assume means that this camera has a dedicated video button then ?   But does not pressing the shutter button not also start video recording, in which case the simple uBASIC script will also work ?


When pressing the shutter button the camera just takes pictures and when pressing the video button records video. The reason is probably because the camera has many artistic effects that can be used both for photos or video.

Re: sx230, unlimited video, 4GB file limit
« Reply #15 on: 25 / April / 2012, 08:57:03 »
When pressing the shutter button the camera just takes pictures and when pressing the video button records video. The reason is probably because the camera has many artistic effects that can be used both for photos or video.
I remember that now.  But  like other Canon P&S cameras,  if the camera shooting mode is set to "video mode" then pressing the shutter button will start & stop recording.   Having a separate video button gives you the convenience of not needing to switch modes in order to start video recording.

I'll add msl's script to the wiki page and move it from my personal space to a more generic spot.  I might also update the uBASIC one a bit with some of the changes I suggested in another thread.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline funnel

  • ****
  • 349
Re: sx230, unlimited video, 4GB file limit
« Reply #16 on: 25 / April / 2012, 09:26:25 »
Quote
I'll add msl's script to the wiki page and move it from my personal space to a more generic spot.  I might also update the uBASIC one a bit with some of the changes I suggested in another thread.

Yes, good idea. Please upload this one I posted here. I made a small change to detect the movie status correctly. In video mode this cam uses status 6 for standby in all other modes status 1.

Code: [Select]
if status < 4 and a == 1 thento
Code: [Select]
if status < 4 or status > 4 and a == 1 then

Re: sx230, unlimited video, 4GB file limit
« Reply #17 on: 25 / April / 2012, 09:39:19 »
Yes, good idea. Please upload this one I posted here.
Did you forget something ?  ;)
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline funnel

  • ****
  • 349
Re: sx230, unlimited video, 4GB file limit
« Reply #18 on: 25 / April / 2012, 09:45:41 »

*

Offline msl

  • *****
  • 1239
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
Re: sx230, unlimited video, 4GB file limit
« Reply #19 on: 25 / April / 2012, 09:50:40 »
Hi,

I've made some changes.

1. Added a Lua script command for the video button detection. For uBasic it was already available.

get_video_button() 1=cam has video button, 0= cam has no video button

(Changeset 1829 trunk)

2. New script version vid_ext.lua. Now you can input a time limit for video recording in seconds. If the time limit is reached, a new recording is started. Input 0 means maximum recording time.

The script is not really tested.

msl

edit: update script, fix for restore()
« Last Edit: 25 / April / 2012, 10:33:15 by msl »
German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!

 

Related Topics