and I’m using 01_video_encode sample to encode them.
In this sample, YUV444 could only be encoded in H264 lossless mode, which is V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_444_PREDICTIVE profile, and YUV420 10bit could only be encoded in H265 V4L2_MPEG_VIDEO_H265_PROFILE_MAIN10 profile.
My first question is, is YUV444 only available in H264? is it available in H265?
My second question is, is YUV420 10bit only available in H265? is it available in H264?
And beyond these two questions, I find out that when encoding in V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_444_PREDICTIVE profile, no matter whether I call setConstantQp or not, or with any different parameter, or set different bitrate, the output bitrate (file size) can’t be changed, and for the test data I used, the output file size is close to the output of V4L2_MPEG_VIDEO_H264_PROFILE_HIGH profile and bitrate of 9000kbps.
My third question is, is it possible to control the output bitrate when using V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_444_PREDICTIVE profile?
No. It is lossless so the encoded bitstream can be decoded to be identical to raw_yuv444.yuv. The main purpose is lossless and bitrate is not controllable.