ffmpeg如何从video输出图像

我想从video中提取图像,我希望从特定时间提取图像,例如0:30 1:15 1:45我希望它们也是PNG格式的

先谢谢你

更新谢谢rechengehirn和Rmano可悲的是我不能除了你的答案和我随机选择对不起那个但我认为这样会很公平,因为你的答案都有效,所以再次感谢你

这对我有用:

ffmpeg -i input_movie.mp4 -ss 00:00:05 -f image2 -vframes 1 imagename.png 

选项包括:

 -i > The input video file -ss 00:00:05 > Start at Second 5 of movie -f image2 > Force image output -vframes 1 > Set the number of video frames to record 

您可以在http://ffmpeg.org/ffmpeg.html上阅读ffmpeg文档

我正在使用最近的ffmpeg的静态构建 ,但它应该没关系。 我用的是

 ffmpeg -i videoin.avi -ss 30 -r 1 -t 1 myimage.png 

跳过前30秒,然后使用1帧/秒的帧速率并创建1秒钟的图像。

谷歌搜索我发现: http : //linuxers.org/tutorial/how-extract-images-video-using-ffmpeg有更多选项。