Extract frames from a video as JPGs
One full-size JPG for every second of a 40-second video, named by time.
A real run on 13 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan. The waiting is sped up; it took 1 min 24 s in real time.
The short answer.
ffmpeg does it in one line: ffmpeg -i video.mp4 -vf fps=1 -q:v 2 frame_%03d.jpg saves one JPG per second at full size. Without a command line, VLC's Scene video filter saves frames while the video plays. Online frame grabbers often shrink the pictures. Stella (stella.sh) saved 40 full-resolution JPGs from a bird-feeder video, one per second, named by their time in the video.
Stella does this on Windows, Mac and Linux.
What happened.
40 JPGs in about 1 minute 25 seconds. Checked afterwards against an answer key written before the run, using a time code drawn into each frame: 40 JPGs at the full 1920×1080, exactly one second apart in file-name order, covering the whole video from 0 to 39 seconds, and the video unchanged.
The video is a drawn animation made for this run, with a small time code in the corner for checking. The work is sped up 3×.
How Stella does it.
- Finds “Bird feeder” in Videos: 40 seconds at 1920×1080
- Saves one frame for each second, 0 to 39, at the video's full resolution and the highest JPG quality
- Names each file by its moment, from Bird feeder 00m00s.jpg to 00m39s.jpg, so they sort in order and you can find the moment in the video
- Looks at a sample frame and reads the video's time code in several frames to confirm they're one second apart
- Puts them in a new Bird feeder frames folder next to the video, leaves the video unchanged, and says it didn't search for the woodpecker itself
The prompt.
Save a picture for every second of the 'Bird feeder' video in my Videos folder, as full-quality JPGs, so I can pick the best shot of the woodpecker.
This is the exact prompt from the recording. If your files are somewhere else, say where.
Do it yourself.
ffmpeg (Windows, Mac, Linux)
ffmpeg -i "Bird feeder.mp4" -vf fps=1 -q:v 2 "frame_%03d.jpg"saves one frame per second, numbered 001, 002 and so on.-q:v 2is near-top JPG quality (1 is the highest). Usefps=5for five per second, or PNG for no compression.VLC's Scene filter
In VLC's preferences, choose Show settings: All, then Video, Filters, Scene filter. Set the image format to jpg, a folder, and the recording ratio to the video's frame rate (25 for one picture per second at 25 fps). Tick Scene video filter under Video, Filters, play the video through, then untick it.
One frame at a time
Pause on the moment and use VLC's Video, Take Snapshot, or QuickTime's Edit, Copy on a Mac, which copies the paused frame at full size. Fine for one or two shots, not forty.
Zoom in around the moment
If the action is quick, first save one per second, find the right second, then extract every frame of just that stretch:
ffmpeg -ss 22 -t 4 -i video.mp4 -q:v 2 woodpecker_%03d.jpg.Know the limit
A video frame is only as sharp as the video. Fast movement is often blurred in a single frame, and phone video is compressed, so frames look softer than a photo taken at the same resolution.
Where it stops.
- One picture per second can miss a split-second moment. Ask for more per second around the part you care about.
- It didn't pick the best shot for you. It looked at one sample frame to check its work; it can look through them for the woodpecker if you ask, which sends those pictures to the AI model.
- File names, the video's details and that one sample frame went to the AI model you use in Stella; the frames were saved on your computer.
- Recorded on Linux with ffmpeg already installed. On a Mac or Windows PC Stella would usually download ffmpeg first, which isn't shown.
Questions.
How do I get a high-quality still from a video?
Extract the frame directly from the file at full resolution rather than taking a screenshot of the player. ffmpeg with -q:v 1 or -q:v 2, or PNG output, keeps the most detail.
How many frames does a video have?
Its frame rate times its length: a 40-second video at 25 fps has 1,000. One per second is usually plenty to find a moment; then extract every frame near it.
Can I turn the frames into a GIF instead?
Yes: see make a GIF from a video.
Can it sort or rename the pictures afterwards?
Yes, in the same chat. For photo collections, see find duplicate photos and resize images in bulk.
Is Stella free for this?
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.
Can I control what Stella changes on my computer?
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.
Checked against these sources on 13 November 2026.