Fixes in process_setting_example.toml (comments + default values)

This commit is contained in:
2024-07-01 18:40:52 +02:00
parent a0e097b877
commit 2e50f86b57

View File

@@ -1,33 +1,32 @@
# Sample process setting file for video2geoframes.py # Example process setting file for video2geoframes.py
# See documentation for more information # See documentation for more information
# #
# Last edition : 2024-06-30 # Last edition : 2024-07-01
# Mandatory section # Mandatory section
[paths] [paths]
video_file = "F:/_temp/Panoramax/01_Sessions/20240525_Vazerac_Molieres_Lafrancaise/2024_0525_083912_F.MP4" video_file = "one/video/file.mp4"
gps_track_file = "F:/_temp/Panoramax/01_Sessions/20240525_Vazerac_Molieres_Lafrancaise/20240525_track_1.gpx" gps_track_file = "one/track_gps/file.gpx"
output_folder = "Test_1" output_folder = "one/folder"
# Mandatory section for gdal_translate # Mandatory section
# See https://gdal.org/drivers/raster/cog.html for more details on values
[video] [video]
# For timelapse, indicate if video is timelapsed and interval between frames # For timelapse video, set video.timelapse = [true, x] (x = framerate)
timelapse = [false, 60] # Otherwise, set video.timelapse = [false, 0]
timelapse = [false, 0]
start_datetime = 2024-06-30T23:32:00.000 start_datetime = 2024-06-30T23:32:00.000
rec_timezone = "+02:00" rec_timezone = "+02:00"
[process_settings] [process_settings]
# Mandatory but ignored if video.timelapse = [true, x] # Mandatory setting, but ignored if video.timelapse = [true, x]
frame_sampling = 2 frame_sampling = 1
# Optional section # Optional settings, ignored if set to 0
# Settings ignored if set to 0 frame_height = 0
frame_height = 1080
time_offset = +0.0 time_offset = +0.0
# Optional section, overwritting default configuration if set # Mandatory section
[metadata] [metadata]
author = "Campanu" author = "Name or alias"
camera_maker = "One" camera_maker = "One"
camera_model = "Super Cam" camera_model = "Super Cam"