Video processing
[COLM'26] SkillLearnBench is the first benchmark for evaluating continual learning methods that automatically generate agent skills.
npx -y skills add cxcscmu/SkillLearnBench --skill video-processingAssembled 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
Tools and techniques for extracting keyframes and processing video files using FFmpeg.
SKILL.md
0.8 KB, 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 2to maintain high quality if needed. - Ensure the output directory exists before running the command.