After a lot of debugs,i am now stuck with this problem,and i am pretty sure that i set width and height non-zero parameters,so how should i fix this?i know the existence of "x264_validate_parameters".