Video Frame Extractor (direct links) for AI Vision
Pricing
from $1.00 / 1,000 frame extracteds
Video Frame Extractor (direct links) for AI Vision
Turn direct video links (MP4, MOV, WebM, MKV, TS, AVI) into still frames: N evenly spaced, one every X seconds, or exact timestamps. $0.003 per video + $0.001 per frame (10 frames = $0.013) + Apify's small start fee. Failed videos and blank frames are free. Not for YouTube/TikTok pages.
Pricing
from $1.00 / 1,000 frame extracteds
Rating
0.0
(0)
Developer
Seisuke Nagahara
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Turn direct video links into still images you can hand to an AI vision model, use as thumbnails, or check by eye.
- Three ways to pick frames: N frames spread evenly, one frame every X seconds, or exact timestamps.
- Only the bytes around each moment are downloaded (HTTP range seeking), so a 2-hour file does not have to be fetched in full for 10 frames.
- Blank frames are skipped for free: a black fade or white flash at the chosen moment steps forward 0.5 s (up to twice); if it is still blank, it is not output and not charged.
- Pay only for what is delivered. Failed links, unreadable files, blank frames and out-of-range timestamps are free rows that tell you why.
- Agent friendly: one flat row per frame with a direct image link, timecode and size. Optional base64 data URI in the row, so a workflow can pass the frame straight to a vision model.
- Chain after another Actor: give a dataset ID and the Actor picks the video link from each row (
videoUrl,downloadUrl,mediaUrl,urlor a field you name).
What links work
Direct links to video files you own or are allowed to process: MP4, MOV, M4V, WebM, MKV, TS, AVI. For example your own storage, S3 / R2 / GCS signed URLs, a CDN, or Dropbox links ending in ?dl=1. Make sure you have the rights to the videos you process.
Not supported: pages on video platforms (YouTube, TikTok, Instagram, Facebook, X, Vimeo, Twitch and similar) — their terms do not allow downloading, so these links are refused (free). Streaming playlists (HLS .m3u8, DASH) are not supported either.
Safety and limits
- Links are checked before and after every redirect, and again when the connection is made: private, local, link-local and cloud-metadata addresses are refused.
- ffmpeg never contacts your URL directly: it reads through a local checking proxy, so a signed URL's signature never appears in logs or error messages. In output rows, signature-like query values (
X-Amz-Signature,token,sig, ...) are shown asREDACTED. - Per video: at most
maxDownloadMbPerVideoMB fetched (default 200),maxSecondsPerVideoseconds (default 300),maxFramesPerVideoframes, and the firstmaxDurationMinutesminutes. When a limit stops a video, frames not taken are free. - No temporary video files: frames are decoded in memory from the bytes around each moment.
- Who can open the images: frame links point to this run's key-value store and follow your account's storage access setting. If your account restricts storage access, the links need your API token (
?token=...or anAuthorizationheader); otherwise anyone who has a link can open it. Don't process videos whose frames must stay private without restricted access.
Try it
The input form is pre-filled with a 10-second sample video made by ASUNOKI for this Actor (a synthetic test pattern with a 1-second black intro, so you can also see blank-frame skipping): https://asunoki.jp/downloads/video-frame-extractor/sample-10s-640x360.mp4.
Input example
{"videoUrls": [{ "url": "https://cdn.example.com/product-demo.mp4" }],"mode": "count","frameCount": 12,"imageFormat": "jpg","maxWidth": 1024}
Exact moments:
{ "videoUrls": [{ "url": "https://cdn.example.com/talk.mp4" }], "mode": "timestamps", "timestamps": ["0:45", "12:30", "1m5s"] }
Output
One dataset row per frame:
{"type": "frame","videoUrl": "https://cdn.example.com/product-demo.mp4","frameIndex": 0,"time": 2.5,"timecode": "00:00:02.500","imageUrl": "https://api.apify.com/v2/key-value-stores/<store>/records/frame-0000-0000.jpg","contentType": "image/jpeg","width": 1024, "height": 576, "bytes": 81234,"videoDuration": 30.03, "videoWidth": 1920, "videoHeight": 1080, "videoCodec": "h264"}
Free rows: type: "video-error" (with code: platform-page, private-address, http-403/http-404, probe-failed, no-video, too-large, no-frames, ...) and type: "note" (timestamps past the end, frame cap, size or time limit reached).
The key-value store holds the images, frames.csv and OUTPUT (run summary).
Pricing
Pay per event:
frame-extractedfor each frame deliveredvideo-processedonce per video, only when at least one frame was delivered from it- plus Apify's small actor-start event
Failed links, unreadable files, blank frames, out-of-range timestamps and videos stopped by a limit before any frame cost nothing. There is no per-minute fee. Set a maximum charge on the run; the Actor stops before going over it.
Modes in detail
| Mode | What you get |
|---|---|
count (default) | frameCount frames, each from the middle of an equal slice of the video (or of startTime–endTime). Never the very first or last frame. |
interval | startTime, startTime + intervalSeconds, ... until the end. |
timestamps | Exactly the moments you list (seconds, 1:30, 00:01:30.250 or 1m30s). |
maxFramesPerVideo caps every mode. maxDurationMinutes limits how much of a very long file is used.
Limits
- No scene-change detection yet (use
countorinterval). - Videos without a known length (live streams) are skipped (free).
- The frame is taken at the nearest decodable point to the requested time;
timein the row is the moment requested after any blank-frame step.
Support
Questions or problems: open an issue on this Actor's Issues tab or write to support@asunoki.jp.