STILLS & FRAMES

Extract a full-resolution frame, not a screenshot of the player

A measured comparison of player screenshots and decoded frame extraction, with seek timing, PNG and JPG sizes, and the color checks a still needs.

A cinema camera monitor showing a single frame of a person in a hallway
Illustrative stock photo: cottonbro studio / Pexels. The photo is not a screenshot demonstrating the steps in this guide.
AT A GLANCE

A screenshot records the player at window size. A frame extract decodes the file at its native resolution. The difference is geometry first, then encoding and color handling.

A screenshot is a picture of the player

When you pause a video and press the screenshot key, the app captures what is on screen. The path is not source file to image. The player decodes a frame, scales it to the window, composites controls or subtitles, applies a display transform, and hands the result to the operating system's screen capture. The still is a record of that rendering.

The arithmetic is simple and often overlooked. A 3840×2160 source shown in a 1920×1080 window retains one quarter of the source pixels. Shown in a 1280×720 window, it retains one ninth. The screenshot may look sharp because the window is sharp, but the file cannot contain more detail than the window raster. Scaling also resamples edges, so text and fine patterns can soften even before image compression.

An extracted frame takes a different path. The decoder produces the frame at its coded resolution, and the image encoder writes that raster to PNG or JPG. Player controls, notifications, cursor, letterboxing and the operating system's color transform are not automatically included. The tradeoff is that you need the actual file and an exact timestamp, not just a paused window.

What changes when seek moves before the input

FFmpeg's -ss option behaves differently before and after -i. Before the input, it seeks to a nearby keyframe and then decodes forward to the requested time when transcoding. After the input, it decodes from the start of the file and discards frames until the target. Both paths can land on the same picture; they do different amounts of work.

MethodRequestedElapsedSource frameDimensionsBytesSHA-256 prefix
Input seek4.200 s0.1097 s1261280×720198,8215f24153a0b01
Output seek4.200 s0.1788 s1261280×720198,8215f24153a0b01

The hashes and byte counts matched exactly. The input-seek version was faster on this 10-second, 1280×720, 30 fps source. On a 120-second source asked for 110 seconds, the difference was larger: a median of 0.0492 seconds for input seek versus 0.2302 seconds for output seek. Both matched the same reference frame hash. The input seek still had to decode from a keyframe, but it did not decode the first 110 seconds.

Do not turn this into a universal speed claim. The ratio depends on keyframe spacing, codec, storage, CPU and the requested timestamp. The useful conclusion is that the same frame can be reached by two routes, and a hash is a better check than a stopwatch.

Conceptual diagram for A frame, not a screenshot
Original ToolWillow diagram. Illustrated concept, not measured product results.

Freeze the frame you actually chose

For a single still, ask for one video frame and no audio. With input seeking and an explicit overwrite-friendly image output, the command shape is:

ffmpeg -ss 4.200 -i source.mp4 -map 0:v:0 -frames:v 1 -an -update 1 still.png

-frames:v 1 stops after one video frame. -an omits audio. -update 1 tells the image muxer to overwrite the target instead of refusing because the filename already exists. Without it, some FFmpeg builds stop with “Cannot write more than one file with the same name” when the output file is present.

If you know the decoded frame number rather than the timestamp, use the select filter. Frame numbers count decoded frames, not seconds:

ffmpeg -i source.mp4 -vf "select=eq(n\,126)" -fps_mode passthrough -frames:v 1 -an still.png

At a constant 30 fps, frame 126 is near 4.200 seconds, but the exact timestamp depends on where the frame's presentation time falls. For variable-frame-rate video, frame number / fps is not a reliable timestamp at all. Step one frame in a player, read the displayed timecode, and verify the extracted still against the surrounding frames.

PNG, JPG and the detail already lost

PNG is lossless. It stores the decoded frame exactly, which makes it the better choice for text, interface elements, sharp edges and any still that will be edited again. The cost is size: the 1280×720 test frame was 198,821 bytes.

OutputDimensionsBytesVs PNGPSNR vs PNGBest use
PNG1280×720198,821100%ReferenceEditing, text, UI, exact pixels
JPG, q=21280×72091,55246.0%30.53 dBSmaller share copy with good detail
JPG, q=81280×72048,95624.6%29.64 dBQuick reference, low page weight
Player screenshot854×48026,62513.4%25.34 dB after upscaleEvidence of the player view, not the source

