Now I assume that the x264 apis can't be wrong,so what can cause half of the image all black or green and the other half showing the squeezed original image?e.g. some inappropriate parameters set before calling x264 apis?