---
id: ssh2-video-frames
name: "video-frames"
url: https://skills.yangsir.net/skill/ssh2-video-frames
author: steipete
domain: multimedia
tags: ["video-processing", "frame-extraction", "computer-vision", "ffmpeg", "image-processing"]
install_count: 1900
rating: 4.30 (20 reviews)
github: https://github.com/steipete/clawdis
---

# video-frames

> 利用ffmpeg工具，能够从视频中精确提取单个帧或指定长度的短视频片段。

**Stats**: 1,900 installs · 4.3/5 (20 reviews)

## Before / After 对比

### 精确提取视频帧与片段，高效处理媒体

## Readme

# Video Frames (ffmpeg)

Extract a single frame from a video, or create quick thumbnails for inspection.

## Quick start

First frame:

```bash
{baseDir}/scripts/frame.sh /path/to/video.mp4 --out /tmp/frame.jpg
```

At a timestamp:

```bash
{baseDir}/scripts/frame.sh /path/to/video.mp4 --time 00:00:10 --out /tmp/frame-10s.jpg
```

## Notes

- Prefer `--time` for “what is happening around here?”.
- Use a `.jpg` for quick share; use `.png` for crisp UI frames.


---
*Source: https://skills.yangsir.net/skill/ssh2-video-frames*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh2-video-frames/markdown*