Usefull Ffmpeg commands for creating FLV files
Posted on March 18th, 2009 in Linux | No Comments »
Converting to flv
ffmpeg -i Head Office Version.ts -ar 22050 -ab 128 -f flv -s 448×252 – | flvtool2 -U stdin video.flv
or with better bitrate
ffmpeg -i happy_feet_h.i480.mov -ar 22050 -ab 128 -b 800 -f flv -s 480×204 – | flvtool2 -U stdin happyfeet.flv
Generate thumbnail
This creates a thumb of 12 seconds into the video
ffmpeg -y -i head_office.flv -f image2 -ss 12 -vframes 1 -an head_office.jpg