Thank you for contacting Intel Technical Support.
Your request has been received and is currently being investigated.
We will get back to you as soon as possible.
I figured out that we had to use libva library instead of the media intel sdk.
I found a very good tutorial at https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/atom-e6xx-video-encoding-paper.pdf
but the source code associated with it is a broken link : Resource & Design Center for Development with Intel
could you point us the good link to it?