Video Frame Extractor: Scenes, Keyframes, Thumbnails, JPG/PNG avatar

Video Frame Extractor: Scenes, Keyframes, Thumbnails, JPG/PNG

Pricing

from $0.70 / 1,000 frame extracteds

Go to Apify Store
Video Frame Extractor: Scenes, Keyframes, Thumbnails, JPG/PNG

Video Frame Extractor: Scenes, Keyframes, Thumbnails, JPG/PNG

Give direct video file URLs (MP4, WebM, MOV, MKV) and get one JSON row per frame: public image link, timestamp, size and video metadata. Every N seconds, N thumbnails, scene changes, keyframes or exact times. No login or API key. Only new videos mode for schedules. Failed videos are free.

Pricing

from $0.70 / 1,000 frame extracteds

Rating

0.0

(0)

Developer

Ctrio Lab

Ctrio Lab

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Video Frame Extractor (scenes, keyframes, thumbnails, every N seconds)

Turn direct video file URLs into still images. Pick how frames are chosen, get one dataset row per frame with a public image link, the exact timestamp and the video metadata. Everything runs with FFmpeg inside the Actor: no third-party API, no API key.

  • Works with MP4, WebM, MOV, MKV, AVI, M4V, OGV and most other formats FFmpeg reads (H.264, H.265/HEVC, VP8, VP9, AV1, MPEG-4).
  • Five ways to pick frames:
    • N evenly spaced frames: thumbnails or a storyboard (the centre of each slice, so no black first frame).
    • Every N seconds: 1 per second, 2 per second, 1 per minute, anything.
    • Scene changes: one clean frame per shot, taken after cuts and dissolves settle. Great for AI vision, video summaries and search indexes.
    • Keyframes: the codec I-frames, the fastest way through very long videos.
    • Exact timestamps: 90.5, 1:30 or 01:02:03.5.
  • JPG, PNG or WebP, quality setting, resize by max width and height (never upscaled). Phone videos are turned upright.
  • Optional contact sheet: one grid image per video with timecodes (free).
  • Video metadata in every row: length, resolution, fps, codec, pixel format, bitrate, container, audio track, file size.
  • Trim with Start at and End at, cap frames per video, file size and length limits.
  • Only new videos mode for scheduled runs over a list of URLs.
  • Videos that fail are never charged: broken links, web pages instead of files, files without video, files above your limits.

