When we send CVPixelBufferRef of kCVPixelFormatType_32BGRA to VideoToolbox H264 encoder, VideoToolbox used to convert the image to YUV Video Range and then encode it.
But starting from ios14.0 , VideoToolbox will convert the image to YUV Full Range.
We can verify it by checking the VUI of the produced H264 stream.
Can some one explain the reason why the behavior of system API is changed, and how can I alter this behavior ?
Thanks a lot
Shumin
But starting from ios14.0 , VideoToolbox will convert the image to YUV Full Range.
We can verify it by checking the VUI of the produced H264 stream.
Can some one explain the reason why the behavior of system API is changed, and how can I alter this behavior ?
Thanks a lot
Shumin