Frame Grabber
Take stills out of a video, at the resolution they were shot.
- Source
- 0×0
- Length
- 0:00.00
- Position
- 0:00.00
- Frames
- 0
Open a clip, find the moment, take the frame. Every still is the video’s own pixels at its own resolution - drawn from the decoded frame straight to a canvas - so a 4K clip gives 4K stills.
A video element has no frame rate to read, which is a problem for a tool whose main control is "one frame back". So stepping starts by assuming 30 and corrects itself the first time a frame is presented: requestVideoFrameCallback reports the media time of each one, and the gap between two of them is what a frame is actually worth. The buttons say which figure they are using.
It stops at frames deliberately. Trimming video in the page would mean encoding video in the page, and a browser will not do that without either a hand-written MP4 muxer over WebCodecs or MediaRecorder re-recording the clip in real time. Grabbing stills needs neither - seek, draw, encode a picture.
A still can be sent straight to the cropper on this site, which was one save and one re-open away before.