Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.

Memory size problem - HEVC HW encoder

huanmo
Beginner
836 Views

I'm testing the hevc hw encoder with media sdk sample for different resolution.  The measured memory for different resolution are listed as follow:

  Memory Size (MB)
Memory Type 1080p 720p 360p 180p 90p
System 97.1 60.1 40.2 34.2 32.9
d3d 83.6 48.3 29.4 23.4 22.2
d3d11 66.8 35 19.9 15.9 14.7

 

We found those values high, so I would like to know if the measured values are correct?

If not, is there any way to reduce those memory, especially for low resolutions?

My working environment  is decribed below:

os: Windows 10

cpu: Intel i7-8700 

gpu: Intel Graphics UHD 630

sdk: Media SDK 21.1.3

encoder cmd:  .\sample_encode.exe h265 -hw -w 320 -h 180 -n 4000 -async 1 -cqp -b 175 -num_active_P 1 -AvcTemporalLayers "1 2 4 0 0 0 0 0" -f 20 -i xxxx.yuv -nobref -r 1 -g 100 -gpb:off -o xxx.h265

 

Kind Regards

0 Kudos
4 Replies
RahulU_Intel
Moderator
820 Views

Hi,


Thanks for posting in Intel communities. We are trying to reproduce your issue from our side. We will update you soon.


Regards,

Rahul


RahulU_Intel
Moderator
763 Views

Hi,


We tried running the command you shared from our side. We were able to run it successfully. Could you please share with us how did you calculated the measured memory for different resolutions.


Thanks and Regards

Rahul







huanmo
Beginner
752 Views

Hi,

The measured memory calculated from Windows Task Manager when media sdk sample was run for different resolutions.

In addition, 1080p means 1920x1080, 720p means 1280x720, 360p means 640x360, 180p means 320x180, 90p means 160x90.

 

Kind Regards

RahulU_Intel
Moderator
638 Views

Hi,


We are investigating your issue at our end. We will get back to you soon with an update.


Thanks and Regards

Rahul


Reply