Rtsp snapshot
Captures a still frame from an RTSP camera stream using ffmpeg. Use when asked to get a snapshot, still image, or single frame from an RTSP source.From its SKILL.md
npx -y skills add haliphax-ai/skills --skill rtsp-snapshotAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- skips confirmationTells the agent to proceed without asking first, 1 time: "-y: Overwrite the output file without asking.".
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 1 command, including `ffmpeg -y -rtsp_transport tcp -i "<RTSP_URL>" -ss 00:00:01 -vframes 1 -q:v 8 -colorspace smpte170m -color_primaries smpte170m -color_trc smpte170m "<OUTPUT_FILE>"`.
SKILL.md
1.6 KB, 376 tokens by cl100k_base, as published. Nobody here has run it
RTSP Snapshot
This skill uses ffmpeg to capture a single, high-quality still frame from a network RTSP stream.
Usage
Execute the following shell command. Replace <RTSP_URL> with the full RTSP connection string for your camera and <OUTPUT_FILE> with the desired output path (e.g., ~/.openclaw/media/rtsp-snapshots/living-room.jpg).
Recommended Command
ffmpeg -y -rtsp_transport tcp -i "<RTSP_URL>" -ss 00:00:01 -vframes 1 -q:v 8 -colorspace smpte170m -color_primaries smpte170m -color_trc smpte170m "<OUTPUT_FILE>"
Command Breakdown
-y: Overwrite the output file without asking.-rtsp_transport tcp: Forces the stream to use TCP instead of UDP. This is more reliable and prevents corrupted or incomplete images, especially over Wi-Fi or congested networks.-i "<RTSP_URL>": Specifies the input RTSP stream URL.-ss 00:00:01: Seeks 1 second into the stream before capturing the frame. This gives the stream time to stabilize and avoids capturing a black or garbled initial frame.-vframes 1: Captures exactly one video frame and then stops.-update 1: Overwrites the single output file, which is the correct way to handle single-frame grabs.-q:v 8: Sets the JPEG quality level. The scale is 2 (best) to 31 (worst). A value of 8 is a good balance of quality and file size."<OUTPUT_FILE>": The path where the snapshot image will be saved.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.