Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

JPEG encoding of RGB8 data - Media SDK

Rajan__Athira
Beginner
459 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
459 Views

Hi Athira, 

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

Best wishes, 

Anna

0 Kudos
Reply