diff --git a/sky-cam.conf b/sky-cam.conf index ffe38d6..ed9d92b 100644 --- a/sky-cam.conf +++ b/sky-cam.conf @@ -259,19 +259,15 @@ AUDIO_BITRATE=192k # montage-mvt.sh — music track on movement # Corrupt or empty frames (e.g. first frame after a camera reconnect) are always # skipped automatically via ffprobe. No config needed. # -# SEASONS_GREY_STDDEV_MIN: also skip uniform-grey frames caused by a bad RTSP -# signal (valid JPEGs, but near-solid grey — no real image content). -# A frame is only skipped when BOTH conditions hold: -# 1. pixel standard deviation (0–255) is below SEASONS_GREY_STDDEV_MIN -# 2. mean brightness (0–255) is above SEASONS_GREY_DARK_FLOOR -# This keeps genuine night frames (dark + low stddev) while dropping -# bad-signal grey frames (mid-bright + low stddev). -# -# SEASONS_GREY_STDDEV_MIN=0 disables the filter entirely (default). -# Try 5–10 if your camera produces solid-grey frames on reconnect. -# Requires ImageMagick (convert) to be installed. -SEASONS_GREY_STDDEV_MIN=0 -SEASONS_GREY_DARK_FLOOR=30 # frames with mean brightness below this are always kept +# SEASONS_GREY_STDDEV_MIN / SEASONS_GREY_DARK_FLOOR — optional bad-signal filter. +# Uncomment both lines to enable. A frame is dropped only when BOTH are true: +# 1. pixel standard deviation (0–255) < SEASONS_GREY_STDDEV_MIN (frame is uniform) +# 2. mean brightness (0–255) > SEASONS_GREY_DARK_FLOOR (frame is not dark) +# This keeps genuine night frames (dark + low variation) while dropping +# solid-grey bad-signal frames (mid-bright + no variation). +# Requires ImageMagick (convert). Start with these values and tune from there: +#SEASONS_GREY_STDDEV_MIN=5 # skip if stdev < 5 (very uniform) +#SEASONS_GREY_DARK_FLOOR=30 # …but only if mean brightness > 30 (not a night frame) # ── Montage attribution overlay ─────────────────────────────────────────────── # A translucent bar across the top of each movement montage, naming the