Settings Reference

File Format

Settings are stored in settings.txt as key=value pairs, one per line. Lines starting with # are comments.

# Comment line
key=value
array_key[0]=value
*string_key=text value
@coord_key=x,y
float_key%=0.500000
Prefix/SuffixTypeExample
(none)Integermin_frames=60
% suffixFloat/percentagemax_diff_y%=0.500000
* prefixString*font_file=font.bmp
@ prefixXY coordinate@far[0][ 0]=960,100

UI / Display

SettingDefaultDescription
big_window_width1920Viewer window width in pixels
big_window_height540Viewer window height in pixels
frame_position_bar_height10Height of the position bar overlay (pixels)
mouse_position_speed5Speed multiplier for right-click drag scrolling
only_one_viewer0If 1, prevent launching multiple viewer instances
show_jumper_numbers1Show jumper number overlay on video
show_speed1Show speed overlay on video
show_name1Show jumper name overlay on video
show_lines_mode1Grid line mode at startup (0=off, 1=main, 2=sub-meter)
showing_motion0Show motion detection overlay at startup
draw_circle_around_blobs0Draw circles around detected motion blobs

Font

SettingDefaultDescription
*font_file(empty)Path to bitmap font file
font_size24Font rendering size
font_window_width320Width of text overlay area
font_window_height120Height of text overlay area

Video / Movie

SettingDefaultDescription
min_frames60Minimum clip length in frames (1 sec at 60fps)
max_frames520Maximum clip length (limited by circular buffer)
movie_pad30Extra frames captured before/after motion event
min_type1_frames60Minimum frames for type 1 display (feeds 0+1)
min_type2_frames60Minimum frames for type 2 display (feeds 1+2)
additional_frame_count[N]0Extra frames to capture for feed N after trigger
overlay_frame_offsets[N]0Frame offset for text overlay timing on feed N
meters_from_takeoff_to_visible50Distance from takeoff to first visible point
last_visible_meter_line145Last meter line visible in the camera view
default_view_frame_offset_from_end30Viewer starts this many frames before clip end
min_feed0Lowest feed number in use

Motion Detection Thresholds

Percentage Thresholds

Control what fraction of the frame must show differences for motion to be considered. Values are 0.0–100.0.

SettingDefaultDescription
max_diff_y%0.5Maximum Y-plane diff percentage (above = too much change, likely lighting)
max_diff_u%0.5Maximum U-plane diff percentage
max_diff_v%0.5Maximum V-plane diff percentage
min_diff_y%0.01Minimum Y-plane diff percentage (below = noise)
min_diff_u%0.01Minimum U-plane diff percentage
min_diff_v%0.01Minimum V-plane diff percentage

Absolute Thresholds

SettingDefaultDescription
max_diff_y10000Maximum absolute Y diff pixel count
min_diff_y100Minimum absolute Y diff pixel count
ydiff_min[N]10Per-pixel Y difference threshold for feed N
ydiff_max255Maximum per-pixel Y difference (above = ignore)
udiff_min[N]10Per-pixel U difference threshold for feed N
vdiff_min[N]10Per-pixel V difference threshold for feed N

Blob Detection

SettingDefaultDescription
min_blob_sizes[N]30Minimum blob area (pixels) to keep for feed N
max_blob_size50000Maximum blob area (above = not a jumper)
min_blob_distance[N]2Minimum blob movement (pixels/frame) for feed N
max_blob_distance[N]200Maximum blob movement (above = noise) for feed N
max_blob_count50Maximum blobs to track per frame
min_blob_keep20Minimum blob area to keep after merge
min_blob_neighbors2Minimum neighbor count for flood fill (noise filter)
blob_fuzz_x30X tolerance for merging nearby blobs
blob_fuzz_y30Y tolerance for merging nearby blobs
min_quick_size200Minimum quick-scan blob area
erase_shadows0Enable shadow erasure in blob detection
distance_look_back_n_frames5Frames to look back for blob movement calculation

Motion Regions

Define the rectangle within each feed where motion detection is active. Pixels outside this region are ignored.

SettingDefaultDescription
motion_start_x[N]0Left edge of motion region for feed N
motion_start_y[N]0Top edge of motion region for feed N
motion_end_x[N]1920Right edge of motion region for feed N
motion_end_y[N]1080Bottom edge of motion region for feed N
feed_motion_on[N]1Enable motion detection for feed N (0=off, 1=on)

Motion / Movie Logic

SettingDefaultDescription
min_motion_count[N]3Consecutive frames of motion needed to trigger recording on feed N
min_nomotion_count[N]10Consecutive frames without motion to stop recording on feed N
feed_offset[N]0Frame offset to align feed N (for USB timing differences)

Grid Lines (Distance Measurement)

SettingDefaultDescription
meter_line_count[N]20Number of grid lines for feed N
meter_line_start[N]variesFirst meter mark for feed N (e.g., 80m, 100m, 120m)
meter_line_increment[N]1Meters between grid lines for feed N
meter_line_radius[N]1Line thickness (half-width in pixels) for feed N
@far[N][L](none)Far anchor point (x,y) for feed N, line L
@near[N][L](none)Near anchor point (x,y) for feed N, line L

See Grid Line Calibration for how to set anchor points.

Grid Line Colors (YUV)

SettingDefaultDescription
meter_line_Y/U/V200/128/128Main meter line color (light gray)
meter1_line_Y/U/V255/128/128Highlighted meter line color (white)
meterD_line_Y/U/V128/200/128Sub-meter division line color

Motion Marker Colors (YUV)

SettingDefaultDescription
mark_motion1Enable motion blob marking in output
mark_motion_Y/U/V255/0/200Blob marker color (pink)
making_movie_Y/U/V0/128/255Recording indicator color

Debug

SettingDefaultDescription
debug_motion0Print motion detection diagnostics
debug_distance0Print distance calculation diagnostics
debug_build0Print frame builder diagnostics
play4_show_frame_rate0Show frame rate in viewer title bar

See Also