Tuesday, December 4, 2012

Automatically take screenshots every few seconds from a video

Planning to take screenshot of your favorite video or generating the thumbnail for a video?
The MPlayer tool could be used to do it on a command line.

download mplayer from http://www.mplayerhq.hu/design7/dload.html

The below command will capture the frame at 10 seconds interval till the end of the video (video length - 1 second):

mplayer -vo jpeg -sstep 10 -endpos 499 myvideo.avi --- suppose video is 500 seconds long


People could use this tool to generate pictures out of video and upload to get feedback from their friends/users.

No comments:

Post a Comment