Cannot encode stream using x264enc

Tim-Philipp Müller t.i.m at
Tue Jun 7 11:54:58 PDT 2011

On Tue, 2011-06-07 at 13:42 -0500, William Metcalf wrote:


> Running with videoparse did not solve the problem.

Yes, videoparse is pointless here, you don't need it.

> ERROR: from element /GstPipeline:pipeline0/GstX264Enc:x264enc0: Could
> not encode stream.
> Additional debug info:
> ..\..\..\..\..\Source\gst-plugins-ugly\ext\x264\gstx264enc.c(737):
> gst_x264_enc_header_buf
> (): /GstPipeline:pipeline0/GstX264Enc:x264enc0:
> Unexpected x264 header.

I've seen this "Unexpected x264 header" error mentioned before. It looks
at first glance like a windows-specific problem with the x264enc element
(or the library).

Could you file a bug against gst-plugins-ugly in bugzilla please?

A --gst-debug=x264enc:9 debug log might also be helpful (please redirect
to a file and attach it to the bug).


More information about the gstreamer-devel mailing list