使用 ffmpeg 将视频从 30fps 重新编码为 60fps

Ron*_*adi 1 ffmpeg

如果我有一个 30 fps 的 mp4,如何使用 ffmpg 将其重新编码为 60 fps,而不使电影加速得更快(看起来仍然正常)?

我的 ffmpeg

ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
Run Code Online (Sandbox Code Playgroud)

llo*_*gan 5

使用-r选项

ffmpeg -i input.mp4 -r 60 output.mp4
Run Code Online (Sandbox Code Playgroud)

或者fps 过滤器

ffmpeg -i input.mp4 -vf fps=60 output.mp4
Run Code Online (Sandbox Code Playgroud)

ffmpeg将复制帧以从 30 fps 转换为 60 fps,但看起来仍然正常。