Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use -ss to set the start, then choose -t for a duration or -to for an absolute end time. Add -frames:v 1 when you need one still, -vf fps=N for evenly spaced images, or -vf "select='between(t,start,end)'" when the timestamps themselves define which frames to keep.

The quickest examples are:

ffmpeg -ss 00:01:00 -i input.mp4 -frames:v 1 screenshot.png

ffmpeg -ss 00:01:00 -i input.mp4 -t 00:00:10 -vf fps=1 -fps_mode passthrough frames_%04d.png

ffmpeg -ss 00:01:00 -i input.mp4 -to 00:01:10 -fps_mode passthrough frames_%04d.png

Choose the command that matches your time range

FFmpeg has two different ideas of an ending point. -t is how long to process after the start; -to is the absolute stop position in the input. They are mutually exclusive, and FFmpeg gives -t priority if both are supplied.

Goal Command pattern What it means
One screenshot -ss start -frames:v 1 Write the first decoded video frame at or near the requested start.
One image every second for a fixed duration -ss start -t duration -vf fps=1 Generate a regular one-frame-per-second sequence.
Every selected frame between absolute times -vf "select='between(t,start,end)'" Keep frames whose presentation timestamp falls inside the interval.
Stop at an absolute input timestamp -ss start -to end Process from the start until the stated input position.

Take a single screenshot at a time

For a still around one minute into a video, run:

ffmpeg -ss 00:01:00 -i input.mp4 -frames:v 1 screenshot.png

Here -ss is placed before -i, making it an input seek. -frames:v 1 stops the video output after one frame, so FFmpeg does not create a sequence.

Use fractional seconds

FFmpeg accepts fractional positions, including values such as -ss 22.0393 or the time-formatted -ss 00:01:00.500. The actual precision is limited by the source’s frame timestamps: a 24-fps video cannot provide a genuinely unique frame at every millisecond.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Make the still more exact

Input seeking is fast, but most formats cannot seek to an arbitrary frame. FFmpeg seeks to the closest seek point before the requested position, normally a keyframe, then begins decoding. If the exact visual moment matters, put -ss after -i:

ffmpeg -i input.mp4 -ss 00:01:00.500 -frames:v 1 exact-ish.png

This decodes from the beginning (or from the nearest usable point chosen by the demuxer) up to the requested time and can be substantially slower. “Exact” still means the nearest frame represented by the file’s timestamps, so inspect the resulting image when frame-level accuracy is important.

Extract one frame every second in a range

To capture one image per second beginning at 01:00 and continuing for 10 seconds, use the fps filter:

ffmpeg -ss 00:01:00 -i input.mp4 -t 00:00:10 -vf fps=1 -fps_mode passthrough frames_%04d.png

fps=1 creates a regular one-frame-per-second output cadence. frames_%04d.png names files frames_0001.png, frames_0002.png, and so on. The ten-second duration is measured from the seeked start, not from the beginning of the file.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Change the sampling rate

Replace the filter value with the number of output frames per second. For example, -vf fps=2 produces two images per second, while -vf fps=0.2 produces one every five seconds. A fixed count over a known interval can be calculated as fps = count / duration.

Use an absolute end instead

For the interval from 01:00 through 01:10, use:

ffmpeg -ss 00:01:00 -i input.mp4 -to 00:01:10 -fps_mode passthrough frames_%04d.png

This expresses the endpoint as an input timestamp. Do not add -t to this command; the options are mutually exclusive, and -t takes precedence when both appear.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Keep every source frame whose timestamp is in the interval

The fps filter resamples to a regular cadence. If instead you want every original frame with a presentation timestamp between 60 and 70 seconds, use the select filter:

ffmpeg -i input.mp4 -vf "select='between(t,60,70)'" -fps_mode passthrough frames_%04d.png

The expression evaluates each frame’s time in seconds. The boundaries are inclusive in the between expression, so frames at 60 and 70 seconds are eligible when the file contains those timestamps. Because FFmpeg may need to decode a large portion of the input to evaluate the expression, this method can be slower than seeking to a start point first.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use a seek plus a relative expression

For long files, you can seek near the beginning of the range and make the filter expression relative to that point, but remember that input seeking can land before the requested keyframe. When boundary accuracy matters, decode-and-select from the input and verify timestamps rather than assuming the seek position is exact.

Understand -ss placement and keyframes

Before -i: fast input seeking

ffmpeg -ss 00:01:00 -i input.mp4 ... asks FFmpeg to seek in the input before decoding. This is usually the best choice for large files or routine thumbnail generation, but the seek may land on the closest keyframe before 01:00. The first output image can therefore show a moment slightly earlier than requested.

After -i: output seeking

ffmpeg -i input.mp4 -ss 00:01:00 ... decodes up to the target and then seeks in the decoded stream. It costs more CPU and time, but is preferable for a precision-sensitive still.

Verify instead of guessing

Open the generated image and compare it with nearby frames. If it is early, move the requested timestamp forward by a small amount or use output seeking. For automated workflows, retain the source timestamps and treat the image number as a filename sequence, not as proof of an exact presentation time.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Output formats, naming and frame-rate details

