亲测mac可用
# git clone git://source.ffmpeg.org/ffmpeg.git
# cd ffpmeg
# ./configure <===失败,看提示
# ./configure --disable-yasm <=== 成功
# make <===一大堆警告,不用管它
# sudo make install
# ffmpeg -i /www/5444cae39e7eb406.mp4 -y -f image2 -ss 3.8 -vframes 1 /www/test38.jpg <====成功生成3.8秒处的视频截图
其它可能用得上的参考信息:
http://ffmpeg.org/ffmpeg-all.html
http://trac.ffmpeg.org/wiki/How%20to%20quickly%20compile%20FFmpeg%20with%20mp3%2C%20aac%2B%20and%20x264