agentsclimarketplace

Run2 ffmpeg extraction

Skill cxcscmu/SkillLearnBench/skills/b2-self-feedback-gemini-3-flash-preview/video-object-counting/run2_ffmpeg_extraction

[COLM'26] SkillLearnBench is the first benchmark for evaluating continual learning methods that automatically generate agent skills.

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run2_ffmpeg_extraction

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

What its author says it does

Copied from the file, not written here

Advanced FFmpeg techniques for keyframe extraction with quality control.

SKILL.md

0.9 KB, as published. Nobody here has run it

Advanced FFmpeg Keyframe Extraction

Extract only the keyframes (I-frames) from a video. This is much faster than extracting every frame and provides the most significant images.

Basic Usage

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

Quality Control

If you need high quality JPEGs instead of PNGs:

ffmpeg -i input.mp4 -vf "select='eq(pict_type,I)'" -vsync vfr -q:v 2 output_%03d.jpg

(where -q:v 2 is high quality, range 1-31).

Parameters Explained

  • -vf "select='eq(pict_type,I)'": Filters for Intra-coded frames (keyframes).
  • -vsync vfr: Variable Frame Rate, ensures we don't get duplicate frames if keyframe intervals vary.
  • output_%03d.png: Standard printf-style naming for sequences.

Keep looking

Skills are one crate of 328,083. 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.