agentsclimarketplace

Video processing

Skill cxcscmu/SkillLearnBench/skills/b1-one-shot-gemini-3-flash-preview/video-object-counting/video-processing

Tools and techniques for extracting keyframes and processing video files using FFmpeg.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill video-processing

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.8 KB, 184 tokens by cl100k_base, as published. Nobody here has run it

Video Processing with FFmpeg

FFmpeg is a powerful tool for video manipulation. For this task, we focus on extracting keyframes.

Extraction of Keyframes

To extract keyframes from a video file, use the following command:

ffmpeg -i input_video.mp4 -vf "select='eq(pict_type,I)'" -vsync vfr output_prefix_%03d.png

Parameters:

  • -i: Input file path.
  • -vf "select='eq(pict_type,I)'": Filter to select only I-frames (keyframes).
  • -vsync vfr: Variable frame rate to ensure output frames are not duplicated.
  • output_prefix_%03d.png: Output pattern for extracted images.

Performance Tips

  • Use -q:v 2 to maintain high quality if needed.
  • Ensure the output directory exists before running the command.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.