FFMpeg Scripts

Once you have a ffmpeg server built here are some recipes for creating output

Flash content
ffmpeg -i input_file -vcodec flv -b 666k -s 380x286 -ar 22050 -ab 24 -f flv output-file.flv
JPG image snapshot taken from the 2nd second of the video
ffmpeg -i input_file -r 1 -s 380x286 -ss 2.00 -vframes 1 -an -f image2 output-file.jpg
iPhone output
ffmpeg -i input-file -vcodec libx264 -vpre hq -vpre ipod320 -b 768k -bt 768k -s 320x240 -threads 0 -title techIT  -f mp4 -acodec libfaac -ab 128k output-file.mp4
I am sure you can setup some other settings you want for the output.


Popular posts from this blog

Console over SSH (ONTAP)

Brocade Zone Setup

vFoglight Purge Stale Objects (Groovy Script)