Ffmpeg frame extraction
Use ffmpeg to extract key frames (I-frames) from a video file into a directory.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill ffmpeg-frame-extractionAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.6 KB, 146 tokens by cl100k_base, as published. Nobody here has run it
FFmpeg Frame Extraction
To extract key frames (I-frames) from a video file using FFmpeg, use the following command:
ffmpeg -i input_video.mp4 -vf "select='eq(pict_type,PICT_TYPE_I)'" -vsync vfr output_folder/keyframes_%03d.png
-i input_video.mp4: Input video file.-vf "select='eq(pict_type,PICT_TYPE_I)'": Video filter to select only key frames.-vsync vfr: Variable frame rate to match input frame rate but only save selected frames.output_folder/keyframes_%03d.png: Output pattern for filenames.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.