Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6709 Discussions

IPP H264 encoder with RGB24 input leads to "inverted" video

Aditya_Kadambi
Beginner
243 Views
This issue was discussed before here:

http://software.intel.com/en-us/forums/showthread.php?t=80805

Here is the gist:

1. My Directshow input from a camera supplying YUY2 data.

YUY2 -> H264 encoder -> Video output.

The video output looks fine.

2. My Directshow input from a camera supplying RGB24 data.

RGB24 -> H264 encoder -> Video output.

The video output looks fine, but it is upside down ("inverted"). Obviously because of the default stride issues.

From the original thread, there doesn't seem to be any resolution:

So, is this the expected behavior?

I then tried to color convert using VideoProcessing class.

RGB24 -> Convert to YUV422 using videoprocessinf class -> H264 encoder.

No change. It still is upside down.

IPP is such a great tool! I wish I could know the reason for the RGB24 bevavior from the community and the Intel experts here!
0 Kudos
2 Replies
Aditya_Kadambi
Beginner
243 Views
Setting negative height obviously didn't work. I'll investigate more and report back.

Perhaps, I should use UMC :: Colorconversion?
0 Kudos
Aditya_Kadambi
Beginner
243 Views
Is this fixed in Update 7. I see this bug fix in the release notes:

DPD200269035umc_color_space_conversion plane inversion fixed
0 Kudos
Reply