
vframes 1 sets the number of video frames to output. vf select=gte(n\,10909) tells FFmpeg to start at the 10909th frame. So now we can easily export frame 10909 with: ffmpeg -i input.mkv -vf select=gte(n\,10909) -vframes 1 frame-10909.png You can also use a frame calculator if you think that is easier. (7,35 minutes in seconds)*(frame rate of video) Since the video is playing at 23.976 frames per second we need to multiply the seconds we have with the FPS. Let’s calculate the frame number for 00:07:35, shall we? The point in the video is 7 minutes and 35 seconds, right? That equals to is 455 seconds in the video (60*7+35). We can also export the same image by specifying the exact frame at a given time. How to take a screenshot using a frame number This is probably the fastest and easiest way to take a screenshot. The time code here ( -ss 00:07:35) is hours:minutes:seconds. We can use the seek option to set a point in time to specify what we want a still image of. You can specify the point in time with a time code or a frame number. With FFmpeg, you can export an image of a specific point in time in the video.
