Stills From Video

How to Convert a Video Into PNG Frames

Convert a video into PNG frames with ffmpeg, VLC's scene filter or an editor's image sequence export, with commands for every frame, intervals and time ranges.

On this page
  1. The short answer
  2. Before you start: how many frames and how much space
  3. Method 1: ffmpeg (free, any platform)
  4. Method 2: VLC’s scene filter
  5. Method 3: Export a PNG image sequence from an editor
  6. Why PNG (vs. JPEG and TIFF)
  7. Troubleshooting

The short answer

The fastest free way to convert a video into PNG frames is ffmpeg, a command-line tool that runs on Windows, macOS and Linux. One command exports every frame as a numbered PNG file:

ffmpeg -i input.mp4 frame_%05d.png

If you’d rather not use the command line, VLC’s scene filter can save frames automatically, and most video editors, including Premiere Pro, DaVinci Resolve and Final Cut Pro, can export a timeline as a PNG image sequence. All three methods are covered below.

Before you start: how many frames and how much space

Videos contain a lot of frames. The count is simply the frame rate multiplied by the length in seconds:

  • A 1-minute clip at 30 fps has 1,800 frames.
  • A 10-minute clip at 24 fps has 14,400 frames.
  • A 1-minute clip at 60 fps has 3,600 frames.

PNG is lossless, so each file is much larger than a compressed video frame. A single 1080p PNG often lands somewhere in the low single-digit megabytes, and 4K frames are larger still, depending on how detailed the image is. Exporting every frame of even a few minutes of footage can take many gigabytes. If you don’t need every frame, export at an interval instead, and put the frames in their own folder so they’re easy to manage.

Method 1: ffmpeg (free, any platform)

Install ffmpeg

  • Windows: Download a build linked from the official ffmpeg website, or install it with a package manager such as winget.
  • macOS: The simplest route is Homebrew: brew install ffmpeg.
  • Linux: Install it from your distribution’s package manager, for example sudo apt install ffmpeg on Debian or Ubuntu.

Open a terminal (or Command Prompt or PowerShell on Windows) in the folder that contains your video, or use full file paths in the commands.

Export every frame

mkdir frames
ffmpeg -i input.mp4 frames/frame_%05d.png

The %05d part tells ffmpeg to number the files with five digits: frame_00001.png, frame_00002.png and so on. Zero-padded numbers keep the files in the right order when sorted. Use %06d for very long videos.

Export one frame every N seconds

Use the fps filter to choose how many frames to keep per second:

ffmpeg -i input.mp4 -vf fps=1 frames/frame_%04d.png

That saves one frame per second. For one frame every 5 seconds, use fps=1/5. For 10 frames per second, use fps=10.

Export a time range

To export only part of the video, add a start time with -ss and a duration with -t:

ffmpeg -ss 00:01:30 -i input.mp4 -t 10 frames/frame_%04d.png

This starts at 1 minute 30 seconds and exports 10 seconds of frames.

Export a single frame

ffmpeg -ss 00:00:42.5 -i input.mp4 -frames:v 1 still.png

The -frames:v 1 option stops after one frame. This is handy for grabbing a thumbnail at an exact timestamp.

Resize while exporting

If full-size frames are more than you need, scale them on the way out:

ffmpeg -i input.mp4 -vf "fps=2,scale=1280:-1" frames/frame_%04d.png

The -1 keeps the original proportions. You can combine filters by separating them with commas, as shown.

Method 2: VLC’s scene filter

VLC media player has a built-in “scene filter” that saves frames as images while the video plays. The setup is a little hidden:

  1. Open Tools > Preferences (on macOS, VLC > Settings) and switch the view to All settings.
  2. Go to Video > Filters > Scene filter.
  3. Set the image format to png, choose a destination folder, and set the recording ratio. A ratio of 1 saves every frame; a ratio of 30 saves one frame out of every 30.
  4. Go to Video > Filters and tick Scene video filter to turn it on.
  5. Save, restart VLC if needed, and play the video. Frames are written to the folder as it plays.

Remember to turn the scene filter off afterward, or VLC will keep saving frames from every video you open. Because it works during playback, this method takes as long as the video’s running time, and it’s less precise than ffmpeg. It’s a reasonable option if you already use VLC and want to avoid the command line.

Method 3: Export a PNG image sequence from an editor

Exporting from an editor makes sense when you’ve trimmed, color corrected or added effects, because the frames will include those changes.

  • Premiere Pro: Open the Export settings, choose PNG as the format, and make sure the option to export as a sequence is turned on. Premiere writes one numbered PNG per frame. Set in and out points first if you only want part of the timeline.
  • DaVinci Resolve: On the Deliver page, choose a custom export and pick an image format from the format list. The formats available can vary by version; TIFF and DPX are long-standing choices for image sequences. Resolve writes one file per frame.
  • Final Cut Pro: Use the Image Sequence share destination, which you may need to add in Final Cut Pro’s Destinations settings. You can choose PNG among the export formats.

If you need to bring footage into Resolve first, see how to import a video into DaVinci Resolve.

Why PNG (vs. JPEG and TIFF)

  • PNG is lossless and almost universally supported, which makes it the usual choice for frame sequences that will be edited, analyzed, traced or used for animation.
  • JPEG files are far smaller, which helps if you’re exporting thousands of frames just to browse them. Use a high quality setting; with ffmpeg, adding -q:v 2 to a .jpg output keeps quality high.
  • TIFF is lossless too and supports higher bit depths, which matters for professional grading and VFX pipelines.

Keep in mind that the source video was already compressed. Saving to PNG doesn’t add detail; it just avoids adding a second round of loss.

Troubleshooting

  • Too many files, or your disk filled up. Stop the export (Ctrl + C in the terminal), delete the partial frames and use an fps value to export fewer.
  • Frames are numbered in the wrong order. Use zero-padded numbering like %05d so files sort correctly.
  • Jagged horizontal lines in the frames. The footage is probably interlaced. With ffmpeg, add a deinterlacing filter such as yadif (for example -vf "yadif,fps=1"). Our article on deinterlace video meaning explains what’s going on.
  • Colors look flat or wrong. Log or HDR footage often needs color conversion. Exporting from an editor after grading usually gives better results than a raw ffmpeg export.
  • The frame count doesn’t match what you expected. Some phone videos use a variable frame rate. Setting an explicit fps value gives you a predictable result.

If you only need a handful of frames, it’s quicker to pick them by hand. Our guide on how to get stills out of a video covers simple point-and-click methods. And if you want to go the other direction, turning a folder of images back into a clip, see how can I make a video out of my photos.

The complete guide to stills from video

How to Create Stills From Video
Read the guide

Keep exploring

Guides from other topics

All topics →