Direct file URLs only. The URL must return the video file itself (for example https://example.org/clip.mp4). Pages of YouTube, TikTok, Instagram, Facebook, X, Vimeo, Twitch and similar platforms are rejected at once and not charged, because their terms do not allow downloading. Use your own storage links (S3, Google Cloud Storage, Cloudflare R2, a CDN), links from your CMS, or public archives such as Wikimedia Commons and NASA.

How to use

  1. Paste one or more direct video links into Video file URLs.
  2. Choose Which frames: N evenly spaced, every N seconds, scene changes, keyframes or exact timestamps, and set the number next to it.
  3. Optionally pick the image format, a max width, a time range or the contact sheet.
  4. Run. Open the Frames tab to see the images, or download the rows as JSON, CSV or Excel. Each imageUrl is a public link you can use directly, for example as input to an AI vision model.

If you start the Actor with an empty input, it extracts 10 frames from a 17-second public domain clip (Ranger 8 launch, NASA/JPL, via Wikimedia Commons) so you can see the output.

Input example

{
"videoUrls": [
"https://images-assets.nasa.gov/video/NG%2015%20Rollout%20and%20Lift%20Video/NG%2015%20Rollout%20and%20Lift%20Video~mobile.mp4"
],
"mode": "scenes",
"imageFormat": "jpg",
"maxWidth": 1280,
"contactSheet": true
}

Output example

One row per frame (real output, shortened):

{
"videoUrl": "https://images-assets.nasa.gov/video/NG%2015%20Rollout%20and%20Lift%20Video/NG%2015%20Rollout%20and%20Lift%20Video~mobile.mp4",
"videoIndex": 1,
"frameIndex": 2,
"timestampSeconds": 60.867,
"timecode": "00:01:00.867",
"imageUrl": "https://api.apify.com/v2/key-value-stores/<id>/records/v001-f00002-t000060867ms.jpg?signature=<...>",
"imageKey": "v001-f00002-t000060867ms.jpg",
"format": "jpg",
"width": 320,
"height": 180,
"mode": "scenes",
"sceneScore": 19.46,
"contactSheetUrl": "https://api.apify.com/v2/key-value-stores/<id>/records/v001-contact-sheet.jpg?signature=<...>",
"video": {
"fileName": "NG 15 Rollout and Lift Video~mobile.mp4",
"durationSeconds": 159.467,
"width": 320,
"height": 180,
"fps": 15,
"videoCodec": "h264",
"pixelFormat": "yuv420p",
"bitRate": 317103,
"container": "mov,mp4,m4a,3gp,3g2,mj2",
"hasAudio": true,
"audioCodec": "aac",
"fileSizeBytes": 6320929
}
}

The SUMMARY record in the key-value store lists every video with its metadata and contact sheet, and every skipped video with the reason.

Output fields

FieldTypeMeaning
videoUrlstringVideo file URL from the input
videoIndexintegerPosition of the video in the input list, from 1
frameIndexintegerPosition of the frame in its video, from 1
timestampSecondsnumberTime of the frame in seconds
timecodestringSame time as hh:mm:ss.mmm
imageUrlstringPublic link to the frame image
imageKeystringRecord key of the image in the run key-value store
formatstringjpg, png or webp
width, heightintegerSaved image size in pixels
bytesintegerSaved image file size
modestringcount, interval, scenes, keyframes or timestamps
sceneScorenumberScenes mode only: picture change (0 to 100) that started the shot
contactSheetUrlstring or nullGrid image of all frames of the video, null when off
extractedAtstringExtraction time, ISO 8601 UTC
videoobjectSource video metadata: fileName, durationSeconds, width, height, fps, videoCodec, pixelFormat, bitRate, container, rotation, hasAudio, audioCodec, frameCountHint, fileSizeBytes

Pricing

Pay per event: $0.001 per extracted frame ($1 per 1,000 frames). Store discounts: Bronze $0.0009, Silver $0.0008, Gold and above $0.0007 per frame. Contact sheets, metadata and skipped or failed videos are free. You can cap the cost of a run with the Max cost per run setting in Apify; the Actor stops cleanly when it is reached.

Platform usage (compute) is billed to your Apify account as for any Actor. It is small, measured with the default 1 GB memory:

JobRun timeCompute
10 thumbnails from a 17 s clip (empty input)6 s0.002 CU
1 frame per minute from a 52 min, 129 MB MP4 (53 frames)10 s0.003 CU
Keyframes every 30 s or more from the same 52 min MP4 (98 frames)14 s0.004 CU
Scene changes in the same 52 min MP4 (300 frames, the whole video is decoded)154 s0.043 CU

So 1,000 thumbnails usually cost about $1 plus a few cents of compute. Scene detection decodes every frame, so long high-resolution videos take longer: give the run more memory (2 to 4 GB) to make it faster.

Tips

  • Thumbnails for a video library: mode N evenly spaced frames, 1 to 5 frames, max width 640, WebP.
  • Frames for AI vision or a video summary: mode Scene changes gives one frame per shot, so you do not pay to analyse 30 near-identical frames of the same scene. Add a max width of 768 or 1024 to keep the images small.
  • Very long videos (hours): Keyframes or Every N seconds are fastest, because the Actor jumps straight to the frames it needs.
  • Scene sensitivity: 10 suits most edited videos. Use 5 for slow fades, 20 or more for shaky handheld footage.
  • Monitoring: use Only new videos with a schedule to process only new URLs from a list. The state is kept in a named key-value store (Monitor name).

FAQ

Can I use a YouTube, TikTok or Instagram link? No. This Actor only accepts direct file URLs. Platform pages are rejected immediately and not charged.

How long can a video be? Up to 720 minutes and 5 GB per file, with defaults of 180 minutes and 1,000 MB that you can raise.

Where are the images stored? In the run's default key-value store, with public links in the dataset. They follow your Apify data retention settings. Download them or copy them to your own storage if you need them longer.

Does it extract audio or subtitles? No, only images and metadata.

Can I call it from code or an AI agent? Yes, like any Apify Actor: the Apify API, the JavaScript and Python clients, Make, Zapier, n8n or the Apify MCP server.

Licenses

Built on FFmpeg through PyAV (BSD, FFmpeg LGPL) and Pillow. Sample video: public domain (NASA/JPL). You are responsible for having the right to process the videos you submit.

Made by Ctrio Lab. Questions or feature requests: open an issue on the Actor page or write to help@ctriolab.com.

If this Actor saved you time, a short review on its Apify Store page helps other people find it. Thank you.