[FFmpeg-user] Ffmpeg Nvenc GPU decode still use much more cpu resource

dd unicorok at 163.com
Tue Dec 25 18:09:46 EET 2018



Dear my friend,

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.

Also if with the “scale_npp” parameter not scale, it’s ok, but can not support video of 10 bit.
How to support 10bit video, or how can I do to use more gpu resource?

Hope your help, thanks a lot!




 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DEE02A7C-5E78-4471-A685-21BB72390249.jpeg
Type: image/jpeg
Size: 177983 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20181226/1106973f/attachment.jpeg>


More information about the ffmpeg-user mailing list