Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

H.264 SD Decode Memory Leak

Atsushi_S_
Beginner
864 Views

Hello, I have serious trouble with Inte IPP.

I am developing Viewing Soft Ware of H.264 Video Stream Encoder.

For it, I use Intel IPP 8.0 Update 1 and w_ipp-sample_p_7.1.1.013.

And I build it with command "build.pl audio-video-codecs ia32, vc2008, d, st".

Then I tried to decode H.264 SD(720x480) with UMC::H264VideoDecoder.

Decoded Image is no problem, but memory leak happen.

So I resarched soft ware with Inspector XE where memory leak happen.

And It indicated thaht memory leak happen umc_h264_segment_store.cpp and umc_h264_task_supplier.cpp

SoftWare execute enviroment is

OS: Windows 7 Professional SP 1 (32bit)

CPU: Intel(R) Core(TM) i7-3770 3.40GHz

RAM:4.00GB

How can I fix it?

Please advise for me.

0 Kudos
7 Replies
Sergey_K_Intel
Employee
864 Views

Hi,

Could you reproduce the issue with "umc_video_dec_con" application?

0 Kudos
Chao_Y_Intel
Moderator
864 Views

Hi,

Please also check if the Intel  media SDK can meet your requirement, which include the hardware accelerator as well?http://software.intel.com/en-us/vcsource/tools/media-sdk

Since IPP sample code is put into legacy,  in the new feature, it may not have much update.

Thanks,
Chao

0 Kudos
Atsushi_S_
Beginner
864 Views

Hello, Sergey. Thank you for your reply.

I tested with "simple_player.exe" for 3hours and checked it with Performance Monitor.

I think memory leak happen.

I attached print screen image of Performance Monitor.

It's leak little, but our viewing software exectute long time and use many UMC::H264VideoDecoder same time.

So, viewing software will hung up for 2 day.

Please advise to me.

Thank you.

 

0 Kudos
Atsushi_S_
Beginner
864 Views

Hello, Chao. Thank you for your reply.

I alerady investgate Media Sdk, but this time, I must use Inte IPP.

Media Sdk is next step.

Thank you.

0 Kudos
Atsushi_S_
Beginner
864 Views

Hello. Sergey.

I tried to test with "umc_video_dec_con.exe" and check memory with Performance Monitor.

I attached print screen of result.

I think it also happen memory leak.

Please check it.

Thank you.

0 Kudos
Sergey_K_Intel
Employee
864 Views

Hi,

We would like to reproduce this. Could you tell how to get the same results as you did?

What stream to feed to umc_dec_con? Any H.264 stream?

0 Kudos
Atsushi_S_
Beginner
864 Views

Hello, Sergey. Thank you for your reply.

I make file of H.264 Video Encode stream of 4 hours.

That's file is H.264 Pure Video  and include AU Delimitter.

Encoder's setting is

Resolution : 720x480

Bitrate: 2M

Profile: Main Profile

Frame Rate:30fps

Picture type: I-Frame, B-Frame, P-Frame

GOP Size: 15

GOP Structure:3

and I execute umc_video_dec_con.exe like "umc_video_dec_con.exe -i filename -t 3 -f yv12"

That's result is

Stream type: H264PV

Track 0:H264 YUV420 (8,8,8) TFF 720x480 (1:1) 29.97fps P77 L30 *

Output data: YV12 (8,8,8) TFF 720x480 (1:1)

Progress: 1000.00%; Frames: 502429; FPS: 1609.28

Statistic (502429 frames):

    Overall:    530.68 sec; 946.76 fps

    Decoding: 480.76 sec: 1045.08 fps

    Conversion: 39.70 sec; 12654.67fps

     Decoded:    260459193600 bytes

     Avg. bitrate: 1996590 bps

That's all.

Please check it.

Thank you.

0 Kudos
Reply