<div dir="ltr">Hi Brad, <div><br></div><div>1 - If you simply do this </div><div><br></div><div><span style="font-size:12.8000001907349px">gst-launch-1.0 -v v4l2src device=/dev/video0 ! queue ! \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">video/x-h264,width=640,height=</span><span style="font-size:12.8000001907349px">480,framerate=30/1 ! h264parse ! </span><span style="font-size:12.8000001907349px">avdec_h264 ! autovideosink sync=false text-overlay=false</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Is the quality and latency ok?</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">2 - The rtpjitterbuffer element is buffering and therefore it will always introduce some latency in the pipeline. You can adjust this latency to your needs through its "latency" property. For your initial tests you might as well just remove it from the pipeline to get a baseline in terms of latency. </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">3 - </span><span style="font-size:12.8000001907349px">When setting the capsfilter after the udpsrc, you should try and copy the exact caps you get from the udpsink sink pad, in the sender pipeline.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">4 - If possible make sure the pc and raspi are connected through ethernet, just to be sure it's not your wifi. </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Cheers</span></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-19 5:03 GMT+01:00 Brad Turnbough <span dir="ltr"><<a href="mailto:brad.turnbough@gmail.com" target="_blank">brad.turnbough@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I'm trying to use gstreamer on a fresh install Raspi 2.  I'm streaming the feed to a laptop via rtp/udp.</p>
<p dir="ltr">It is my understanding that the c920 has a native h264 encoder, which should help in terms of performance, however I'm seeing artifacts and lag.</p>
<p dir="ltr">On the pi that I'm streaming the video from, I'm using the following pipeline:</p>
<p dir="ltr">gst-launch-1.0 -v v4l2src device=/dev/video0 ! queue ! \<br>
video/x-h264,width=640,height=480,framerate=30/1 ! h264parse ! rtph264pay \<br>
pt=127 config-interval=3 ! udpsink host=10.0.0.19 port=50000</p>
<p dir="ltr">On the pc displaying the video, I'm using this pipeline:</p>
<p dir="ltr"> gst-launch-1.0 -e -v udpsrc port=50000 ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! autovideosink sync=false text-overlay=false</p>
<p dir="ltr">Why does the quality suck and why is it so latent?  </p>
<p dir="ltr">I apologize for posting this again.  I lost the original thread and response.</p>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div></div>