CodeX
Published in

CodeX

Extract a Set of Frames From a Video with FFMPEG and Python

Photo by Ingrid Martinussen on Unsplash

You can extract a list of frames at evenly spaced intervals through your video using Python and FFMPEG. This information could be used to do a quick skim of a video or create a trailer for the video programmatically — you could stitch the frames back together afterwards into a short video.

Prerequisites

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store