Video Frames

Extract frames or short clips from videos using ffmpeg.

zocomputer Updated

File contents

Video Frames (ffmpeg)

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

Quick start

First frame:

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

At a timestamp:

{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.

zocomputer/skills/tree/main/External/video-frames commit a34085b861

Frequently asked questions

npx skillmds@latest add zocomputer/video-frames