From 5c5d338938e286a5a24048186d79e36b192fbe56 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 2 Oct 2026 20:53:32 +0200 Subject: Add --gif option to write a preview GIF Runs the same crop/scale/fps/frame-cap ffmpeg chain to a GIF file instead of uploading, so the result can be previewed or shared. Replaces the separate video2ak820 script. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index d5f5081..ef1fed7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -7,7 +7,9 @@ Guidance for AI coding agents working in this repository. `ak820-upload`: single-file Rust CLI (`src/main.rs`, std only, no crates) that writes an animation to the AJAZZ AK820 Pro screen over Linux hidraw. ffmpeg (subprocess) decodes any input to raw RGB565LE frames; the program -builds the payload and drives the upload. `README.md` documents the protocol. +builds the payload and drives the upload. `--gif out.gif` runs the same +ffmpeg crop/scale/fps chain to a GIF file instead (preview/share, no device). +`README.md` documents the protocol. On the maintainer's machine the release binary is linked into PATH, so a `cargo build --release` is live immediately: @@ -46,4 +48,3 @@ replug it before retrying. ## Repo facts - License: GPL-2.0-only (`LICENSE`, SPDX header in `src/main.rs`). -- Companion repo: `video2ak820` (bash, video to GIF). -- cgit v1.2.3