Choose an image format

  • PNG is lossless and useful for text, diagrams and later processing.
  • JPEG is smaller but introduces compression artifacts; choose a quality setting when needed, for example -q:v 2.
  • WebP can reduce size while retaining good quality when your FFmpeg build includes WebP support.

Use an image extension matching the intended encoder. Add a size filter when you need a fixed thumbnail:

ffmpeg -ss 00:01:00 -i input.mp4 -t 00:00:10 -vf "fps=1,scale=1280:-2" frames_%04d.jpg

Why -fps_mode passthrough matters

After a select filter, the retained frames are not necessarily evenly spaced. -fps_mode passthrough tells the output path to preserve those selected timestamps instead of duplicating or dropping frames to force a nominal rate. Older FFmpeg builds may use the equivalent spelling -vsync 0.

Prevent accidental overwrites

FFmpeg prompts before replacing an existing file. Add -y only when an automated job is intentionally allowed to overwrite outputs; otherwise leave the prompt enabled or write into a new directory.

Common failures and fixes

The image is before the requested time

This is normally keyframe-based input seeking. Move -ss after -i, or seek before the target and decode with a filter that selects the exact interval. Verify the source’s frame timestamps.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

No files are written

Check that the end is later than the start, the input actually contains that interval, and the output directory is writable. With select, confirm the expression uses seconds and balanced shell quotes.

Only one image appears from a range

-frames:v 1 deliberately limits output to one frame. Remove it for a sequence and add -vf fps=1 or a select expression depending on whether you want regular sampling or every qualifying source frame.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

The command stops at the wrong endpoint

Decide whether the second value is a duration or an absolute timestamp. Use -t 00:00:10 for ten seconds after the start, and -to 00:01:10 for an absolute 01:10 endpoint. Do not specify both.

Frames are duplicated or missing

Use -fps_mode passthrough after timestamp-based selection (or -vsync 0 on older versions). A variable-frame-rate source may still have irregular timestamps; that is a property of the input, not necessarily an extraction error.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The output looks soft or has unexpected colors

The source may be low resolution, interlaced, HDR, or encoded with a pixel format that the selected image encoder converts. Try PNG for analysis, inspect the source properties, and add an explicit scale or format filter only when your downstream software requires it.

Performance and reliability choices

  • Fastest routine thumbnails: put -ss before -i and output one frame or a modest fps rate.
  • Highest timing confidence: put -ss after -i, or decode and use select; expect more decoding work.
  • Large batches: create a separate output directory, use deterministic names, and check the process exit code before marking a job complete.
  • Long or variable-frame-rate videos: use timestamp expressions and passthrough mode, then inspect representative boundary frames.
  • Storage planning: estimate the number of images before running. A 10-minute interval at 1 frame per second creates about 600 files, while selecting every source frame can create far more.

FFmpeg’s progress and diagnostic output goes to the terminal. Keep it in CI logs, and capture the command line, input duration and FFmpeg version alongside generated assets so a later rerun can be compared.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If your goal is a screenshot of a live web page rather than a frame from a local video, ScreenshotNeo provides a single HTTP request. It accepts cookie and consent banners before capture and removes more than 60 known consent platforms, newsletter popups and chat widgets; each step can be disabled. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and response headers report the page verdict and billing status.

See the ScreenshotNeo API documentation for all options. A cURL request is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

ScreenshotNeo also offers an MCP server for Claude, Cursor and other MCP clients, so AI agents can call take_screenshot, get_page_info and capture_pdf. Features include full-page and CSS-selector captures, dark mode, device and viewport controls, retina scale, PDF settings, custom CSS and JavaScript, click and wait actions, request blocking, headers, cookies, user-agent, authorization, timezone, geolocation, transparent backgrounds, resizing, chosen-TTL caching, signed links, asynchronous webhooks, bulk capture for up to 100 URLs per call, usage reporting and an OpenAPI specification. Its parameter names are compatible with those used by many other screenshot APIs.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

The Free plan includes 1,000 screenshots per month with no card. Paid plans start at $5 for 3,000 screenshots; every feature is available on every plan. Create a free ScreenshotNeo account.

Frequently asked questions

Can I use a time such as 90.5 seconds?

Yes. Use seconds or a formatted timestamp such as -ss 00:01:30.500. The source’s frame rate determines the nearest representable frame.

Should the end frame be included?

select='between(t,start,end)' treats both boundaries as eligible when matching timestamps exist. Duration-based output is governed by the generated filter cadence and may not contain a frame exactly at the endpoint.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why does selecting every frame use so much CPU?

FFmpeg may decode a large section of the input to evaluate each frame’s timestamp. Regular fps sampling after a seek is usually cheaper when you do not need every source frame.

Can I extract screenshots from audio-only files?

No. The commands require a video stream. Confirm that the input contains video before choosing an output pattern.

Frequently Asked Questions

Can I use a time such as 90.5 seconds?

Yes. Use seconds or a formatted timestamp such as -ss 00:01:30.500; the source frame rate determines the nearest representable frame.

Should the end frame be included?

The between(t,start,end) expression includes both boundaries when matching timestamps exist. Duration-based output follows the filter cadence and may not produce a frame exactly at the endpoint.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why does selecting every frame use so much CPU?

FFmpeg may decode a large section of the input to evaluate each frame timestamp. Regular fps sampling after a seek is usually cheaper when every source frame is unnecessary.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.