Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Image distortion using the vpp conversion

Tarta_R_
Beginner
139 Views

Hello,

I am currently working on a project using the Intel Media SDK; when I worked on the conversion from RGB to NV12, the encoding works really good and fast, but there is a huge distortion in the resulted image, I am not sure whether this is due to the vpp conversion or to the encoding, but I assume it's due to the vpp conversion; although I compared my code against the code samples in the Media SDK, I haven't found any difference.

Please take a look at the video I uploaded to have an idea about the problem.

0 Kudos
1 Solution
Tarta_R_
Beginner
139 Views
I noticed that there is no much help and support for the Intel Media SDK, and even the documentation about it is very shallow. So I decided to enrich this by answering the question I already asked; what I was doing is that I specified the RGB format for both the input surface and the output surface as well, and that's what caused the image distortion, so to fix that, specify the RGB format for the input and the NV12 format for the output. NV12 if your output stream is H264 or the corresponding output.

View solution in original post

1 Reply
Tarta_R_
Beginner
140 Views
I noticed that there is no much help and support for the Intel Media SDK, and even the documentation about it is very shallow. So I decided to enrich this by answering the question I already asked; what I was doing is that I specified the RGB format for both the input surface and the output surface as well, and that's what caused the image distortion, so to fix that, specify the RGB format for the input and the NV12 format for the output. NV12 if your output stream is H264 or the corresponding output.
Reply