<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="GENERATOR" content="MSHTML 9.00.8112.16440">
</head>
<body>
<div><font size="2" face="Arial"><span class="777230414-15022012">Hello,</span></font></div>
<div><font size="2" face="Arial"><span class="777230414-15022012"></span></font> </div>
<div><font size="2" face="Arial"><span class="777230414-15022012">I have the same problem.</span></font></div>
<div><font size="2" face="Arial"><span class="777230414-15022012">I try what is in the x264enc documentation :</span></font></div>
<div><font size="2" face="Arial">gst-launch -v videotestsrc num-buffers=1000 ! x264enc qp-min=18 ! \<br>
avimux ! filesink location=videotestsrc.avi</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><span class="777230414-15022012"><font size="2" face="Arial">and I get the following :</font></span></div>
<div><span class="777230414-15022012"><font size="2" face="Arial"></font></span> </div>
<div><span class="777230414-15022012"><font size="2" face="Arial">Setting pipeline to PAUSED ...<br>
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1, color-matrix=(string)sdtv, chroma-site=(string)mpeg2<br>
Pipeline is PREROLLING ...<br>
/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps = video/x-h264, width=(int)320, height=(int)240, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, codec_data=(buffer)014d4015ffe10017674d4015eca0a0fd8088000003000bb9aca00078b16cb001000468ebecb2,
stream-format=(string)avc, alignment=(string)au<br>
/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1, color-matrix=(string)sdtv, chroma-site=(string)mpeg2<br>
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data flow error.<br>
Additional debug info:<br>
gstbasesrc.c(2582): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:<br>
streaming task paused, reason not-negotiated (-4)<br>
ERROR: pipeline doesn't want to preroll.<br>
Setting pipeline to NULL ...<br>
/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps = NULL<br>
/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps = NULL<br>
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = NULL<br>
Freeing pipeline ...<br>
</font></span></div>
<div><span class="777230414-15022012"><font size="2" face="Arial"></font></span> </div>
<div><span class="777230414-15022012"><font size="2" face="Arial">Can someone tell me what am I doing wrong ?</font></span></div>
<div><span class="777230414-15022012"><font size="2" face="Arial"></font></span> </div>
<div><span class="777230414-15022012"><font size="2" face="Arial">I'm using Ubuntu oneiric with the latest package in the standard repository</font></span></div>
<div><span class="777230414-15022012"><font size="2" face="Arial"></font></span> </div>
<div><span class="777230414-15022012"><font size="2" face="Arial">(More info attached)</font></span></div>
<div><span class="777230414-15022012"><font size="2" face="Arial"></font></span> </div>
<div><span class="777230414-15022012"><font size="2" face="Arial">Thanks, </font>
</span></div>
<div><span class="777230414-15022012"><font size="2" face="Arial"></font></span> </div>
<div><span class="777230414-15022012"><font size="2" face="Arial">Jonathan</div>
</font></span>
</body>
</html>