video-frames

video-frames

熱門

使用 ffmpeg 從影片中擷取影格或短片段。

38萬星標
8.1萬分支
更新於 2026/7/24
SKILL.md
readonlyread-only
name
video-frames
description

使用 ffmpeg 從影片中擷取影格或短片段。

影片影格 (ffmpeg)

從影片中擷取單一影格,或建立快速縮圖以供檢視。

快速開始

第一影格:

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

在特定時間點:

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

備註

  • 若想問「這裡發生什麼事?」,建議使用 --time
  • 快速分享用 .jpg;需要清晰的 UI 影格則用 .png