[x264enc] - Can not initialize x264 encoder.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[x264enc] - Can not initialize x264 encoder.

IamTrying
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

ERROR: from element /GstPipeline:pipeline0/GstX264Enc:x264enc0: Can not initialize x264 encoder.
Additional debug info:
gstx264enc.c(1269): gst_x264_enc_init_encoder (): /GstPipeline:pipeline0/GstX264Enc:x264enc0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstVideoScale:videoscale0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstVideoScale:videoscale0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20.GstDecodePad:src0: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/ffdec_ac3:ffdec_ac30.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstCapsFilter:capsfilter1.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstCapsFilter:capsfilter1.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstAc3Parse:ac3parse0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstAc3Parse:ac3parse0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/ffdec_msmpeg4v2:ffdec_msmpeg4v20.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/ffdec_msmpeg4v2:ffdec_msmpeg4v20.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink1: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src1: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:audio_00: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:video_00: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = NULL
Freeing pipeline ...
Reply | Threaded
Open this post in threaded view
|

Re: [x264enc] - Can not initialize x264 encoder.

Tim-Philipp Müller-2
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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel