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.

JPEG encoding of RGB8 data - Media SDK

Rajan__Athira
Beginner
212 Views

Hi All,

We are using The Intel® Media SDK 2017 R1 and API version 1.23. We need to encode RGB8 data ( 24 bits per pixel ) to JPEG. Currently we are not observed such an encoding option intel media SDK. But in mfxstructures.h we are seeing constants like RGB3 and RGB4. But using these constants in sample_encode is failing. Can anybody let me know whether RGB8 encoding to JPEG is possible using intel media SDK. If yes which FOURCC code should we give as input format?

Thanking you

Athira

0 Kudos
1 Reply
Anna_B_Intel
Employee
212 Views

Hi Athira, 

You may use MFX_FOURCC_RGB3, but it works only in software implementation. 

Best wishes, 

Anna

Reply