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
链接已复制
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
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
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
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
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.
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.
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.