I want to ask about MMAPI. I want to encode the picture of bgr24 in memory into h265 stream and send it in the specified format. I read the official tutorial and found that the YUV data is read when encoding. I would like to ask if there is a tutorial that encodes bgr24 as h265 stream, or a code to apply for.
BGR format is not supported in H265 encoing. You have to convert frame data to YUV420 8 bit or YUV420 10 bit, and send to encoder.