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.
3058 Discussions

Intel® Quick Sync Video H.264 Encoder MFT Memory Leak

lixiang_h_
Beginner
592 Views

    I split the code from doubango and just used to encode NV12 to H264 using the Intel® Quick Sync Video H.264 Encoder MFT. But the basic procedures for each frame has a memory leak, I use UMDH contrast before and after,  the follow:  

+  931840 ( 931840 -      0)      1 allocs BackTrace2A087005
+       1 (      1 -      0) BackTrace2A087005 allocations

 ntdll!LdrOpenImageFileOptionsKey+00000053
 ntdll!RtlAllocateHeap+00001182
 libmfxhw64!MFXVideoVPP_GetVPPStat+00354D5F
 libmfxhw64!MFXVideoVPP_GetVPPStat+00354FDB
 libmfxhw64!MFXVideoVPP_GetVPPStat+0005511E
 libmfxhw64!???+00000000 : 7FFB2BDDDE01
 libmfxhw64!MFXVideoVPP_GetVPPStat+00027EE8
 libmfxhw64!MFXVideoVPP_GetVPPStat+00023FD1
 libmfxhw64!MFXVideoENCODE_Init+00000259
 mfx_mft_h264ve_64!???+00000000 : 7FFB38051202
 mfx_mft_h264ve_64!???+00000000 : 7FFB3805F33A
 mfx_mft_h264ve_64!???+00000000 : 7FFB3806069E
 mfx_mft_h264ve_64!???+00000000 : 7FFB3806269E
 mfx_mft_h264ve_64!???+00000000 : 7FFB38055A48
 test!MFCodec::ProcessInput+00000663 (c:\users\reach\desktop\hlx\test\test\internals\mf_codec.cxx, 349)
 test!MFCodec::Process+00000577 (c:\users\reach\desktop\hlx\test\test\internals\mf_codec.cxx, 518)
 test!mf_codec_h264_encode+00000115 (c:\users\reach\desktop\hlx\test\test\test_codec.cpp, 141)
 test!main+0000019A (c:\users\reach\desktop\hlx\test\test\test_codec.cpp, 188)
 test!__tmainCRTStartup+0000019D (f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, 626)
 test!mainCRTStartup+0000000E (f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, 466)
 KERNEL32!BaseThreadInitThunk+00000014
 ntdll!RtlUserThreadStart+00000021

I am using the win10 / Intel(R) HD Graphics 520  ,
 

0 Kudos
1 Reply
Mark_L_Intel1
Moderator
592 Views

Hi LiXiang,

Can you send the information about the processor and the graphic driver? 

This might be a known issue and have been solved.

Mark

0 Kudos
Reply