Are these software upgrades possible? - page 19 - General Help and Assistance on using CHDK stable releases - CHDK Forum
supplierdeeply

Are these software upgrades possible?

  • 187 Replies
  • 19948 Views
Re: Are these software upgrades possible?
« Reply #180 on: 04 / March / 2012, 12:26:25 »
Advertisements
What happens is the record, stop recording commands get out of sync so when my software tells it to stop recording, it actually starts recording instead. That creates a large video file that fills up the SD card. So now the SD card is full and then chdkptp tells it to record (press the shutter button). That's when it crashes. Does that help any? That scenario has happened at least 5-6 times in the last several months.

An alternate solution would be to know if the camera is currently recording or not. Then my software wouldn't be making assumptions that either it has stopped or started recording. If that was possible, then that would also prevent this error.

*

Offline reyalp

  • ******
  • 11924
Re: Are these software upgrades possible?
« Reply #181 on: 04 / March / 2012, 14:35:11 »
What happens is the record, stop recording commands get out of sync so when my software tells it to stop recording, it actually starts recording instead. That creates a large video file that fills up the SD card. So now the SD card is full and then chdkptp tells it to record (press the shutter button). That's when it crashes. Does that help any? That scenario has happened at least 5-6 times in the last several months.
Not really. As I said, chdkptp doesn't know anything about the size free space, so that isn't the direct cause of the crash. If the camera crashes/shuts down/stops responding because the disk is full, then versions of chdkptp without the fix I mentioned earlier might crash when it goes to clean up the connection.
Quote
An alternate solution would be to know if the camera is currently recording or not. Then my software wouldn't be making assumptions that either it has stopped or started recording.
=return get_movie_status()
should do it if it's implemented correctly on your port. Known values from platform.h
#define VIDEO_RECORD_NEVER_STARTED  0 
#define VIDEO_RECORD_STOPPED        1 
#define VIDEO_RECORD_IN_PROGRESS    4

There may also be propcases that indicate recording.
Don't forget what the H stands for.

Re: Are these software upgrades possible?
« Reply #182 on: 05 / March / 2012, 16:40:09 »
I'm getting a lens error which is shutting the camera down. Is there a known fix for this?

Re: Are these software upgrades possible?
« Reply #183 on: 05 / March / 2012, 23:49:24 »
nvm... I fixed it by beating it against the wall. Good as new.


Re: Are these software upgrades possible?
« Reply #184 on: 06 / March / 2012, 11:42:27 »
I'm getting .CR2 files now along with the images. What are they for?

Re: Are these software upgrades possible?
« Reply #185 on: 06 / March / 2012, 13:13:42 »
I'm getting .CR2 files now along with the images. What are they for?
Sounds like you have RAW enabled and .CR2 selected as the file name extension.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Are these software upgrades possible?
« Reply #186 on: 06 / March / 2012, 18:31:01 »
Is that a CHDK menu option or a stock firmware option?

Re: Are these software upgrades possible?
« Reply #187 on: 06 / March / 2012, 20:40:09 »
Is that a CHDK menu option or a stock firmware option?
CHDK menu option.
Ported :   A1200    SD940   G10    Powershot N    G16


 

Related Topics