The screenshot was only 44.5% of the source's pixel count. Its 25.34 dB PSNR is measured after upscaling it back to the reference size, so it combines scaling loss, player processing and JPG compression. The two extracted JPGs used the same decoded frame and differ only in encoder quality. PSNR is a consistency check, not a verdict on which image a person will prefer.

Neither PNG nor JPG can restore detail that the video codec already discarded. A compressed source frame may contain blocking, banding or mosquito noise around edges. A lossless still preserves those artifacts exactly. Upscaling the still invents pixels; it does not recover resolution.

Why the still can look different from the preview

An extracted image preserves the decoded code values, but it may not reproduce what the player showed. Color primaries, transfer function, matrix coefficients and range flags can be interpreted differently by the image writer and the player. HDR video adds a tone-mapping step: the player may map a bright highlight into a display-friendly range, while the extracted PNG stores values that look dark or washed out in an SDR viewer.

Rotation is a second separate check. A phone clip with a display matrix may decode to a portrait presentation while the coded raster is landscape. If the extraction tool honors rotation, the still may be portrait; if it ignores it, the still may be sideways. Neither result changes the encoded pixels. Interlaced sources add a third issue: a single field can show combing, and the player may deinterlace while the raw extract does not.

Do not diagnose a color problem from one viewer. Compare the still with a frame from the same timestamp in a color-managed application, and inspect the file's color tags if the difference matters. If the source is HDR and the destination is SDR, treat the still as part of a conversion workflow, not as a neutral reference.

A short extraction procedure

  1. Choose the moment in the source player and step one frame at a time. Write down the timestamp and the frame number if the player shows one.
  2. Extract a PNG at the source resolution. Do not resize during extraction.
  3. Inspect the still at 100% for focus, motion blur, compression and the exact expression you wanted.
  4. If the still needs a different crop or size, make that a separate edit and keep the original extraction.
  5. Record the source duration, coded dimensions and timestamp so the still can be reproduced.
  6. Choose JPG only for a smaller sharing copy; keep the PNG if the still will be edited or published at large size.

The browser frame extractor accepts a timestamp and writes PNG or JPG. It is intended for files under 100 MB. Browser memory, codec support and the source's resolution still apply, and the browser build may produce different bytes from desktop FFmpeg. The measured samples here come from desktop FFmpeg 8.1.1, not from the browser tool.

Download the full-resolution frame · JPG q=2 · JPG q=8 · Player screenshot

When a screenshot is still the right tool

A screenshot is the correct choice when the player itself is the subject: a menu, a subtitle placement, a controls overlay, a DRM-free interface you are authorized to document, or a bug that appears only in the player. It is also fine for a quick reference where exact pixels do not matter and the source file is not available.

It is the wrong choice when you need the largest available raster, a clean plate without controls, or a reproducible frame for comparison. It is also not a way around access controls or a substitute for permission to use the material. Extract only from content you have the right to use, and keep the source file separate from the derived still.

The practical rule is simple: if you want the picture, decode the file. If you want the player, capture the player. Say which one you did, because the two images are evidence of different things.

Common questions

Why is my extracted frame blurry?

The source may be low resolution, compressed, motion-blurred or interlaced. Extraction cannot restore detail. A screenshot usually adds scaling and player processing on top.

Does -ss before -i give the wrong frame?

With transcoding and accurate seek enabled, FFmpeg decodes to the requested timestamp. With stream copy, input seek starts at a keyframe and can include extra frames. Verify the output frame, not the command order alone.

PNG or JPG for a video still?

PNG for text, interface edges and further editing; JPG for a smaller sharing copy. Both are limited by the decoded video frame.

Can I extract a higher resolution than the video?

No. Upscaling invents pixels. Use the native coded frame size unless you deliberately want a resampled version.

Why does the still look darker than the player?

Color tags, HDR transfer and player tone mapping can differ. Compare in a color-managed application and do not judge an HDR still in an SDR viewer.

Sources & further reading

Written for ToolWillow with original explanations and examples. Consult current product documentation for controls that vary by version.

Try the free browser tools →