Toolverse
All skills

ffmpeg-keyframe-extraction

by benchflow-ai

Extract key frames (I-frames) from video files using FFmpeg command line tool. Use this skill when the user needs to pull out keyframes, thumbnails, or important frames from MP4, MKV, AVI, or other video formats for analysis, previews, or processing.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Backend
Views
1

About this skill

Extract key frames (I-frames) from video files using FFmpeg command line tool. Use this skill when the user needs to pull out keyframes, thumbnails, or important frames from MP4, MKV, AVI, or other video formats for analysis, previews, or processing.

How to use

  1. Upewnij się, że FFmpeg jest zainstalowany i dostępny w zmiennej PATH systemu. Jeśli go nie masz, pobierz i zainstaluj FFmpeg ze strony oficjalnej projektu.

  2. Przygotuj plik wideo, z którego chcesz wyciągnąć klatki kluczowe. Obsługiwane są formaty MP4, MKV, AVI, MOV i inne.

  3. Wybierz metodę ekstrakcji. Metoda 1 (filtr select) daje większą kontrolę: ffmpeg -i video.mp4 -vf "select='eq(pict_type,I)'" -vsync vfr keyframe_%03d.png. Metoda 2 (skip_frame) jest szybsza: ffmpeg -i video.mp4 -skip_frame nokey -vsync vfr keyframe_%03d.jpg.

  4. Dostosuj format wyjściowy i jakość. Dla PNG użyj keyframe_%03d.png, dla JPEG wysokiej jakości dodaj -q:v 2 (niższe wartości to lepsza jakość). Możesz też wybrać BMP lub inne formaty.

  5. Jeśli chcesz, aby nazwy plików zawierały znaczniki czasowe, dodaj flagę -frame_pts 1 do komendy. Możesz również określić katalog wyjściowy, np. ./output/keyframe_%03d.png.

  6. Uruchom komendę w terminalu. Klatki kluczowe zostaną zapisane jako sekwencja plików w wybranym formacie. Liczba wyodrębnionych klatek zależy od ustawień kodowania oryginalnego wideo.

Related skills

using-superpowers

by obra

Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists

Backend
65167

himalaya

by openclaw

CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).

Backend
35108

effective-go

by openshift

Apply Go best practices, idioms, and conventions from golang.org/doc/effective_go. Use when writing, reviewing, or refactoring Go code to ensure idiomatic, clean, and efficient implementations.

Backend
248296

patent-search

by RobThePCGuy

Advanced prior art search using the PatentsView API. Use this skill when users need to search for patents, perform prior art searches, analyze patent landscapes, or find patents by inventor, title, date range, or technical fields. Helps with patent research, freedom to operate

Backend
36218

fastapi-pro

by sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

Backend
54128

fastapi-templates

by wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Backend
327582