<div dir="ltr">That makes sense. Just to make sure I am understanding this correctly, would I just put the command line I am using to create the pipeline into gst_parse_launch verbatim? So:<div><br></div><div>gst_parse_launch("gst-launch-1.0 udpsrc port=5001 ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! fpsdisplaysink sync=false text-overlay=false", &errorptr);</div><div><br></div><div>Also, if I want to set up each element of the pipeline individually, how would I read from a udp source? That was one of the main things I was looking for and could not seem to find. </div><div><br></div><div>I will also definitely check out the Raspberry Pi link you posted. It seems that your method is more robust.</div><div><br></div><div>Thank you for all your help!<br><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 25, 2016 at 6:51 AM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 2016-10-24 at 18:39 -0400, Emmett Palaima wrote:<br>
> [...]<br>
<span class="">><br>
> Is this the correct way of doing this? Thanks! <br>
><br>
> Command Line Mac: <br>
> gst-launch-1.0 udpsrc port=5001 ! application/x-rtp, payload=96 !<br>
> rtpjitterbuffer ! rtph264depay ! avdec_h264 ! fpsdisplaysink<br>
> sync=false text-overlay=false <br>
<br>
</span>You could use the same pipeline and just use<br>
gst_parse_launch()<br>
instead of<br>
gst_element_factory_make()<br>
<br>
above. Or you manually build that pipeline step by step. Instead of the<br>
capsfilter, you can also set the caps on the "caps" property of udpsrc<br>
(note that the caps in your commandline there are syntax sugar for<br>
using the capsfilter element and setting that as the caps property).<br>
<span class=""><br>
> Command Line Raspberry Pi: <br>
> raspivid -t 999999 -b 2000000 -o - | gst-launch-1.0 -e -vvv fdsrc !<br>
> h264parse ! rtph264pay pt=96 config-interval=5 ! udpsink host=(MAC's<br>
> IP Address) port=5000<br>
<br>
</span>You probably want to use rpicamsrc instead of this duct-tape solution<br>
via piping: <a href="https://github.com/thaytan/gst-rpicamsrc" rel="noreferrer" target="_blank">https://github.com/thaytan/<wbr>gst-rpicamsrc</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a></font></span><br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>