<div dir="ltr"><div><div><div>Hi,<br><br></div>Im not quite sure of what you are doing wrong, but if you want to work with RTP it will be a good idea to take a look at rtpbin:<br><br><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-rtpbin.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-rtpbin.html</a><br>
<br></div>It always worked like a charm for me :-), and it has some working examples. <br><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 7:07 PM, it <span dir="ltr"><<a href="mailto:it@sca-uk.com" target="_blank">it@sca-uk.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Chuck,<br>
<br>
This is what it looks like now:<br>
<br>
gst-launch -v v4l2src device=/dev/video0 queue-size=1 always-copy=0 ! videorate ! videoscale ! ffmpegcolorspace ! videobalance brightness=.3 contrast=.8 ! gamma gamma = .5 ! video/x-raw-yuv, framerate=30000/1001, width=640, height=480, pixel-aspect-ratio=1/1 ! tee name=t1  \<div class="">
<br>
t1. ! queue ! xvimagesink sync=false \<br>
t1. ! queue ! theoraenc quality=63 keyframe-force=1 ! filesink location=video.ogg \<br></div>
t1. ! queue !  rtpvrawpay mtp=64 pt=96! udpsink host=192.168.43.134 port=5000<br>
<br>
gst-launch  -v udpsrc caps="application/x-rtp, format=I420, framerate=30000/1001, width=640, height=480, interlaced=(boolean)false, pixel-aspect-ratio=1/1" port=5000 ! rtpvrawdepay ! xvimagesink<br>
<br>
I can see no syntax to put mtu or pt on rtpvrawdepay.<br>
<br>
I get no screen and this is the text print out:<br>
<br>
image@image-TAICHI21A:~$ gst-launch  -v udpsrc caps="application/x-rtp, format=I420, framerate=30000/1001, width=640, height=480, interlaced=(boolean)false, pixel-aspect-ratio=1/1" port=5000 ! rtpvrawdepay ! xvimagesink<br>

Setting pipeline to PAUSED ...<br>
/GstPipeline:pipeline0/<u></u>GstUDPSrc:udpsrc0.GstPad:src: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)RAW, format=(string)I420, framerate=(fraction)30000/<u></u>1001, width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)<u></u>1/1<br>

Pipeline is live and does not need PREROLL ...<br>
Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>
<br>
Any ideas?<br>
<br>
Regards<br>
<br>
Steve.<div class="im HOEnZb"><br>
<br>
<br>
On 24/03/14 20:27, Chuck Crisler wrote:<br>
</div><div class="im HOEnZb"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Was it an oversight that you didn't specify the format in the capsfilter for the udp pipeline? Shouldn't you specify a payload type for the rtp payloader and depayloader (even through there is a default)? Do you need to specify an MTU size (< 1400) for the mobile network? Shouldn't you reverse the videorate and videoscale? I don't really know how these are being used but you don't want to scale frames that will be discarded in videorate.<br>

<br>
</blockquote>
<br></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</div></div></blockquote></div><br></div>