View Single Post

  #2 (permalink)  
Old 02-20-2006
Dances With Crows
 
Posts: n/a
Default Re: Tools for extracting individual frames of an AVI movie file

On 20 Feb 2006 08:50:11 -0800, amoroso@mclink.it staggered into the
Black Sun and said:
> 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 as
> 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 JPEGs
from the subsequent frames, quits)

"man mplayer" for more stuff, like skipping to the start of a DVD
chapter.

--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL
Reply With Quote