What color format should use to encode i420 frame converted by libyuv in mediacodec?

445 views Asked by At

I converted nv21 frame to i420 frame with libyuv, and then encode the frame into a video file with mediacodec, the video looks strange. I use COLOR_FormatYUV420SemiPlanar and COLOR_FormatYUV420Flexible color format.strange color

So, what color format should i use to encode i420 frame converted by libyuv.

0

There are 0 answers