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 320×240 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
Can you please show me a command sample which will help me to conwert avi file to flash format? Thaks!
Converting to mov files (thanks Cat):
ffmpeg -i media.mp4 -ab 128 -b 1200 -vcodec mpeg4 -acodec ac3 media.mov
Lines at the top of my perl script (Dreamhost doesn’t include environment variables so you have to put them in yourself):
$ENV{‘PATH’} = $ENV{‘PATH’} . ‘:.:/home/MYUSERNAME/bin’;
$ENV{‘LD_LIBRARY_PATH’} = $ENV{‘LD_LIBRARY_PATH’} . ‘:/home/MYUSERNAME/lib’;
Compiled FFMPEG libs and bin folders for people on Dreamhost:
http://www.walking-productions.com/dh_ffmpeg/
Can you please show us a ffmeg command to convert avi to Android G1 compatible video.
Thanks
Sudip