Ffmpeg
From Logicalwebhost-Wiki
ffpmeg is a conversion utility for various flavors of video to various other flavors, you can read about it here
[edit] ffmpeg
detect
ffmpeg -i filename.avi
convert reference
ffmpeg -i tufftrucks1001.avi -ar 22050 -ab 32 -f flv -s 600x400 tufftruck1001.flv ffmpeg -i 00304_VideoTraxx.mov -ar 22050 -ab 56 -b 200 -r 12 -f flv -s 600x400 -acodec mp3 -ac 1 00304.flv ffmpeg -i 00299_VideoTraxx.mov -ar 43242 -b 200 -r 12 -f flv -s 600x400 -acodec mp3 -ac 1 00304.flv
this one works
ffmpeg -i 00299_VideoTraxx.mov -ar 43242 -f flv -s 600x400 00304.flv
options
-ar audio sampling freq., default = 44100Hz -b bitrate, default = 200kb/s -f force format (output) -r frame rate fps -s size -t time limit, how long of video you want to output -y overwrite the output file, if it exists
thumbnail
fmpeg -i tufftrucks1001.avi -s 174x116 -ss 5 -vframes 1 -f mjpeg -y test1.jpg ffmpeg -i tufftruck3.flv -s 174x116 -an -ss 4 -vframes 1 -f image2 -y test1.jpg ffmpeg -i swing.avi -s 320×240 -ss 5 -vframes 1 -f image2 swing.jpg
