From 9d34240ac075790d4c17f9242b0795bf9e4305e4 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 22 Apr 2026 16:22:25 +0000 Subject: [PATCH] =?UTF-8?q?sky-cam.conf:=20comment=20out=20grey=20filter?= =?UTF-8?q?=20=E2=80=94=20must=20be=20explicitly=20enabled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The SEASONS_GREY_STDDEV_MIN and SEASONS_GREY_DARK_FLOOR settings are now commented out so the filter is fully inert by default and requires a deliberate edit to activate. https://claude.ai/code/session_01C4jbd3waXG3eKZYbGUjLUQ --- sky-cam.conf | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) 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