[FFmpeg-user] Minimize CPU use with QuickSync?

Moritz Barsnick barsnick at gmx.net
Wed Jul 4 14:59:11 EEST 2018


Hi Jason,

On Thu, Jun 28, 2018 at 20:49:01 +0000, Jason Coleman wrote:
> but I'm still getting a lot of CPU use, call it 70-90%.
[...]
> C:\ffmpeg\ffmpeg.exe -hwaccel qsv -init_hw_device qsv=qsv:MFX_IMPL_hw_any -filter_hw_device qsv -i "testvid.mp4" -vf "format=nv12,hwupload=extra_hw_frames=100,scale_qsv=640:360" -b:v 800k -c:v h264_qsv -c:a copy -y "testoutput.mp4"

I tried to reproduce this, with similar results regarding CPU. What I
noticed is that I get this message, but unfortunately only if I choose
a higher loglevel:

> [AVHWFramesContext @ 0000020ba2ce18c0] Error opening the internal VPP session.Surface upload/download will not be possible

I assume that this is the issue. I don't know what to do about it
though. Others should be able to pitch in.

Please check if you have the same issue (by adding "-loglevel verbose"
to your ffmpeg command line), and play around with that.

Cheers,
Moritz


More information about the ffmpeg-user mailing list