Skip to content

Instantly share code, notes, and snippets.

Avatar

Simon Buisson yunntan

View GitHub Profile
View ffmpeg.md

Extract frames as JPGs:

ffmpeg -i video.mp4 -r 24 -f image2 img/img_%5d.jpg

-r: frame rate

Extract frame at specific time:

ffmpeg -i video.mp4 -ss 00:00:01.000 -f image2 -vframes 1 myImage.jpg

You can’t perform that action at this time.