https://free-astro.org/index.php?title=Gphoto2_data&feed=atom&action=history Gphoto2 data - Revision history 2024-03-29T02:21:56Z Revision history for this page on the wiki MediaWiki 1.40.0 https://free-astro.org/index.php?title=Gphoto2_data&diff=196&oldid=prev Vincent: /* Gphoto2 command line interface */ main page link 2013-01-14T02:43:53Z <p><span dir="auto"><span class="autocomment">Gphoto2 command line interface: </span> main page link</span></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 02:43, 14 January 2013</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l3">Line 3:</td> <td colspan="2" class="diff-lineno">Line 3:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The data below has been obtained from a Canon EOS 1000D camera.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The data below has been obtained from a Canon EOS 1000D camera.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Gphoto2 can be used interactively with commands or using command line arguments, the result is the same. Interactive commands are generally the same than commande line arguments without the double dash before them. On this page, commands line arguments are used.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[</ins>Gphoto2<ins style="font-weight: bold; text-decoration: none;">]] </ins>can be used interactively with commands or using command line arguments, the result is the same. Interactive commands are generally the same than commande line arguments without the double dash before them. On this page, commands line arguments are used.</div></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The camera being addressed must be specified for all commands, either using the &lt;code&gt;--auto-detect&lt;/code&gt; option or one of &lt;code&gt;--camera&lt;/code&gt; or &lt;code&gt;--port&lt;/code&gt;.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The camera being addressed must be specified for all commands, either using the &lt;code&gt;--auto-detect&lt;/code&gt; option or one of &lt;code&gt;--camera&lt;/code&gt; or &lt;code&gt;--port&lt;/code&gt;.</div></td></tr> </table> Vincent https://free-astro.org/index.php?title=Gphoto2_data&diff=133&oldid=prev Vincent: /* Taking a picture */ formatting 2012-09-19T11:20:37Z <p><span dir="auto"><span class="autocomment">Taking a picture: </span> formatting</span></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:20, 19 September 2012</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l148">Line 148:</td> <td colspan="2" class="diff-lineno">Line 148:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Numerous options can then be added to this command line, for example the --interval option to take several pictures, or --filename to change the output filename, inserting date or number in it. Warning, the %n number is restarted to 0 when gphoto2 launches, so it can be used only for continuous capture or interactive command line.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Numerous options can then be added to this command line, for example the <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;'''</ins>--interval<ins style="font-weight: bold; text-decoration: none;">'''&lt;/code&gt; </ins>option to take several pictures, or <ins style="font-weight: bold; text-decoration: none;">&lt;code&gt;'''</ins>--filename<ins style="font-weight: bold; text-decoration: none;">'''&lt;/code&gt; </ins>to change the output filename, inserting date or number in it. Warning, the %n number is restarted to 0 when gphoto2 launches, so it can be used only for continuous capture or interactive command line.</div></td></tr> </table> Vincent https://free-astro.org/index.php?title=Gphoto2_data&diff=132&oldid=prev Vincent: /* Taking a picture */ fixing the %n problem 2012-09-18T21:34:10Z <p><span dir="auto"><span class="autocomment">Taking a picture: </span> fixing the %n problem</span></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:34, 18 September 2012</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l148">Line 148:</td> <td colspan="2" class="diff-lineno">Line 148:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Numerous options can then be added to this command line, for example the --interval option to take several pictures, or --filename to change the output filename, inserting date or number in it. <del style="font-weight: bold; text-decoration: none;">For example</del>, the <del style="font-weight: bold; text-decoration: none;">command &lt;code&gt;$ gphoto2 --auto-detect -B 23 --capture-image-and-download --filename m42_23s_ISO1600_</del>%<del style="font-weight: bold; text-decoration: none;">03n.cr2&lt;/code&gt; should name the file m42_23s_ISO1600_001.cr2 with an increasing </del>number for <del style="font-weight: bold; text-decoration: none;">each subsequent frame, although in reality the number does not increase and gphoto2 wants to overwrite the previous file</del>.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Numerous options can then be added to this command line, for example the --interval option to take several pictures, or --filename to change the output filename, inserting date or number in it. <ins style="font-weight: bold; text-decoration: none;">Warning</ins>, the %<ins style="font-weight: bold; text-decoration: none;">n </ins>number <ins style="font-weight: bold; text-decoration: none;">is restarted to 0 when gphoto2 launches, so it can be used only </ins>for <ins style="font-weight: bold; text-decoration: none;">continuous capture or interactive command line</ins>.</div></td></tr> </table> Vincent https://free-astro.org/index.php?title=Gphoto2_data&diff=129&oldid=prev Vincent: Page creation with 1000D data. 2012-09-17T01:33:04Z <p>Page creation with 1000D data.</p> <p><b>New page</b></p><div>=Gphoto2 command line interface=<br /> <br /> The data below has been obtained from a Canon EOS 1000D camera.<br /> <br /> Gphoto2 can be used interactively with commands or using command line arguments, the result is the same. Interactive commands are generally the same than commande line arguments without the double dash before them. On this page, commands line arguments are used.<br /> <br /> The camera being addressed must be specified for all commands, either using the &lt;code&gt;--auto-detect&lt;/code&gt; option or one of &lt;code&gt;--camera&lt;/code&gt; or &lt;code&gt;--port&lt;/code&gt;.<br /> <br /> ==Changing properties==<br /> <br /> Properties are the same parameters used to take a picture, for example shutter speed and ISO value. A list of available parameters for a camera can be obtained using the &lt;code&gt;&#039;&#039;&#039;--list-config&#039;&#039;&#039;&lt;/code&gt; option or command. Result is shown below.<br /> <br /> &lt;pre&gt;<br /> $ gphoto2 --auto-detect --list-config<br /> ----------------------------------------------------------<br /> Canon EOS 1000D usb:001,009 <br /> /main/actions/bulb<br /> /main/actions/uilock<br /> /main/actions/syncdatetime<br /> /main/actions/autofocusdrive<br /> /main/actions/manualfocusdrive<br /> /main/actions/eoszoom<br /> /main/actions/eoszoomposition<br /> /main/actions/eosviewfinder<br /> /main/settings/datetime<br /> /main/settings/reviewtime<br /> /main/settings/output<br /> /main/settings/evfmode<br /> /main/settings/ownername<br /> /main/settings/customfuncex<br /> /main/settings/capturetarget<br /> /main/settings/capture<br /> /main/status/model<br /> /main/status/ptpversion<br /> /main/status/dpofversion<br /> /main/status/batterylevel<br /> /main/status/serialnumber<br /> /main/status/shuttercounter<br /> /main/status/availableshots<br /> /main/imgsettings/imageformat<br /> /main/imgsettings/imageformatsd<br /> /main/imgsettings/iso<br /> /main/imgsettings/whitebalance<br /> /main/imgsettings/whitebalanceadjusta<br /> /main/imgsettings/whitebalanceadjustb<br /> /main/imgsettings/whitebalancexa<br /> /main/imgsettings/whitebalancexb<br /> /main/imgsettings/colorspace<br /> /main/capturesettings/autoexposuremode<br /> /main/capturesettings/drivemode<br /> /main/capturesettings/picturestyle<br /> /main/capturesettings/shutterspeed<br /> /main/capturesettings/meteringmode<br /> /main/capturesettings/bracketmode<br /> /main/other/d402<br /> /main/other/d407<br /> /main/other/d406<br /> &lt;/pre&gt;<br /> <br /> <br /> Getting the value and possible values for a property is done using the &lt;code&gt;&#039;&#039;&#039;--get-config&#039;&#039;&#039;&lt;/code&gt; argument. Here is an example with the shutter speed property.<br /> <br /> &lt;pre&gt;<br /> Type: RADIO<br /> Current: 30<br /> Choice: 0 bulb<br /> Choice: 1 30<br /> Choice: 2 25<br /> Choice: 3 20<br /> Choice: 4 15<br /> Choice: 5 13<br /> Choice: 6 10<br /> Choice: 7 8<br /> Choice: 8 6<br /> Choice: 9 5<br /> Choice: 10 4<br /> Choice: 11 3.2<br /> Choice: 12 2.5<br /> Choice: 13 2<br /> Choice: 14 1.6<br /> Choice: 15 1.3<br /> Choice: 16 1<br /> Choice: 17 0.8<br /> Choice: 18 0.6<br /> Choice: 19 0.5<br /> Choice: 20 0.4<br /> Choice: 21 0.3<br /> Choice: 22 1/4<br /> Choice: 23 1/5<br /> Choice: 24 1/6<br /> Choice: 25 1/8<br /> Choice: 26 1/10<br /> Choice: 27 1/13<br /> Choice: 28 1/15<br /> Choice: 29 1/20<br /> Choice: 30 1/25<br /> Choice: 31 1/30<br /> Choice: 32 1/40<br /> Choice: 33 1/50<br /> Choice: 34 1/60<br /> Choice: 35 1/80<br /> Choice: 36 1/100<br /> Choice: 37 1/125<br /> Choice: 38 1/160<br /> Choice: 39 1/200<br /> Choice: 40 1/250<br /> Choice: 41 1/320<br /> Choice: 42 1/400<br /> Choice: 43 1/500<br /> Choice: 44 1/640<br /> Choice: 45 1/800<br /> Choice: 46 1/1000<br /> Choice: 47 1/1250<br /> Choice: 48 1/1600<br /> Choice: 49 1/2000<br /> Choice: 50 1/2500<br /> Choice: 51 1/3200<br /> Choice: 52 1/4000<br /> &lt;/pre&gt;<br /> <br /> <br /> Setting the property is done using &lt;code&gt;&#039;&#039;&#039;--set-config&#039;&#039;&#039;&lt;/code&gt; argument, as shown below. There is generally no output to this command.<br /> <br /> &lt;pre&gt;<br /> $ gphoto2 --auto-detect --set-config=/main/capturesettings/shutterspeed=0<br /> Model Port <br /> ----------------------------------------------------------<br /> Canon EOS 1000D usb:001,009 <br /> &lt;/pre&gt;<br /> <br /> ==Taking a picture==<br /> <br /> There are numerous ways of taking pictures with Canon EOS cameras. Images can be stored on temporary internal memory or on SD card. Image with long exposure can be done using predefined length exposures, or bulb mode. The bulb mode can be controlled from two ways in gphoto2: setting the &lt;code&gt;/main/actions/bulb&lt;/code&gt; property to 1 then 0 during the exposure, or using the &lt;code&gt;&#039;&#039;&#039;-B&#039;&#039;&#039;&lt;/code&gt; command line argument.<br /> <br /> For example, an 22s image can be downloaded right away to the computer, and not be written on the SD card, using the &lt;code&gt;&#039;&#039;&#039;--capture-image-and-download&#039;&#039;&#039;&lt;/code&gt; argument in combination with the -B argument. The -B argument can only work when the camera is in &lt;code&gt;M&lt;/code&gt; mode and its shutter speed is set to BULB. The captured image is then saved in the local directory, so be sure you can write to it.<br /> <br /> &lt;pre&gt;<br /> $ gphoto2 --auto-detect -B 22 --capture-image-and-download<br /> Model Port <br /> ----------------------------------------------------------<br /> Canon EOS 1000D usb:001,009 <br /> Bulb mode enabled (exposure time: 22s).<br /> New file is in location /capt0000.cr2 on the camera <br /> Saving file as capt0000.cr2<br /> Deleting file /capt0000.cr2 on the camera<br /> Deleting &#039;capt0000.cr2&#039; from folder &#039;/&#039;...<br /> &lt;/pre&gt;<br /> <br /> <br /> Numerous options can then be added to this command line, for example the --interval option to take several pictures, or --filename to change the output filename, inserting date or number in it. For example, the command &lt;code&gt;$ gphoto2 --auto-detect -B 23 --capture-image-and-download --filename m42_23s_ISO1600_%03n.cr2&lt;/code&gt; should name the file m42_23s_ISO1600_001.cr2 with an increasing number for each subsequent frame, although in reality the number does not increase and gphoto2 wants to overwrite the previous file.</div> Vincent