Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从视频中每秒获取 1 帧。例如,如果有一个 32 秒的视频,那么我需要该视频的 32 张图像,即每秒一张图像。
这将每秒创建一个缩略图,命名为out1.png, out2.png, out3.png, ...
out1.png
out2.png
out3.png
ffmpeg -i input.flv -f image2 -vf fps=fps=1 out%d.png
每 X 秒的视频创建一个缩略图