Joh*_*ter 11
我从这个网站上得到了答案:http://blog.prashanthellina.com/2008/03/29/creating-video-thumbnails-using-ffmpeg/
ffmpeg -itsoffset -4 -i test.avi -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 test.jpg
其中-4是文件中获取屏幕截图的秒数,320x240是屏幕截图大小,test.jpg是输出文件.
希望这可以帮助.