Skip to content

Instantly share code, notes, and snippets.

View CrazyBunQnQ's full-sized avatar
😵
:(

Baojunjie CrazyBunQnQ

😵
:(
View GitHub Profile
@CrazyBunQnQ
CrazyBunQnQ / ffmpeg-extract-keyframes.sh
Created May 12, 2018 15:36 — forked from savvot/ffmpeg-extract-keyframes.sh
Extract only keyframes (I-frames) from video to images with console ffmpeg
ffmpeg -ss <start_time> -i video.mp4 -t <duration> -q:v 2 -vf select="eq(pict_type\,PICT_TYPE_I)" -vsync 0 frame%03d.jpg