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.
好的 - 在这里转圈,所以欢迎任何帮助......
使用 ffmpeg 从电影中生成帧。但我想将每部电影的总帧数限制为 10。
所以我试图找出在代码中使用的 -r (fps)。
因此,如果视频长 10 秒,我想要 10 个文件,即 -r 1 fps。
但是如果视频是 100 秒长并且我想要 10 个文件,那么 -r 应该是 0.1 fps。
我似乎无法弄清楚公式?!
请帮忙!
好的r = frameswanted / totalseconds
r = frameswanted / totalseconds