<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Bitstream Vera Sans'; font-size:10pt; font-weight:400; font-style:normal;">In data lunedì 25 maggio 2009 20:28:19, Tim-Philipp Müller ha scritto:<br>
: &gt; On Sat, 2009-05-23 at 09:00 +0200, MailingList SVR wrote:<br>
&gt; <br>
&gt; &gt; this pipeline works just fine so I decided to assemble it as python<br>
&gt; &gt; code, here is the relevant portion:<br>
&gt; &gt; <br>
&gt; &gt; self.pipeline = gst.Pipeline("rtsp-pipeline")<br>
&gt; &gt; source=gst.element_factory_make("rtspsrc","rtsp-source")<br>
&gt; &gt; source.set_property("location","rtsp://&lt;rtspip&gt;")<br>
&gt; &gt; source.set_property("latency",100)<br>
&gt; &gt; destination=gst.element_factory_make("udpsink")<br>
&gt; &gt; destination.set_property("host","&lt;destinationhost&gt;")<br>
&gt; &gt; destination.set_property("port",5000)<br>
&gt; &gt; self.pipeline.add(source,destination)<br>
&gt; &gt; gst.element_link_many(source,destination)<br>
&gt; &gt;<br>
&gt; &gt; but this code does't work, there is an error in linking source with<br>
&gt; &gt; destination:<br>
&gt; &gt;<br>
&gt; &gt; gst.LinkError: failed to link rtsp-source with udpsink0<br>
&gt; <br>
&gt; rtspsrc has 'dynamic pads' which will only appear once the data starts<br>
&gt; flowing through the pipeline. You might find this helpful:<br>
&gt; <br>
&gt; http://www.jonobacon.org/2006/11/03/gstreamer-dynamic-pads-explained/<br>
&gt; <br>
&gt; (also the application development manual).<br>
&gt; <br>
&gt; FWIW, there's also gst.parse_launch(....)<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Yes works fine with gst.parse_launch<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>thanks<br>
Nicola<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>&gt; <br>
&gt; Cheers<br>
&gt;  -Tim<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT<br>
&gt; is a gathering of tech-side developers &amp; brand creativity professionals. Meet<br>
&gt; the minds behind Google Creative Lab, Visual Complexity, Processing, &amp; <br>
&gt; iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian<br>
&gt; Group, R/GA, &amp; Big Spaceship. http://www.creativitycat.com <br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; gstreamer-devel@lists.sourceforge.net<br>
&gt; https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br>
&gt; <br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>