User Tools

Site Tools


basic_intervalometer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
basic_intervalometer [2017/06/25 21:10] walkeradminbasic_intervalometer [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 5: Line 5:
 ---- ----
 \\  \\ 
-So here is a command line to use <color #ed1c24>gphoto2</color> as a basic intervalometer. You can type this in at the terminal, or you could use a python script to generate this command line based on user input.+So here is a command line to use <color #22b14c>gphoto2</color> as a basic intervalometer. You can type this in at the terminal, or you could use a python script to generate this command line based on user input.
 \\  \\ 
 \\  \\ 
Line 37: Line 37:
 etc.. etc..
 </file> </file>
-It can be see that after the image is downloaded, it is deleted also.+It can be see that after the image is downloaded, it is deleted also. If you don't want the files deleted, use the following syntax. 
 +\\  
 +    gphoto2 --interval=10 --frames=10 --capture-image-and-download --keep
 \\  \\ 
 Here are the 10 files I captured Here are the 10 files I captured
Line 46: Line 48:
 </file> </file>
 \\  \\ 
-<color #ed1c24>WARNING!!!</color> If you pick a short interval (say 3 or 4 seconds) then the Raspberry Pi may not be able to write the files fast enough, and you can drop frames.+<color #ed1c24>WARNING!!!</color> If you pick a short interval (say 3 or 4 seconds) then the Raspberry Pi may not be able to write the files fast enough, and you may end up with dropped frames (if you use the --keep switch, they will still be on the camera memory card though). 
 +\\  
 +\\  
 +If you need a relatively short interval, then just use the following syntax to capture the files, then download them at the end of the capture. 
 +\\  
 +    gphoto2 --interval=3 --frames=10 --capture-image 
 +\\  
 +Here you can see the files are captured, but not copied or deleted (you don't have to use the --keep switch if you are not downloading at the same time). 
 +\\  
 +<file> 
 +Time-lapse mode enabled (interval: 3s). 
 +Capturing frame #1/10... 
 +Waiting for next capture slot 2 seconds... 
 +New file is in location /store_00020001/DCIM/100CANON/IMG_5964.CR2 on the camera 
 +Capturing frame #2/10... 
 +Waiting for next capture slot 2 seconds... 
 +New file is in location /store_00020001/DCIM/100CANON/IMG_5965.CR2 on the camera 
 +Capturing frame #3/10... 
 +Waiting for next capture slot 2 seconds... 
 +New file is in location /store_00020001/DCIM/100CANON/IMG_5966.CR2 on the camera 
 +</file>
 \\  \\ 
 \\  \\ 
- 
basic_intervalometer.1498421441.txt.gz · Last modified: 2023/03/09 22:35 (external edit)