Wikia

CHDK Wiki

CHDK per niubbi

Talk0
576pages on
this wiki
Revision as of 12:46, May 17, 2011 by 87.20.226.153 (Talk)

I primi passi

Che fotocamera dovrei comprare?

Limitiamo il nostro universo

  1. Tanto per cominciare, solo Canon! dal momento che il CHDK funziona solo per questo produttore, dimenticati di tutti gli altri.
  2. DSLR (Reflex Digitali a Singolo Obiettivo) o P&S (Punta e z z moz do più semp clice per saperlo è guarda c mware. Questa informazione non si tro z va sulla confezione delle fotocamera, né tanto meno di solito i commercianti ne sanno qualcosa. Se vuo i assicurarti di quale si z a leggi qui le informazioni tecniche. In ambito Windows, ci si riferisca alla prossima sezione.

z z z z fotocamera prima !!

Preparare la SD per il controllo del firmware
  1. Prendi una scheda SD, o fattela prestare se non ne hai una
  2. Prendi un lettore di schede qualunq zue capace di leggere la scheda SD che hai.
  3. Segui i punti Let's put the CHDK in t zhe card dal numero 1 a 8 e poi torna qui.
  4. Assicurati di vedere il file ver.req nella memoria della SDz z z z z
  5. Passa, prima di accendere al fotocamera, al modo riproduzione. zImportante, non accendere la fotocamera nel modo registrazione e poi spostarla nel modo riproduzione
  6. Accendila e aspetta che compaia la schermata z z z
  7. z z
  8. Guarda lo schermo e vedrai qualcosa simile a questo:
Canon PowerShot A650 IS

P-ID:315B NT D

Firmware Ver GM1.00D

NoError

la parte GM1.00D è la versione del firmware. Sii consapevole che B1.xx, non è la stessa cosa, di solito rappresenta la versione beta del firmware.

Infine, scrivilo insieme al modello della fotocamera su un pezzo di carta. Poi controlla se è possibile applicare CHDK alla fotocamera: CHDKable!

Attenzione:
Nella lista delle fotocamere "CHDK-abili" al link di sopra, le lettere IS sono state rimosse. Cosi:
Canon PowerShot A720 = Canon PowerShot A720 IS
Canon PowerShot A650 = Canon PowerShot A650 IS
e cosi via..

CHDK dannegerà la mia fotocamera?

No..normalmente no! - ma nessuno può darti la garanzia... Non è mai stato riportato che una fotocamera sia stata danneggiata da qualche versione ufficilale di CHDK, ancora.
Caso peggiore: La fotocamera va in crash (si blocca) Per risolvere -> rimuovi la batteria, aspetta circa un minuto, e riaccendi la fotocamera!

Stai attento che le versioni Beta di CHDK non sono state testate pienamente. Cosi, se hai paura di questa possibilità, evita di usare quelle versioni! In queste pagine si prende a riferimento la versione ufficiale.


Altri dettagli tecnici:



Ho già la fotocamera!

SD Card with Card Reader

SD Card & Card Reader

Check List

  • una card SD (Massimo 4 GB !)
  • un lettore di schede SD
  • un PC con una porta USB libera
  • conoscenza nella navigazione delle risorse del computer
USB connector

USB Connector


Inseriamo il CHDK nella scheda SD==== Questo metodo cancellerà i dati presenti nella SD.

  1. Collegare il lettore di schede nella porta USB.
  2. Inserisci la scheda SD nelle lettore di schede.
  3. apri Risorse del computer e verifica che riesci a vedere la scheda SD. Sarà un dispositivo removibile. Sposta il puntatore del mouse sull'icona della SD, e controlla che la dimensione sia quella della scheda SD. Se no, controlla la procedura di installazione della scheda SD. Non andare avanti finchè non sei sicuro che il lettore funzioni a dovere.
  4. Scarica CardTricks dal Wiki o da Card Tricks thread e salvalo in una cartella del computer. O creane una se vuoi. Nella cartella dove hai salvato il file, fai doppio click sul file: CardTricks si aprirà.
  5. Seleziona il riquadro Auto.
    Card Tricks 1.31

    Card Tricks

  6. Clicca sulla figura della scheda di memoria (sotto il riquadro Auto) e scegli l'unità che rappresenta la scheda.
    Stai attento: deve essere l'unità corrispondente a quella del lettore di schede identificato in precedenza.
  7. La sezione Card Info & Selection è ora aggiornata. Controlla ancora una volta se è proprio la memoria giusta: un buon modo è guardare la capienza. Se non è riportata alcuna valore in size (SD non formattata) e hai appena comprato la scheda, puoi star tranquillo: hai impostato la tua scheda SD correttamente.
  8. Premi il tasto Format as FAT, e accetta l'avvertimento sulla cancellazione dei dati presenti sulla SD (copiali prima se non vuoi perderli!). CardTricks formatterà la tua scheda nel miglior modo per il CHDK. Aspetta finché non finisce.
  9. Premi il tasto Make Bootable, leggi l'avvertimento e accettalo. CardTricks preparerà la tua scheda per l'autocaricamento sulla fotocamera.
  10. Premi il tasto Download CHDK. Si aprirà il tuo navigatore alla pagina ufficiale da cui scaricare il CHDK. Scegli l'archivio ZIP per il tuo modello di fotocamera. Ma poi non dimenticarti dove lo hai salvato!
    Può essere che ci sia più di un file per fotocamera: Scegli quello relativo alla versione di firmware della tua fotocamera, guarda back here se non sei sicuro di quale versione ti serva.
  11. Premi il tastoCHDK->Card, seleziona l'archivio ZIP che hai appena scaricato, conferma e aspetta fino a che non scompare il messaggio riguardante la copia in corso.
  12. Infine rimuovi la scheda dal lettore.
  13. Blocca la scheda! (spostando il piccolo ponticello di plastica posto sul lato della SD con la scritta Lock)
    01update03

    CHDK splash screen

  14. La tua scheda è ora pronta per l'autocaricamento.
  15. Rimetti la scheda bloccata nella fotocamera e accendi quest'ultima. Se tutto è andatoper il verso giusto vedrai comparire la figura di avvio del CHDK.

Nota.: Se se curioso di sapere come avviene il caricamento, comincia da qui: How does CHDK start running

Ultima spiaggia: Se proprio non ci riesci, prova CHDK per niubbi - Come installarlo. Lì si trova un divertente filmato di aiuto passo passo.

Consiglio: Conviene utilizzare il lettore di schede, se ti è possibile, piuttosto che usare direttamente il cavo USB. Ci sono molte situazioni in cui la porta USB della fotocamera potrebbe confonderti.


CHDK is loaded!

First thing you'll notice using CHDK is your OSD (On-Screen Display) changes. You'll see now, left to right a number, two icons and a percent.

  • First number is your available card space in MB.
  • Next to it you'll see your battery icon and below the charge remaining capacity in percent.
    A720 back buttons

    CHDK buttons

  • The top right one is the iconic representation of the free space amount of your SD memory card in MB.
Menu Navigation - Enabling Histogram
Enabling Histogram
Histogram

Histogram Menu

  1. Press the print button (called Alt from now on) once.
  2. Press Menu once. The Main Menu will show.
  3. Press Down until you highlight Histogram parameters.
  4. Press FUNC SET to activate it, the Histogram menu will appear.
  5. Go Down to the very first option Show live histogram
  6. Press Right to change, choose Always
  7. Press Menu
  8. Press Alt
  9. Go to Record mode if you are not there yet

You are now seeing a live RGB histogram. Point your camera around and see the how the different lighting changes it

Setting the Histogram Mode

(continuing from above...)

  1. Now press Alt once, note that a blue bar with the ALT letters appears in the center bottom of your screen.
  2. Press Menu and go to Histogram menu as you did above (steps 3-4)
  3. Navigate to Histogram layout and press Right until RGB all appears.
  4. Press Alt directly, it's the fastest way to return to Canon operation mode.
Placing the Histogram

(continuing from above...) You'll now see a more complex histogram, but partially hidden on your OSD. To correct this

Layout editor

OSD Layout Editor

  1. Went back to the CHDK Main Menu (you know now, Alt then Menu buttons)
  2. This time navigate to OSD parameters and activate it (press FUNC SET)
  3. Now in the OSD menu, Go down to OSD layout editor press FUNC SET to activate it. You'll see a lot of info on your screen. Don't panic!
  4. Press FUNC SET repeatedly and observe that each time you press it, one set of screen info is selected with a green highlight. Press until you have the histogram graphic selected.
  5. Now, with the navigation buttons - Up, Down, Left and Right - move the histogram around the screen until the histogram is shown in a nice place on the screen.
  6. Press Alt to save and exit.

Now you have the live RGB all histogram on your screen.

You have now learned how to navigate in CHDK.

  • For more information about histogram settings go there.
  • For a wonderful explanation about what a histogram is go there.

RAW
Raw

RAW menu

A few words about RAW

You have probably already watched those nature programs where they show us the world through the eyes of bees, dogs, flies and spiders. Your camera sensor works in a similar way. Like the human eye, the camera eye - the Charge-Coupled Device (CCD) or the Complementary Metal–Oxide–Semiconductor (CMOS) sensor - sees the light, but in a different way. Therefore, to bring that vision to our natural way of seeing light, some math needs to be done. So, after the camera hardware has done some processing, the OSD can show us an understandable and expected result. The final product is a photo file that you print, send or store in your computer - the JPEG image file. On the other side, this very first and odd looking from the camera's sensor is called RAW. CHDK saves that information in a file for further uses.

Activate RAW
  1. Go Record mode.
  2. Press Alt.
  3. Press Menu
  4. Highlight Save RAW.
  5. Press FUNC SET and you'll see this [•]
  6. Press Alt for exit.

Your screen will now show 'RAW' and a number. This number is the amount of RAW shots that you could take with your available free card space. Note that this number is far below the number of normal shots that Canon info tells you is possible, since RAW files are larger. Trust the CHDK number now.

CHDK RAW in the real World

CHDK generates a 10 bit non standard RAW file; few commercial programs support this format yet. But you can always convert your CHDK_RAW files to a standard DNG or TIFF file by using this program: DNG4PS-2 and read DNG4PS2 for more information. If you don't have any preference yet, give PhotoLine a try, it already supports CHDK_RAW files. Lately, some people have proclaimed good results with Raw Therapee and UFRaw


More links
About RAW settings RAW parameters menu and RAW Develop.
About camera sensors Digital Camera Sensors.
About RAW editions and compatibilities Raw image format.


CHDK Features

Bracketing

Concept

It's a way of using a series of shots of the same subject, generally at distinctly adjusted settings, to achieve, usually at a later time, a different and better result. Basically, there are three kinds of bracketing: luminance, focus and noise reduction. With many technical variations on each. The first and third can be done internally by a P&S camera with some CHDK processing (RAW Develop).

Try this simple and valuable bracketing technique. If you understand and master it, you could, by just changing some parameters, solve a lot of bracketing situations.

Bracketing and HDR

This is a simple way to do luminance bracketing, using Tv (Time value) priority, without any knowledge of scripts. It's a good option for in a hurry moments. Follow the recipe bellow:

  • CHDK navigation:
    • Press Alt to enter
    • Extra Photo Operations / Bracketing in continuous mode / Tv bracketing value: 2 Ev
    • Extra Photo Operations / Bracketing in continuous mode / Bracketing type: +/-
    • Press Alt to exit

+

  • Canon navigation:
    • Put in Record Mode
    • Dial P
    • Press FUNC SET
    • Navigate to Drive Mode / C ustom
    • Press MENU
    • Choose Delay: 1
    • Choose Shots: 3
    • Press FUNC SET to exit

You are now ready to shoot.

Some tips:

  • If you can, use a tripod. It'll avoid a lot of extra PP (Post Processing) work.
  • Before the shot, halfway-press and hold the shoot button to adjust focus and light. Continue and press the shoot button fully when you are happy with the settings.
  • Remember to take your finger or hands completely off the camera, if you are using a tripod. With this setup, there will be a short interval before the shutter actually fires.
  • The camera will do the first shot with your ((P)ersonal) best light standards; then it will slow the Tv to +2 Ev equivalence and take a shot; and finally -2 Ev equivalence.
  • If you want smoother intervals you should change the Tv bracketing value to 1 Ev and number of shots to 5. You will get the same interval with more steps.

Now you can go for some HDR (High Dynamic Range) imaging edits.

Bracketing and DOF

There is a good start tutorial at DoF Stacking.

Bracketing and Resolution
Bracketing and Noise

The easiest way to remove noise of low light photos is by using the internal Raw Develop CHDK functions, there you will find a concept explanation.

Obs.: Noise is a mess... with a lot of variations. If you wanna start this war you must know with what bandit you are fighting against:

CHDK Bracketing Techniques
Tv Bracketing
Av Bracketing
ISO Bracketing
RAW Develop

Some thoughts about RAW Sum and RAW Average
This is not exactly a dummy topic, but let's get the principles.

  • When we see these big live broadcast concerts with thousands of people, sometimes the camera shows the crowd singing loud and beautifully. But hey! We can always see one or two guys chanting the "other" part of the song! Nevertheless, we hear the chorus singing perfectly. The uneven voices still exist, but they are minority. So, the TV brings us the "correct" - the average - song.
    This is RAW Average, a clean version of the scene.
  • In a similar way, if you live some blocks far from the concert place and your TV is off, you can still hear the crowd singing the songs. It's perfectly impossible listen a human voice at this distance, but the whole mass of voices is something bigger.
    This is RAW Sum, a brighter version of a scene.


If you want more:

Useful links

Scripts

Concept

By definition script is a programming language that controls a software application.

It's like a taxicab: there is the car, the driver and there is you. Once inside, you can order the direction you wanna go. Also, you can tell the driver to go from here to there, to avoid this or that streets, to go fast or slow etc. So, the driver drives the wheel, the gas pedal, the breaks, the clutch, car light signals, avoid other cars or some potentially dangerous obstacles and, finally, brings you to your destination. The main power that moves this process come, almost exclusively, from the car itself. But all this power would be useless without the taxi driver expertize. And, of course, none of that would have even started if not been for your command. Our camera's hardware is the car, your camera's firmware (plus CHDK) is the driver and the script is you.

At this moment the scripts are written and then compiled in a kind of ubasic ARM compiler (just don't bother the words). Scripts allow some control of the firmware functions, but there are limitations (for example, no decimal numbers exist). These limitations require coders to create smart work arounds which also increases the complexity of simple tasks. Lately, there has been some success with experiments to replace ubasic with Lua as the CHDK scripting language.

If you like these and other weird words go fetch:

How to load
How to use
How to change
Useful links

Grids

Concept
Useful links

CHDK Video features

Similarly as the RAW -> JPG procedure, Canon cameras transform real motion action in video format. This format is named Motion JPEG - similar to JPEG, the static image format. There are many video compression formats used nowadays: Moving Picture Experts Group Type 2 (MPEG-2) for DVDs and cable TV, MPEG-4 for Blue-ray DVD discs, Windows Media Video (WMV) for some computer video files, Flash Video (FLV) for YouTube videos, etc. M-JPEG has a significantly higher bitrate than these formats. That's bad, because the same amount of video time will take more storage space than other formats. But that's also good, because you lose less information in the compression activity and can edit more easily at your computer.

How to use
  1. Press the Alt button once.
  2. Press Menu once. The Main Menu will show.
  3. Press Down until you highlight Video Parameters.
  4. Press FUNC SET to activate it, the Video Parameters menu will appears.
  5. Go Down to the very first option Video Mode.
  6. Press Left or Right to alternate the options.

The first thing you'll see is Video Mode. There are two options: Bitrate and Quality.

  • Bitrate means that Canon will record your motion at a constant compression rate. The more bitrate, the more space will be used in your SD card and better will be the video quality. 1x is near the Canon default compression.
  • Quality means the Canon will record your motion at a constant quality. It means that, if necessary, the camera, by itself, will increase or decrease the compression rate to mantain the video quality constant. The more quality, more space will use at your card and better will be the video. 84% is the Canon default compression.


Remember:

  • When you choose Bitrate, the Video Bitrate number is the active setting.
  • When you choose Quality, the Video Quality number is the active setting.


Obs.: S5 do not have these CHDK video mode options, until now.

Enable optical zoom
Digital cameras have two types of zoom available: The optical zoom and the digital zoom.

  • The optical zoom uses lens refractions to magnify the objects, resulting in clear, sharp images.
  • And the digital zoom approximates zoom by magnifiying the pixel size. It does some math to improve the result, but will always produce worse results when compared to the optical zoom. Objects will appear larger, but can lack definition and appear blocky.

Canon blocks the optical zoom during video shoots. That's bad because you will lose quality when you zoom things digitally. CHDK unleashes the optical zoom that the Canon's engineers blocked, but the drawback is that the zoom mechanism noise is recorded in your video as well.
Do some tests to get the best combination for you.


Versions

What's the best version(build)?

There's no such thing as a best version. There's only the best version for you. CHDK versions are like a suit, if it fits, feels comfortable and you are happy with it:
- That's the best suit!
- But if this is your first suit and your unsure of what you need, you should click here and at the top of that page click on the link that says "CHDK Autobuild Downloads". At this time (2008 10 27) many of the great innovations are included in it and it has all the features a newbie needs and then some.

Why they exist?

Each little genius here thinks in his/her particular way - and desires different things too. So, they take the core of CHDK and change it to fit his/her particular needs or ideas. They are all like sculptors that take wood and shape it like they want to. Because they aren't greedy, they share their efforts with everybody in the forum threads or wikia postings.

Besides that, there is a group of members that works at mantaining the core/wood of CHDK, like GrAnd, cail, EWAVR, Fingalo, Allbest, jeff666, nirschi, DataGhost and a lot of other remarkable members. Along them other sharp minds work in related tasks.

Remembering that it all started, years ago, with a one man only task, done by the mysterious Vitaly.

Useful links

The big bucket: here (if you haven't look yet...).
Other Mods:
Jucifer's
DataGhost's

Interesting links:
View from the core: Trunk history.
More answers.

Obs: If someone was forgotten, please excuse. I apologize. Just edit and update for more correct info.


Problems: Searching and Posting

- It doesn't work!
At this moment some people have difficulty with staying calm and reviewing their previous steps, looking for simple mistakes. If you do so and still can't make it work, I suggest a few steps for you to follow.

Searching

It is very likely that you're not the first person with this particular problem. So, start searching for others with the same problem, and you are likely to find solutions and advice.

Here on CHDK wikia: The search bar is in the top left of this page.
At the official CHDK forum you'll find the Setepontos Search tool.

Try searching from general to specific. Stop narrowing when your results become easily browseable.

Ex.: Let's say you have problems working with RAW. First try

  • RAW -> You'll get a lot of info about it! But your problem is to get the RAW from the camera to your computer.
  • RAW download -> But hey, you're a Windows user, so...
  • RAW download explorer -> Now pick some and see if it fits.

Some times you have to limit your search with a minus (-) sign to exclude some words. Ex.: You're having color problems in your pictures. So if you do the bottom search

  • color -> You'll have too much. Your problem is about JPG color problems, not RAW.
  • color JPG -> But RAW references keep coming.
  • color JPG -RAW -> now you get more suitable results.


Caution: The search function in the CHDK wikia (this site) needs at least 4 chars in search expression !

Posting

- Still doesn't work!

If your problem doesn't seem to be covered yet, you can open a thread at the CHDK forum about it.

  1. Be careful in choosing the correct section/subsection. If you have specific problems dealing with CHDK, this isn't exactly a developer matter. So, don't post at CHDK Development, go Using CHDK/General Help and Assistance on using CHDK stable releases.
  2. Put a short descriptive title in your thread.
    HELP HERE! or SOME AID!! or I'M DESPERATE!!!
    usually don't receive good feedbacks.
  3. Describe your problem as accurately as possible.
  4. List at least:
    1. Camera model and firmware version
    2. CHDK brand and version
    3. Operating system
    4. Card size and brand
  5. Wait.
    There is no Help Desk service. You have to count on the goodwill of other CHDK users like you.
  6. Don't beg for urgent help. But don't give up. Check answers on a daily basis.
  7. After someone answers you, reply and say if the proposed solution worked or not, and why. This will help others searching for answers in the future!
  8. Thank the person who helped you!
  9. Be polite and friendly, don't argue with others trying to help, it's a waste of your time.
  10. And when you know and can, help others.

Is there a manual?

  • A CHDK menu reference (Screenshots of the camera display) for the upcoming Allbest 51 build can be found here: Allbest 51 Menu Screenshots

Odd and Tricky cameras

SD870IS / IXUS 860

As all other DryOS based cameras CHDK can only start from a bootable card, there's no "Firmware Update" menu item. The download contains only the file diskboot.bin !
Below are some limitations at Allbest #51:

Power up in playback mode

The camera always powers up in playback mode and shows the last captured pic. For record mode press (or half press) the shutter.
With 'Clock Display' set to '0 sec' in the Canon menu, the camera can be started direct in record mode by the following workaround:
Hold FUNC while pressing POWER, release FUNC when the Canon clock display appears

OSD disappears after ~10 seconds

By default (or after a reset to the Canon standard settings) the Canon OSD symbols disappear after ~10 seconds in record mode.
With the DISP button you can toggle between two states: [OSD always on] or [OSD off after 10s. The last used setting is saved for standard.

Doesn't support long filenames in file browser

The filenames in the filebrowser are shown in 8.3 convention (old MS-DOS style), longer filenames existing on the card will be shown in the corresponding short term.
Example: the filename "DefaultScript1.bas" on the SD card is shown as "DEFAUL~1.BAS" in the file browser dialog.

Solved issues:

-> video compression now works (from Allbest #51 changeset 455 on)
-> Touch Icon Behaviour (the CHDK menu gets full or partially cleared when touching (half pressing) the "Wheel" buttons) fixed from Allbest #51 changeset 455 on
-> the ND filter is working well now (from Allbest #51 Changeset 444 on)
-> SDHC card support added in Allbest #51 changeset 455


Some Hints:

  • The display can be switched off in record mode by long-pressing the PRINT key. To set this, in the Canon menu (in record mode, menu item "Set PRINT Button...") the PRINT key should be assigned to "Display Off". This can also be usefull for saving battery lifetime in scripts: to shut off the display a sequenze of press "print" -- sleep 1000 -- release "print" can be used after each shot.
Turning off the display this way in a script can lead to 3 times longer battery lifetime (beware - this method my not work with the MD (Motion Detection) function !
  • The short key for enable/disable RAW is Alt-DISP-Alt

S5

  • No video (compression) mode options

The next step: FAQ

Around Wikia's network

Random Wiki