MLUG: [MLUG] enjoying ffmpeg
[MLUG] enjoying ffmpeg
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What a nice, easy program to use.  I wanted to be able to grab a frame 
from an AVI video file to use the image on a web page.  I found this page 
and it pretty much told me the whole story in about two lines of code:

http://blog.prashanthellina.com/2008/03/29/creating-video-thumbnails-using-ffmpeg/

To grab the first frame, keeping in the original pixel size, I did this:

ffmpeg -i infile.avi -vcodec mjpeg -vframes 1 -an -f rawvideo outfile.jpg

And to install it in Ubuntu, I did this:

sudo apt-get install ffmpeg

Life is *so* much easier with Ubuntu than with Solaris.  There are some 
kind Sun people making Solaris packages on demand though.  That helps a 
lot because it is such a bear to get Solaris to compile many new programs.

Mike

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members