为什么看起来FFMPEG限制了编码速度
目标
我正在尝试以最大速度创建较低的分辨率视频,因此我使用CUDA来做
我的命令:
ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -extra_hw_frames 10 -i input.mp4 -vf scale_cuda=-2:720 -c:a copy -c:v h264_nvenc -preset fast -b:v 5M output.mp4
问题
该命令在GTX 1650上达到33倍的速度,我可以't使它变得更快,所以我问了我的朋友使用RTX 3070(具有更多的CUDA核心),而最大速度是相同的33X
问题
FFMPEG实际上限制了编码速度?并存在使它变得更快的方法?
Objective
I'm trying to create lower resolutions videos with the max possible speed, so I'm using cuda to do it
My command:
ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -extra_hw_frames 10 -i input.mp4 -vf scale_cuda=-2:720 -c:a copy -c:v h264_nvenc -preset fast -b:v 5M output.mp4
Problem
This command reached a speed of 33x on a GTX 1650 and I couldn't make it go faster, so I asked my friend with a RTX 3070 (which has much more CUDA cores) and the max speed was the same 33x
Question
Is FFmpeg actually limiting the encode speed? And exist a way to make it go faster?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论