Extracting frames from a video as jpeg files

Extracting frames from a video as jpeg files: "$ mplayer -ao null -sid 999 -ss 00:15:45 -endpos 10 filename.avi -vo jpeg:outdir=out_frames

This command extracts 10 seconds worth of frames, starting from 00:15:45 position, from filename.avi and stores them into out_frames folder as jpeg files. Subtitles are turned off with -sid 999 option.



commandlinefu.com


by David Winterbottom (codeinthehole.com)

"