[x264enc] - Can not initialize x264 encoder.

Tim-Philipp Müller t.i.m at zen.co.uk
Sun Mar 4 13:44:41 PST 2012


On Sun, 2012-03-04 at 12:03 -0800, IamTrying wrote:

> How can i fix this error? While using `x264 pass=18 quantizer=51` i always
> get this following stats file and can not initialize x264 error. 
> 
> Tried also: multipass-cache-file=/tmp/x264.log no luck.
> 
> ----
> 0:00:00.140352545 11283      0x15c3360 ERROR                x264enc
> :0::<x264enc0> ratecontrol_init: can't open stats file

This error is pretty clear, is it not?

You are passing pass=18, which means it's the second run of a multi-pass
encoding. It expects that you have already done a first run and there is
already a multipass-cache-file, which doesn't seem to be the case in
your case.

Cheers
 -Tim



More information about the gstreamer-devel mailing list