假设您的ffmpeg已编译支持webm,制作缩略图应该很简单:ffmpeg -i input.webm -vframes 1 output.png 如果您想要缩略图比视频小,可以加上一些-s WxH。 转换为flv也同样简单: ffmpeg -i input.webm output.flv