Community
cancel
Showing results for 
Search instead for 
Did you mean: 
minh_h_1
Beginner
152 Views

about h.264 simple encoder

Hi all,

I downloaded intel C++ studio XE for windows 2013 (IA32 version, update 2). However, after installing, I can not find folder containing UMC files. Therefore, I downloaded code sample for intel IPP 7.1 from this link. I tried to compile h.264 simple encoder (download from this). However, I can not compile too. I also include files from these folders:

- <ipp samples directory>\sources\audio-videos-codecs\core\umc\

- <ipp samples directory>\sources\audio-videos-codecs\core\vm\

- <ipp samples directory>\sources\audio-videos-codecs\core\vm_plus\

- <ipp samples directory>\sources\audio-videos-codecs\codec\video\h264\enc\

I am using MS visual studio 2010. Could you please tell me my mistakes?

Any help is really appreciated.

Regards,

Minh

0 Kudos
16 Replies
Sergey_K_Intel
Employee
152 Views

Hi,

Please use sample build script in "builder" directory described in "documentation/ipp-samples.html" in chapter "Installation and Build". The script will create solution and projects files for UMC samples.

Regards,
Sergey 

minh_h_1
Beginner
152 Views

Hi,

In h.264 simple encoder (simpleencoder.cpp downloaded from this), from line 28 to line 32, the compiler can not find the variables: key_frame_controls, info, numThreads. Are there any  mistakes here?

Thank you

minh_h_1
Beginner
152 Views

Hi,

In h.264 simple encoder (simpleencoder.cpp downloaded from this), from line 28 to line 32, the compiler can not find the variables: key_frame_controls, info, numThreads. Are there any  mistakes here?

Thank you

manca1
Beginner
152 Views

Do you have the appropriate include and lib folders setup in your project?

minh_h_1
Beginner
152 Views

I did as Sergey said. Then, I include simpleencoder.cpp to my project. When I checked umc_h264_video_encoder.cpp and umc_h264_video_encoder.h, I could not find these variables above. I am using IPP 7.1

manca1
Beginner
152 Views

You need to build the samples first in order to get the libraries which you'll link with your project later. You also need to include all the UMC header files (.h) in your project as well. Then you can try with the sample code given above and try to compile it.

minh_h_1
Beginner
152 Views

I did. I included all the UCM header files, removed simpleencoder.cpp. Then, I compiled the project. It succeeded. However, when I added simpleencoder.cpp to my project and compiled, I met the same problem.

manca1
Beginner
152 Views

What kind of errors do you get?

manca1
Beginner
152 Views

What kind of errors do you get?

manca1
Beginner
152 Views

btw. The sample code is not updated to be compatible with v7.1 h264 encoder.

These: key_frame_controls, info, numThread are replaced with:

key_interval, m_info.videoInfo, and m_iThreads, respectively.

minh_h_1
Beginner
152 Views

Oh, I see. Thank you so much.

manca1
Beginner
152 Views

You're welcome!

minh_h_1
Beginner
152 Views

Hi manca1,

Do you sure key_frame_control is replaced by key_interval? Because key_interval does not have variable method, so I replaced key_frame_control.method by key_interval. The project can be compiled successed, but I can not run it.

manca1
Beginner
152 Views

key_frame_controls.interval is replaced by key_interval.

minh_h_1
Beginner
152 Views

and what about key_frame_controls.method?

manca1
Beginner
152 Views

All the properties from there are not 'standalone' and you can try to manually find their equivalents in v7.1.

Reply