> I am looking for Linux tools for extracting the individual frames of
> an AVI movie file, and saving them to files in bitmap formats such a
+s
> JPEG. Any suggestions?
mplayer -vo jpeg file.avi
(generates 1 JPEG per frame, plays all frames)
mplayer -vo jpeg -ss 1:23:45 -frames 20 file.avi
(-sseeks to 1 hour 23 minutes 45 seconds in file.avi, generates 20 JPE
+Gs
from the subsequent frames, quits)
"man mplayer" for more stuff, like skipping to the start of a DVD
chapter.
how to run mplayer from Perl is another question, see ztk-v4l-video-bloger/recorder for ideas
|