capture screenshot from video ffmpeg code example Example: ffmpeg take screenshot ffmpeg -i inputvideo.mp4 -ss 00:00:03 -frames:v 1 outputimage.jpeg