Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

decoding occupied too much memory

wd197755
Beginner
347 Views
I need to create 30ch decoder in a process. Unfortunately, everyone channel gets about 300M memories, so the process is limitted by memory restrict. How can I decrease use of memory? Thanks.

context:
. MSDK version 3.0.332.30303 Beta2
. mfxVersion version = {MIN_REQUIRED_API_VER_MINOR, MIN_REQUIRED_API_VER_MAJOR}
. mfxIMPL impl = MFX_IMPL_HARDWARE
. mfxVideoParam.AsyncDepth = 1
. resolution is 1920x1080
. encoded type is h264
. framework is directshow

Thank you in advance!
0 Kudos
2 Replies
Anthony_P_Intel
Employee
347 Views
Hi,

The decoding, processing, rendering and displaying of HD Video can be very memory intensive. Every component in a DirectShow framework can allocate its own memory for buffering and computations.

The MediaSDK DirectShow sample code is intended to show sample usage of the API, and not intended to be used as a production plugin optimized for memory footprint.

One recommendation is to use a 64-bit operating system to ensure the maximum amount of memory is available.

-Tony
0 Kudos
wd197755
Beginner
347 Views
After the function MFXVideoDECODE_Init() is called, memory-commit sizeabout 200M is added.
0 Kudos
Reply