[FFmpeg-user] Ffmpeg Nvenc GPU decode still use much more cpu resource
cpz at tuunq.com
Tue Dec 25 19:36:16 EET 2018
On 12/25/2018 8:09 AM, dd wrote:
> We replace cpu with gpu to ffmpeg recently, met a performance problem.
> As the following problem Code:
> ffmpeg -hwaccel_device 2 -hwaccel cuvid -i a.mp4 -vf “scale=1080:720,overlay=()” -gpu 2 -c:v h264_nvenc out.mp4
> it use much more cpu resource, but a little gpu, it is not we want. see the attachment picture.
You need to make sure you're using a current, or at least recent, version of
ffmpeg and also to post the entire command output from the command you use.
More information about the ffmpeg-user