I'm trying to encode / decode 16 bit grayscale video. I assume the right FOURCC for this is MFX_FOURCC_R16. Is that correct?
Assuming it is, the library throws an UNSUPPORTED error when calling MFXVideoENCODE_Query. The trace log is attached. I notice that the FOURCC in the FrameInfo is printed as UNKNOWN. Does that mean that R16 is not supported? What am I doing wrong?
Thanks,
-J
Link Copied
Hi Jordan,
AVC codec doesn't support 16 bit grayscale video. MFX_FOURCC_R16 flag is needed for RAW accelerator.
Best wishes,
Anna
For more complete information about compiler optimizations, see our Optimization Notice.