<div class="gmail_quote"><div>Hi Tim,</div><div><br></div><div>I&#39;ve recompiled the gst-plugins-ugly and all others plugins related, like plugins-ugly, plugins-bad, plugins-base, plugins-good , gst-ffmpeg, ffmpeg and gstreamer. I&#39;m certain that the integration is complete by inserting some printfs in the code and making sure that it is print on the stdout.</div>

<div><br></div><div>I still don&#39;t know what to do =(. </div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<br>
Message: 2<br>
Date: Thu, 16 Dec 2010 09:23:12 +0000<br>
From: Tim-Philipp M?ller &lt;<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>&gt;<br>
Subject: Re: [gst-devel] distorted video encoded with x264<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID: &lt;1292491392.6213.11.camel@zingle&gt;<br>
Content-Type: text/plain; charset=&quot;UTF-8&quot;<br>
<br>
On Thu, 2010-12-16 at 01:11 -0300, Rafael Sousa wrote:<br>
<br>
&gt; When I use the x264 build 85 that issue doesn&#39;t occur, the video is<br>
&gt; perfect, only in superior build that I tested (98 and 110) that the<br>
&gt; problem occur. I don&#39;t have any idea of what can be happening, I&#39;ve<br>
&gt; already removed and installed the packages several times, I even<br>
&gt; upgraded my ubuntu system from 10.04 to 10.10 but no change. Anyone<br>
&gt; have any idea? I&#39;ve tried all that I know. I need to use the build 98<br>
&gt; or superior.<br>
<br>
Just as a note, the x264enc plugin code has some special handling here<br>
and there depending on the x264 version compiled against. It assumes<br>
that the x264 version used at runtime is actually the one it was<br>
compiled against as well at the moment. This can lead to weird things<br>
happening when you upgrade/downgrade libx264 to a different version than<br>
the plugin was compiled against.<br>
<br>
So when you upgrade/downgrade libx264, you definitely need to recompile<br>
gst-plugins-ugly.<br>
<br>
(There may still be a bug of course..)<br>
<br>
 Cheers<br>
  -Tim<br>
<br>
<br>
&gt; thanks for the reply<br>
&gt;<br>
&gt; Message: 1<br>
&gt;         Date: Wed, 15 Dec 2010 15:42:01 -0500<br>
&gt;         From: Timothy Braun &lt;<a href="mailto:braunsquared@gmail.com">braunsquared@gmail.com</a>&gt;<br>
&gt;         Subject: Re: [gst-devel] distorted video encoded with x264<br>
&gt;         To: Discussion of the development of GStreamer<br>
&gt;                &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
&gt;         Message-ID: &lt;<a href="mailto:69C57452-40E4-4172-883F-DF374D355CD7@gmail.com">69C57452-40E4-4172-883F-DF374D355CD7@gmail.com</a>&gt;<br>
&gt;         Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
&gt;<br>
&gt;         I&#39;m no expert on this, but ran into similar issues when making<br>
&gt;         a local file. It ultimately ended up being the parameters I<br>
&gt;         was passing to the x264enc element. I would take a look at<br>
&gt;         those with gst-inspect and see if you can tune the output.<br>
&gt;         Most notably the pass and quantizer parameters.<br>
&gt;<br>
&gt;         Tim<br>
&gt;<br>
&gt;         Sent from my iPhone<br>
&gt;<br>
&gt;         On Dec 15, 2010, at 3:02 PM, Rafael Sousa<br>
&gt;         &lt;<a href="mailto:rafael.lmsousa@gmail.com">rafael.lmsousa@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;         &gt; Hi all,<br>
&gt;         &gt;<br>
&gt;         &gt; I&#39;m using the versions of gstreamer installed from ubuntu<br>
&gt;         10.10 apt-get. I&#39;ve installed the gstreamer, gst-plugins-bad,<br>
&gt;         gst-plugins-good, gst-plugins-ugly, gst-ffmpeg and I&#39;ve<br>
&gt;         installed the x264.<br>
&gt;         &gt;<br>
&gt;         &gt; The problem is that my pipeline gives as result a blurring<br>
&gt;         video. My pipeline works to read a YUV file at the sender,<br>
&gt;         encodes it in H.264, and sends it to receiver using RTP in<br>
&gt;         encoding time. At the receiver, it receives the stream and<br>
&gt;         stores it in YUV format again for posterior process. The<br>
&gt;         pipeline is as follows:<br>
&gt;         &gt;<br>
&gt;         &gt; Sender:<br>
&gt;         &gt;<br>
&gt;         &gt; &quot;gstrtpbin name=rtpbin filesrc location=paris_cif.yuv<br>
&gt;         blocksize=152064 ! video/x-raw-yuv, width=352, height=288,<br>
&gt;         framerate=(fraction)15/1, format=(fourcc)I420 ! x264enc,<br>
&gt;         key-int-max=30, key-int-min=15, intra-refresh=true !<br>
&gt;         rtph264pay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 !<br>
&gt;         udpsink host=127.0.0.1 port=5000 rtpbin.send_rtcp_src_0 !<br>
&gt;         udpsink host=5003 port=5001 sync=false async=false udpsrc<br>
&gt;         port=5005 ! rtpbin.recv_rtcp_sink_0 &quot;<br>
&gt;         &gt;<br>
&gt;         &gt; Receiver:<br>
&gt;         &gt;<br>
&gt;         &gt; &quot;gstrtpbin name=rtpbin udpsrc caps=<br>
&gt;         \&quot;application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264&quot; port=5000 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! ffdec_h264 ! filesink location=example.yuv udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5005 sync=false async=false&quot;<br>


&gt;         &gt;<br>
&gt;         &gt; I don&#39;t know why the video is blurring since I&#39;ve tested it<br>
&gt;         localhost, without loss rates. The command that I&#39;m using to<br>
&gt;         watch the result is:<br>
&gt;         &gt;<br>
&gt;         &gt; mplayer example.yuv -demuxer rawvideo -rawvideo cif<br>
&gt;         &gt;<br>
&gt;         &gt; I took a screenshot of the video, it is in annex. Please,<br>
&gt;         anyone can help?<br>
&gt;         &gt;<br>
&gt;         &gt; thanks in advance<br>
&gt;         &gt; &lt;Captura_de_tela.png&gt;<br>
&gt;         &gt;<br>
&gt;         ------------------------------------------------------------------------------<br>
&gt;         &gt; Lotusphere 2011<br>
&gt;         &gt; Register now for Lotusphere 2011 and learn how<br>
&gt;         &gt; to connect the dots, take your collaborative environment<br>
&gt;         &gt; to the next level, and enter the era of Social Business.<br>
&gt;         &gt; <a href="http://p.sf.net/sfu/lotusphere-d2d" target="_blank">http://p.sf.net/sfu/lotusphere-d2d</a><br>
&gt;         &gt; _______________________________________________<br>
&gt;         &gt; gstreamer-devel mailing list<br>
&gt;         &gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt;         &gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Lotusphere 2011<br>
&gt; Register now for Lotusphere 2011 and learn how<br>
&gt; to connect the dots, take your collaborative environment<br>
&gt; to the next level, and enter the era of Social Business.<br>
&gt; <a href="http://p.sf.net/sfu/lotusphere-d2d" target="_blank">http://p.sf.net/sfu/lotusphere-d2d</a><br>
&gt; _______________________________________________ gstreamer-devel mailing list <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>


<br><br>
</blockquote></div><br>