I'm trying to initialize the audio encoder SDK, but I always get the MFX_ERR_INVALID_HANDLE error. Here is my code:
It looks like you are try MFX_IMPL_HARDWARE, usually HARE accelerate is for Video, for Audio usually use software, I think you may want to try software for audio.
Thank you for your reply.
I've tried a lot of combinations for mfxImpl, like:
mfxImpl = MFX_IMPL_SOFTWARE
mfxImpl = MFX_IMPL_AUTO
mfxImpl = MFX_IMPL_AUDIO
mfxImpl = MFX_IMPL_SOFTWARE | MFX_IMPL_AUDIO
with the same result. Can you provide me a sample code, or a piece of code, which should work for audio encoding, please? I found a lot of for video encoding, and they work well, but found almost nothing for audio encoding.