-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample_config.yaml
63 lines (56 loc) · 1.39 KB
/
example_config.yaml
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
# Main settings
camera_name: 'Timelapse TEST Camera'
main_size: [3840, 2160]
lores_size: [640, 480]
display: 'main'
awb_enable: False
awb_mode: 'Daylight'
colour_gains: [2.1, 1.5]
colour_gains_night: [1.4, 3.1]
filename_prefix: 'timelapse_'
interval: 50
status_file: '/var/www/html/status.jpg'
test_file: '/var/www/html/test.jpg'
focus_mode: 'manual'
lens_position: 1 #0.0 = infinity, 1 sharp, 10 unsharp
hdr: true
image_quality: 90
crop_image: False
crop_size: [3674, 2066]
# Camera constants
camera_constants:
DAYTIME_SHUTTER: 4489
DAYTIME_GAIN: 1
MAX_SHUTTER: 40000000
MAX_GAIN: 32
SUNRISE_OFFSET_MINUTES: 60 # Start transition 1 hour after actual sunrise
POST_SUNSET_DELAY_MINUTES: 180
# Overlay
overlay:
enabled: True
# Logging
log_youtube_upload: true
log_capture_image: true
log_overlay: true
# Image output
image_output:
root_folder: '/var/www/html/images/'
test_folder: '/var/www/html/'
folder_structure: '%Y/%m/%d/'
filename_prefix: 'timelapse_'
# Timelapse output
video_output:
root_folder: '/var/www/html/videos/'
folder_structure: '%Y/%m/' # 2023/06/
filename_prefix: 'timelapse_'
video_width: 1920
video_height: 1160
framerate: 25
bitrate: 5000000
video_format: mp4
constant_rate_factor: 23
codec: libx264 # or use h264_v4l2m2m for 1080p hardware encoding
video_upload:
enabled: false
url: 'https://example.com/api/piVideo/store'
api_key: ''