Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Amol_A_
Beginner
75 Views

H264 encoder high performance issue

Hi,

I built IPP H264 encoder using the samples with static multithreading. I found very high CPU utilization even with m_iThreads = 1.

Can you help me to resolve this.

Thanks and Regards

Amol

0 Kudos
8 Replies
Chao_Y_Intel
Employee
75 Views

Amol,

There are two layer threading for the UMC: the high level the UMC threadings,  and IPP internal threading.

You also need to disable Intel IPP internal threading:  for example, by calling ippSetNumThreads(1).

Thanks,
Chao

Amol_A_
Beginner
75 Views

Hi Chao,

Thanks for your quick reply.

I also checked the CPU load with ippSetNumThreads(1). But the CPU load is still very high. It is 30-40 % on normal desktop machine.

Desktop Machine Configurations are:

1. RAM: 4GB

2. Processor: Intel(R)Core(TM) i5-2400 CPU @3.10GHz

Can you please suggest anything else to improve the CPU load?

Thanks

Amol

Igor_A_Intel
Employee
75 Views

Hi Amol,

the best way is to use Intel Media SDK.

regards, Igor

Roman_T_
New Contributor I
75 Views

Igor Astakhov (Intel) wrote:

Hi Amol,

the best way is to use Intel Media SDK.

regards, Igor

 

Hi, Igor!

Does the current version of Media SDK have any tools to write video to standard containers? (i.e. *.mp4, *.avi, *.asf)

 

Best regards,

Roman

Igor_A_Intel
Employee
75 Views

Hi Roman,

in the current version of Media SDK that is available publicaly (2013 R2) there are no any muxers. It is not difficult to integrate into one application MSDK and splitters/muxers from, for example, FFmpeg - there is an example on this in the Media SDK Tutorial. In the next version of Media SDK (will be available publicaly in the ~beggining of 2014) a library of splitters/muxers will be added (with API that is compatible with MSDK) - so a lot improvements will be available in the next version.

regards, Igor

Amol_A_
Beginner
75 Views

Hi Igor,

Sorry for the late reply.

The performance of Intel Media SDK is very good and CPU load is also very low.

Thanks for your suggestion.

Regards

Amol

 

 

Amol_A_
Beginner
75 Views

Hi Igor,

As per my understanding to use IPP we need to buy the licence. Is there any licence for intel media SDK too which we have to buy?

Regards

Amol

Sergey_K_Intel
Employee
75 Views

Hi Amol,

As far as I know, the Windows version of Media SDK is free (Linux not). Look at Media SDK web page.

Regards,
Sergey

Reply