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.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

decoding occupied too much memory

wd197755
Beginner
74 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
74 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
wd197755
Beginner
74 Views
After the function MFXVideoDECODE_Init() is called, memory-commit sizeabout 200M is added.
Reply