Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
26 Views

decoding occupied too much memory

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
Highlighted
26 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
Highlighted
Beginner
26 Views

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