Extracting individual frames as pictures from various movie formats.?
Hi all,
Long time reader, first time poster Dr Phil!!
I was looking for a neat solution to extract individual frames from movie files and save them as pictures.
So far, I've used mplayer (due to massive codec support) and cjpeg to do the work using the following:
# mplayer -vo tga -sstep 60 {movie_file} &&
for i in *.tga; do cjpeg -quality 10 -grayscale -targa $i > $i.jpeg; done
I'd like to know it there is a more elegant solution?
Requirements:
*Console-based
*Can decode avi, mpeg, wmv, mov
*Low disk usage picture output format.
Many thanks,
Michael.
|