Extract Image Thumbnail From Video Using FFMPEG
FFMPEG is an awesome tool and today only i found that FFMPEG can extract JPEG image from video. To achieve this following are the software requirements.
- FFMPEG
- GD Library
FFMPEG Syntax:
ffmpeg -i 'video file' 'image file'
Example:
ffmpeg -i test.mpg image%d.jpg
This will create images on span of 1 second.
Example:
ffmpeg -i test.avi -ss 1.4 -vframes 33 -f image2 output%2d.jpg
In this example the image extraction will start from 1.4 second and will extract the image till 33rd frame.
Custom Search


































