I am doing some tests with the project Hello_encode of oneAPI (release beta 08).
The project (visual studio 2017 c++ )work fine with HEVC codec, for my use I would like to encode the same input file to h264, so I changed this line of code
mfxU32 codecID = MFX_CODEC_HEVC;
mfxU32 codecID = MFX_CODEC_AVC;
Run the program it exit with error.
What is the problem, I have other thing to fix in a code?
Thank you for contacting Intel Customer Support. What error are you seeing when changing the codecID?
I believe the error you are seeing is due to AVC not being implemented. Per the Intel® oneAPI Base Toolkit Release Notes (Beta Update 8):
"CPU plugin implementation with H.265 & AV1 SW Decode/Encode"
So you are saying that we lose the compatibility with the previous version of oneAPI?
Because from release notes, since beta 04, I read:
Thanks for pointing that out, since AVC was introduced at an earlier release it should also be included. Let me check with my peers to see if this is a bug.
The issue you saw is expected in Beta08. We have added AVC encode support in Beta09 which will be released soon, please check our new release.
oneVPL is under development, so there are and will be changes until the official release at the end of the year. I am sorry for any inconvenience and please let me know your feedback.
Beta09 will be a CPU only release, because of the license restriction, there will be extra steps to enable AVC encoder except the source code change. Please read our get started guide and sample document after the release.
Sorry sir, what you means when you say,
...there will be extra steps to enable AVC encoder...
there is something to pay (or get a licence in some way) for encode AVC in software?
Sorry for the late response since I want to wait for Beta09 release to explain easily. So here is our new release at GitHub:
If you go to the build section under "optionally enable h264 encoder":
You can see the license I meant is the GPL license, for AVC encoder, the software library we used has a license limitation.
But you can try with Beta09 release with AVC encoder now.
I installed the Intel oneAPI beta09, then as you suggested I downloaded the code from Git-Hub and run
from console the bootstrap gpl command.
Almost at the end of the batch, soon after cloning into 'ffmpeg', unfortunately the batch had some problems, and stopped the execution, It seems like it freeze without exit. Probably it has problems when does the Git config, anyway I can't complete the install.
Do you have some hints to complete the batch bootstrap and continue with build?
Apology for my mistake and thanks so much to support our product.
The process you tried is from our open source site, not the official landing page for release.
I believe your goal is to try our sample code, the easy way to start to install the release package.
Here is our landing page:
oneVPL belongs to our Base Toolkit of our oneAPI product, so it is one component among the list of the installer. You can download the installer and following the Get Started Guide to run the sample.
Let me know if you have any issues.
As I said in the post before, I already installed the oneAPI Beta09, and as a firsth attempt
I created the Hello_encode project with the wizard present in visual studio, the program works fine, encoding an input file I420 to HEVC. Well, then I would like to use the same project to encode in h264. To do so I thought was enough change one line of code (see Image), no true. The program quit during initialization.
What should I do to encode in h264?
Sorry my mistake, this is the new release so I didn't go through the build process yet. It looks like your first try has the right direction.
I did try READM.md at https://github.com/oneapi-src/oneVPL and here is the steps you can try, it works for me:
Let me know if you have any questions.