- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have the appropriate include and lib folders setup in your project?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What kind of errors do you get?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What kind of errors do you get?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, I see. Thank you so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're welcome!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
key_frame_controls.interval is replaced by key_interval.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
and what about key_frame_controls.method?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All the properties from there are not 'standalone' and you can try to manually find their equivalents in v7.1.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page