From 71a0aecb76984347292199db328142bef4807088 Mon Sep 17 00:00:00 2001 From: St33v Date: Tue, 9 Jun 2026 14:05:18 +1000 Subject: Force rgba in ffmpeg apng pipeline Composited frames are palette-based PNGs with slightly different palettes per frame; ffmpeg's apng encoder rejected this with "Input contains more than one unique palette." Converting to rgba in the filter chain gives all frames the same pixel format. Co-Authored-By: Claude Opus 4.7 --- radarFetch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'radarFetch.sh') diff --git a/radarFetch.sh b/radarFetch.sh index 4ba302c..84b0f82 100755 --- a/radarFetch.sh +++ b/radarFetch.sh @@ -190,7 +190,7 @@ printf "file '%s'\n" "${composited[$last_idx]}" >> "$LIST_FILE" ffmpeg -y -hide_banner -loglevel error \ -f concat -safe 0 -i "$LIST_FILE" \ - -plays 0 -f apng "$TMP_APNG" + -plays 0 -vf format=rgba -f apng "$TMP_APNG" install -m 644 "$TMP_APNG" "$PUBLISH_PATH" rm -f "$TMP_APNG" -- cgit v1.3