« Flash, FFMPEG and more.. | Main | Test Posting »

July 20, 2006

Flash, FFMPEG and now Thumbnails!

A couple of days ago I got FFMPEG working to automatically generate FLV video files for OpenVlog. Today I finally got thumbnails generating correctly. Here are the commands:

This creates a JPEG:
ffmpeg -i inputfile -t 0.001 -ss 1 -vframes 1 -f mjpeg -s 320x240 outputfile.jpg

This creates a QT Movie that I am using as a reference movie (just one frame of video):
ffmpeg -i inputfile -t 0.001 -ss 1 -vframes 1 -vcodec mpeg4 -an outputfile.mov

I got this working with lots of help from the following pages:
Converting Video Formats with FFmpeg
Extracting JPG Frames Using FFmpeg and mjpeg Parameter

Posted by vanevery at 01:28 PM

Trackback Pings

TrackBack URL for this entry:
http://www.walking-productions.com/scgi-bin/mt/mt-tb.cgi/1100

Comments

Can you please show me a command sample which will help me to conwert avi file to flash format? Thaks!

Posted by: Igor Skomorokh at August 20, 2006 09:57 AM