Extract single image from video using the following code:
ffmpeg -i video.mp4 -ss 00:00:00.000 -vframes 1 image.jpg
-ss will ask ffmpeg to seek these many seconds and start processing
-vframes with this parameter we are extracting 1 frame
Sharing my findings, adventures and experiences
Extract single image from video using the following code:
ffmpeg -i video.mp4 -ss 00:00:00.000 -vframes 1 image.jpg
-ss will ask ffmpeg to seek these many seconds and start processing
-vframes with this parameter we are extracting 1 frame