decoding occupied too much memory

decoding occupied too much memory

wd197755's picture

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!

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Tony Pabon (Intel)'s picture

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

-Tony
wd197755's picture

After the function MFXVideoDECODE_Init() is called, memory-commit sizeabout 200M is added.

Login to leave a comment.