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 tags: ffmpeg, video, thumbnail
Popularity: 45% [?]
Other popular articles you might enjoy:
If you enjoyed this post, make sure you subscribe to my RSS feed!