-
Notifications
You must be signed in to change notification settings - Fork 2
/
astromode
executable file
·64 lines (47 loc) · 2.08 KB
/
astromode
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/bash
echo "SD card settings..."
gphoto2 --set-config /main/settings/recordingmedia="1" --quiet
gphoto2 --set-config /main/settings/capturetarget="0" --quiet
gphoto2 --set-config /main/other/d08a="0" --quiet
echo "Clean sensor..."
gphoto2 --set-config /main/other/d08f="3" --quiet
gphoto2 --set-config /main/settings/cleansensor="3" --quiet
echo "Autofocus..."
gphoto2 --set-config /main/capturesettings/focusmode2="3" --quiet
gphoto2 --set-config /main/settings/autofocus="1" --quiet
echo "Image size..."
gphoto2 --set-config /main/other/5003="0" --quiet
gphoto2 --set-config /main/imgsettings/imagesize="0" --quiet
echo "Automatic ISO..."
gphoto2 --set-config /main/other/d16a="1" --quiet
echo "White balance..."
gphoto2 --set-config /main/imgsettings/whitebalance="0" --quiet
echo "Color space..."
gphoto2 --set-config /main/other/d032="1" --quiet
gphoto2 --set-config /main/imgsettings/colorspace="1" --quiet
echo "D-Lighting..."
gphoto2 --set-config /main/capturesettings/dlighting="1" --quiet
gphoto2 --set-config /main/other/d14e="0" --quiet
echo "Movie quality..."
gphoto2 --set-config /main/capturesettings/moviequality="3" --quiet
gphoto2 --set-config /main/other/d0a0="3" --quiet
echo "Auto dark for long exposures..."
gphoto2 --set-config /main/capturesettings/longexpnr="1" --quiet
gphoto2 --set-config d06b="0" --quiet
echo "AF Assist light..."
gphoto2 --set-config /main/capturesettings/assistlight="1" --quiet
gphoto2 --set-config /main/other/d163="1" --quiet
echo "Exposure compensation..."
gphoto2 --set-config /main/capturesettings/exposurecompensation="0" --quiet
echo "Flash mode..."
gphoto2 --set-config /main/capturesettings/flashmode="1" --quiet
echo "Image quality..."
gphoto2 --set-config /main/capturesettings/imagequality="3" --quiet
echo "Capture mode..."
gphoto2 --set-config /main/capturesettings/capturemode="5" --quiet
echo "Bulb mode..."
gphoto2 --set-config /main/capturesettings/shutterspeed="Bulb" --quiet
echo "Exposure Bias Compensation..."
gphoto2 --set-config /main/other/5010="0" --quiet
echo "Picture control..."
gphoto2 --set-config /main/other/d200="2" --quiet