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

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

    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
Highlighted
Moderator
32 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