[x264-devel] x264[error]:invalid width x height(480x0)

BugMaster BugMaster at narod.ru
Sun Nov 9 10:38:57 CET 2014


On Sun, 9 Nov 2014 17:18:20 +0800 (GMT+08:00), mm1201 at mail.ustc.edu.cn wrote:
> 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".

If you are sure that width and height was set than check that you use
correct x264.h header which corresponds to correct version of libx264.
In theory x264 API check (x264_encoder_open name mangling) should
prevent such problems but not in the case if you used patched version
of x264.h or libx264 without API bump. Also check that you send
correct params pointer to libx264.



More information about the x264-devel mailing list