[x264-devel] half & half

BugMaster BugMaster at narod.ru
Mon Nov 17 06:55:13 CET 2014


On Mon, 17 Nov 2014 10:21:35 +0800 (GMT+08:00), mm1201 at mail.ustc.edu.cn wrote:
> 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?

Make sure that you correctly made colorspace conversion (if you do
any) and that pointers (plane[]/i_stride[]) in "pic_in.img" you send
to x264_encoder_encode are set correctly. For testing you can dump
uncompressed YUV from this pointers to file and watch it in standalone
raw YUV viewer.



More information about the x264-devel mailing list