Technology
 
[Fe50]

Fe50 1,511 edits since May 22, 2008

1,511

From CHDK Wiki

avatar
File:D.gif

Contents

[edit] fe50

"I've seen a million years pass right away.

I've seen the gods of yesterday, they're old and grey.

If you will fail, there's only one more way."

What we need right now, is a miracle on earth

Let our hearts cry out, so our voices can be heard

Let us walk away together, from the never ending rain

'Til the sun will shine for all of us again.

GAMMA RAY -- MIRACLE

[edit] Links

Dev:

[edit] CHDK package filenames

s2is-100e-0.9.8-780-full.zip
  |    |    |    |   |
  |    |    |    |   +-- package type, full means: complete package incl. lang files, fonts  etc.
  |    |    |    +------ SVN trunk version, the development build number (automatically set)
  |    |    +----------- CHDK version number (manually set)
  |    +---------------- firmware version
  +--------------------- camera model

[edit] NEW CHDK features

[edit] long exposures

  • The following cameras now has the long exposure possibility, this means: no more limit to 64 seconds, the exposure time now is unlimited !
a530
a540
a550
a560
a570 
a590
a630
a710
ixus70_sd1000
ixus80_sd1100
ixus950_sd850
s3is
s5
sx10


[edit] Scripts

[edit] unleash Canon TL (Digic III)

  • With the following little script you can override the Canon time lapse value...
  • When you run this script, the intervall value will be set to 5 seconds (adjustable in the script menu), this new value is active until you change the value in the Canon menu or until you power off the camera.

Just load the script, set the time you want & start it with the shutter button; then leave <Alt> mode and make your time lapse or whatever else you want to do...

You can also set other propcases with this script, DO NOT change the first parameter (propid, with default = 165) until you exactly know what you are doing...


rem override Canon intervall, Digic III prop165, value in ms
@title propcase
@param a propid
@default a 165
@param b new value in s
@default b 5
 
b = b *1000
get_prop a c
print "Old value : " , c
set_prop a b 
print "Now set to: " , b
sleep 2000
end

[edit] Tools

[edit] ewavr's 12to10.c

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
 
#define MAX_ROWPIX 10000   
 
#define ROWLEN_12 ((MAX_ROWPIX*12)/8)
#define ROWLEN_10 ((MAX_ROWPIX*10)/8)
#define OUT_FILE_NAME  "out.crw"
 
int main(int argc, char **argv)
{
    FILE *rawin=NULL, *rawout=NULL;
    unsigned char rawrow12[ROWLEN_12];
    unsigned char rawrow10[ROWLEN_10];
    unsigned short row[MAX_ROWPIX];
    unsigned int rowpix, rows, rowlen_12, rowlen_10;
    struct stat info;
 
    unsigned int nrow,i,src;
 
        if (argc==1) {
            printf("filename expected"); 
            return 1;
        }
        rawin=fopen(argv[1],"r+b");
        rawout=fopen(OUT_FILE_NAME,"w+b");
 
        if (!rawin || !rawout) {
            printf("error 1"); 
            return 1;
        }
        if (stat(argv[1],&info)!=0) { printf("file not exist\n"); return 2;}
 
        switch (info.st_size){
         case (3720*2772*12)/8: rowpix=3720; rows=2772;  break; // another 10 MP with 12 bit RAW
         case (4480*3348*12)/8: rowpix=4480; rows=3348;  break; // 14.7 MP with 12 bit RAW
 
         default: printf("file is unknown\n"); return 3;
        }
        rowlen_12=(rowpix*12)/8;
        rowlen_10=(rowpix*10)/8;
 
        printf("processing %s", argv[1]);
 
        for (nrow=0; nrow<rows; nrow++) {
 
            fread(rawrow12, 1, rowlen_12, rawin);
 
            for (src=0, i=0; i<rowpix; src+=6, i+=4) {
                row[i+0]=((0xFF0&(((unsigned short)rawrow12[src+1])<<4)) | (rawrow12[src+0] >> 4)) >>2;
                row[i+1]=((0xF00&(((unsigned short)rawrow12[src+0])<<8)) | (rawrow12[src+3]     )) >>2;
                row[i+2]=((0xFF0&(((unsigned short)rawrow12[src+2])<<4)) | (rawrow12[src+5] >> 4)) >>2;
                row[i+3]=((0xF00&(((unsigned short)rawrow12[src+5])<<8)) | (rawrow12[src+4]     )) >>2;
            }
            for (src=0, i=0; i<rowpix; src+=10, i+=8) {
              rawrow10[src+0]=(row[i+0]<<6)|(row[i+1]>>4);
              rawrow10[src+1]=(row[i+0]>>2);
              rawrow10[src+2]=(row[i+2]<<2)|(row[i+3]>>8);
              rawrow10[src+3]=(row[i+1]<<4)|(row[i+2]>>6);
              rawrow10[src+4]=(row[i+4]>>2);
              rawrow10[src+5]=(row[i+3]);
              rawrow10[src+6]=(row[i+5]<<4)|(row[i+6]>>6);
              rawrow10[src+7]=(row[i+4]<<6)|(row[i+5]>>4);
              rawrow10[src+8]=(row[i+7]);
              rawrow10[src+9]=(row[i+6]<<2)|(row[i+7]>>8);
           }
          fwrite(rawrow10, 1, rowlen_10, rawout);
        }
        fclose(rawin);
        fclose(rawout);
    return 0;
}


[edit] Adding support for new fw ver of an existing port

  1. REDIRECT Adding support of a new firmware version

[edit] Allbest #51 Menu Views

  • Screenshots of Allbest #51 - 425 from SD400:

Image:Allbest51-425 SD400 Splash.jpg Image:Allbest51-425 SD400 ALT-Mode.jpg Image:Allbest51-425 SD400 MainMenu.jpg

Image:Allbest51-425 SD400 ExtraPhotoOperations.jpg‎ Image:Allbest51-425 SD400 Bracketing.jpg Image:Allbest51-425 SD400 AutoISO.jpg

Image:Allbest51-425 SD400 OSDParams.jpg Image:Allbest51-425 SD400 Grid.jpg Image:Allbest51-425 SD400 Misc.jpg

Image:Allbest51-425 SD400 DoFCalc.jpg Image:Allbest51-425 SD400 RAWShow.jpg Image:Allbest51-425 SD400 BattShowSettings.jpg

Image:Allbest51-425 SD400 FileSpaceSettings.jpg Image:Allbest51-425 SD400 ClockSettings.jpg Image:Allbest51-425 SD400 VideoParams.jpg

Image:Allbest51-425 SD400 RAWMenu.jpg Image:Allbest51-425 SD400 Histo.jpg Image:Allbest51-425 SD400 Zebra.jpg

Image:Allbest51-425 SD400 Script.jpg Image:Allbest51-425 SD400 VisSettings.jpg Image:Allbest51-425 SD400 MiscMenu.jpg

Image:Allbest51-425 SD400 Filebrowser.jpg Image:Allbest51-425 SD400 Calendar.jpg Image:Allbest51-425 SD400 TextFileReader.jpg

Image:Allbest51-425 SD400 Games.jpg Image:Allbest51-425 SD400 GamesReversi.jpg Image:Allbest51-425 SD400 GamesSokoban.jpg

Image:Allbest51-425 SD400 Debug.jpg Image:Allbest51-425 SD400 BuildInfo.jpg Image:Allbest51-425 SD400 FreeMem.jpg

Image:Allbest51-425 SD400 Bench.jpg