Latest Entries
Loading...
Links
Loading...
Search:
Introspection
Jeff Haynie's ramblings about business and technology is home at http://blog.jeffhaynie.us/.
Extract thumbnail from video
Posted by:  on May 24, 2007 at 12:33PM EST

Here’s some simple code to extract a thumbnail of a video from to a JPEG file using FFMEG:

ffmpeg -i mymovie.mov -vcodec mjpeg -vframes 1 -an -f rawvideo -s 64x64 foo.jpg

You can also use PNG instead (although its much bigger in size):

ffmpeg -i movie.mov -vcodec png -vframes 1 -an -f rawvideo -s 64x64 foo.png

Convert your movie to a flash player format (FLV):

ffmpeg -i mymovie.mov -y -ar 22050 -ab 64 -f flv -s 320x240 foo.flv

Technorati technorati tags: , ,

(0) Comments
Loading...