Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Aditya_Kadambi
Beginner
32 Views

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

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
32 Views

Setting negative height obviously didn't work. I'll investigate more and report back.

Perhaps, I should use UMC :: Colorconversion?
Aditya_Kadambi
Beginner
32 Views

Is this fixed in Update 7. I see this bug fix in the release notes:

DPD200269035umc_color_space_conversion plane inversion fixed
Reply